Remove init_array / fini_array configure test.
[glibc.git] / ChangeLog
blobfdd9da4b9838659f007945f8f52937aaaec3b85b
1 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
3         * configure.ac (libc_cv_initfini_array): Remove configure test.
4         * configure: Regenerated.
6 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
8         [BZ #19189]
9         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
10         non-finite argument handle arguments with negative sign.
12         * math/libm-test.inc (j0_test_data): Do not test sign of zero
13         result from infinite argument.
14         (j1_test_data): Likewise.
15         (jn_test_data): Likewise.
16         (y0_test_data): Likewise.
17         (y1_test_data): Likewise.
18         (yn_test_data): Likewise.
20         [BZ #16171]
21         * math/w_remainder.c (drem): Define as weak alias of __remainder.
22         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
23         * math/w_remainderf.c (dremf): Define as weak alias of
24         __remainderf.
25         * math/w_remainderl.c (dreml): Define as weak alias of
26         __remainderl.
27         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
28         __remainder.
29         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
30         __remainderf.
31         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
32         __remainderl.
33         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
34         weak alias of remainderl.
35         * sysdeps/ieee754/ldbl-opt/w_remainder.c
36         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
37         alias of __remainder.
38         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
39         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
40         strong alias of __remainderl.
41         (dreml): Use long_double_symbol.
42         * math/Makefile (libm-calls): Remove w_drem.
43         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
44         (CFLAGS-nldbl-drem.c): Remove variable.
45         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
46         * math/w_drem.c: Remove file.
47         * math/w_dremf.c: Likewise.
48         * math/w_dreml.c: Likewise.
49         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
50         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
51         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
53         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
54         * sysdeps/i386/configure: Regenerated.
55         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
56         * sysdeps/x86_64/configure: Regenerated.
58         * configure.ac (libc_cv_asm_protected_directive): Remove configure
59         test.
60         (libc_cv_visibility_attribute): Likewise.
61         (libc_cv_protected_data): Test unconditionally.
62         (libc_cv_broken_visibility_attribute): Remove configure test.
63         (libc_cv_have_sdata_section): Test unconditionally.
64         * configure: Regenerated.
66         * include/libc-internal.h (libc_max_align_t): Remove typedef.
67         * include/scratch_buffer.h: Include <stddef.h> instead of
68         <libc-internal.h>.
69         (struct scratch_buffer): Use max_align_t instead of
70         libc_max_align_t.
72 2015-10-29  Florian Weimer  <fweimer@redhat.com>
74         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
75         instead of extend_alloca.  Change control flow to avoid a goto.
76         Remove assert which is trivially always true.
78 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
80         [BZ #16068]
81         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
82         (FE_ALL_EXCEPT_X86): New macro.
83         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
84         FE_ALL_EXCEPT.  Ensure precision control is included in
85         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
86         handle "denormal operand exception" and clear FZ and DAZ bits.
87         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
88         (FE_ALL_EXCEPT_X86): New macro.
89         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
90         FE_ALL_EXCEPT.  Ensure precision control is included in
91         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
92         handle "denormal operand exception" and clear FZ and DAZ bits.
93         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
94         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
95         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
96         test-fenv-x87 and test-fenv-sse-2.
97         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
99         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
100         * math/test-double.h (BUILD_COMPLEX): New macro.
101         * math/test-float.h (BUILD_COMPLEX): Likewise.
102         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
104         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
105         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
106         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
107         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
108         instead of DBL_DENORM_MIN in comment.
109         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
110         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
111         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
112         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
113         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
114         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
116 2015-10-28  Florian Weimer  <fweimer@redhat.com>
118         [BZ# 19048]
119         * malloc/malloc.c (struct malloc_state): Update comment.  Add
120         attached_threads member.
121         (main_arena): Initialize attached_threads.
122         * malloc/arena.c (list_lock): Update comment.
123         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
124         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
125         (deattach_arena): New function.
126         (_int_new_arena): Initialize arena reference count and deattach
127         replaced arena.
128         (get_free_list, reused_arena): Update reference count and deattach
129         replaced arena.
130         (arena_thread_freeres): Update arena reference count and only put
131         unreferenced arenas on the free list.
133 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
135         [BZ #19181]
136         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
137         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
138         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
139         * math/test-fenv-clear-main.c: New file.
140         * math/test-fenv-clear.c: Likewise.
141         * math/Makefile (tests): Add test-fenv-clear.
142         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
143         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
144         test-fenv-clear-sse.
145         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
147         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
148         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
149         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
151 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
153         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
154         static libc.
156 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
158         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
159         test.
160         * sysdeps/i386/configure: Regenerated.
161         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
162         test.
163         * sysdeps/x86_64/configure: Regenerated.
164         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
165         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
166         memset-avx2 unconditionally instead of conditionally on
167         [$(config-cflags-avx2) = yes].
168         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
169         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
170         unconditional.
171         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
172         * sysdeps/x86_64/multiarch/memset_chk.S
173         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
174         to [IS_IN (libc) && SHARED].
176 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
178         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
179         configure test.
180         * sysdeps/arm/configure: Regenerated.
181         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
182         Define variable if not already defined.
184         [BZ #17404]
185         * sysdeps/mips/atomic-machine.h
186         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
187         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
188         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
190         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
191         unconditional.
192         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
193         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
194         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
195         unconditional.
196         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
197         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
198         unconditional.
199         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
200         * stdlib/setenv.c
201         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
202         code unconditional.
203         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
204         Remove conditional code.
205         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
206         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
207         unconditional.
208         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
209         code.
210         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
211         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
212         unconditional.
213         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
214         code.
215         * sysdeps/ieee754/ldbl-128/k_tanl.c
216         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
217         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
218         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
219         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
220         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
221         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
222         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
223         unconditional.
224         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
225         code.
226         * sysdeps/ieee754/ldbl-96/k_tanl.c
227         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
228         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
230         * nptl/tst-initializers1-c11.c: New file.
231         * nptl/tst-initializers1-gnu11.c: Likewise.
232         * nptl/Makefile (tests): Add these new tests.
233         (CFLAGS-tst-initializers1-c11.c): New variable.
234         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
236         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
237         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
238         instead of -std=gnu99.
239         * configure.ac (systemtap): Test with -std=gnu11 instead of
240         -std=gnu99.
241         * configure: Regenerated.
242         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
243         in compilation command in comment.
245         * sysdeps/nptl/configure.ac: Remove file.
246         * sysdeps/nptl/configure: Remove generated file.
247         * configure.ac (libc_cv_forced_unwind): Do not substitute.
248         * configure: Regenerated.
249         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
250         * config.make.in (have-forced-unwind): Remove variable.
251         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
252         unconditional.
253         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
254         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
255         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
256         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
257         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
258         unconditional.
260 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
262         [BZ #19174]
263         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
264         .skip_lock_out_of_tbegin_retries.
265         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
266         (__lll_lock_elision): Likewise, and respect a value of
267         try_tbegin <= 0.
269 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
271         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
272         statement.
274 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
276         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
277         variable.
278         (test-xfail-ISO11/stdalign.h/conform): Likewise.
279         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
281         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
282         of -std=c1x -D_ISOC11_SOURCE.
284         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
285         * configure: Regenerated.
286         * manual/install.texi (Tools for Compilation): Document
287         requirement for GCC 4.7 or later.
288         * INSTALL: Regenerated.
290 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
292         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
293         on CNT to a conditional jump to 'puntdata'.
295 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
297         * configure.ac (libc_cv_gcc___thread): Remove configure test.
298         (libc_cv_gcc_tls_model_attr): Likewise.
299         * configure: Regenerated.
301         * configure.ac (libc_cv_need_minus_P): Remove configure test.
302         * configure: Regenerated.
303         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
305 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
307         * configure.ac (old_glibc_headers): Remove configure test.
308         * configure: Regenerated.
309         * config.make.in (old-glibc-headers): Remove variable.
310         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
311         (install): Remove dependency on remove-old-headers.
312         (headers2_0): Remove variable.
313         (remove-old-headers): Remove rule.
315         * configure.ac (libc_cv_dot_text): Remove configure test.
316         (libc_cv_asm_set_directive): Use .text instead of
317         ${libc_cv_dot_text} in configure test.
318         * configure: Regenerated.
320 2015-10-26  Florian Weimer  <fweimer@redhat.com>
322         [BZ #19168]
323         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
325 2015-10-26  Florian Weimer  <fweimer@redhat.com>
327         * configure.ac (CXX): Clear the variable if the C++ toolchain does
328         not support static linking.
329         * configure: Regenerate.
331 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
333         * math/libm-test.inc (check_float_internal): Do not special-case
334         errors up to 0.5 ulp.
336         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
337         log2.
338         * math/auto-libm-test-out: Regenerated.
339         * math/libm-test.inc (MAX_EXP): New macro.
340         (ilogb_test_data): Add more tests.
341         (isfinite_test_data): Likewise.
342         (isgreater_test_data): Likewise.
343         (isgreaterequal_test_data): Likewise.
344         (isinf_test_data): Likewise.
345         (isless_test_data): Likewise.
346         (islessequal_test_data): Likewise.
347         (islessgreater_test_data): Likewise.
348         (isnan_test_data): Likewise.
349         (isnormal_test_data): Likewise.
350         (issignaling_test_data): Likewise.
351         (isunordered_test_data): Likewise.
352         (j0_test_data): Likewise.
353         (j1_test_data): Likewise.
354         (jn_test_data): Likewise.
355         (lgamma_test_data): Likewise.
356         (log_test_data): Likewise.
357         (log10_test_data): Likewise.
358         (log1p_test_data): Likewise.
359         (log2_test_data): Likewise.
360         (logb_test_data): Likewise.
361         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
363         [BZ #18611]
364         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
365         avoid excess range and precision on underflow.
366         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
367         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
368         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
369         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
370         underflow.
371         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
372         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
373         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
374         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
375         * math/auto-libm-test-in: Do not allow missing errno setting for
376         tests of j1 and jn.
377         * math/auto-libm-test-out: Regenerated.
379 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
381         [BZ #15491]
382         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
383         floating-point environment instead of clearing all exceptions.
384         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
385         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
386         merging in "invalid" exceptions from frndint.
387         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
388         * math/test-nearbyint-except.c: New file.
389         * math/Makefile (tests): Add test-nearbyint-except.
391 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
393         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
395         * sysdeps/tile/libm-test-ulps: Regenerated.
397 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
400         (__NR_sync_file_range2): Assume it is always defined.
401         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
402         (__NR_sync_file_range): Assume it is always defined.
404 2015-10-22  Andreas Schwab  <schwab@suse.de>
406         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
407         INTERNAL_SYSCALL_ERRNO.
408         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
409         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
410         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
411         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
412         Likewise.
413         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
415 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
417         * io/tst-fcntl.c (fd): New static variable.
418         (do_prepare): Open temporary file here....
419         (do_test): ...not here.
421         * io/ftwtest-sh: Also trap on exit to remove temporary files.
423 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
425         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
426         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
427         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
428         Moved before "#ifdef __ASSEMBLER__".
430 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
432         [BZ #19156]
433         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
434         arguments very close to 0.
436 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
438         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
439         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
441 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
443         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
444         New.  Defined for GCC 5 and above when not compiling for
445         profiling.
446         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
448         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
449         Renamed to ...
450         (CFLAGS-epoll_pwait.o): This.
451         (CFLAGS-mmap.c): Renamed to ...
452         (CFLAGS-mmap.o): This.
453         (CFLAGS-mmap64.c): Renamed to ...
454         (CFLAGS-mmap64.o): This.
455         (CFLAGS-epoll_pwait.os): New.
456         (CFLAGS-mmap.os): Likewise.
457         (CFLAGS-mmap64.os): Likewise.
458         (CFLAGS-semtimedop.os): Likewise.
459         (CFLAGS-semtimedop.c): Renamed to ...
460         (CFLAGS-semtimedop.o): This.
462 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
464         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
465         warning message.
467 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
469         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
470         * Makefile ($(objpfx)c++-types-check.out): Filter out
471         $(+gccwarn-c) instead of -Wstrict-prototypes.
473         * io/fts.c (fts_open): Convert to prototype-style function
474         definition.
475         * malloc/mcheck.c (mcheck): Likewise.
476         (mcheck_pedantic): Likewise.
477         * posix/regexec.c (re_search_2_stub): Likewise.  Use
478         internal_function.
479         (re_search_internal): Likewise.
480         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
481         prototype-style function definition.
482         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
483         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
484         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
485         (xdr_utmpptr): Likewise.
486         (xdr_utmparr): Likewise.
487         (xdr_utmpidle): Likewise.
488         (xdr_utmpidleptr): Likewise.
489         (xdr_utmpidlearr): Likewise.
491         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
492         log, log10 and log2.
493         * math/auto-libm-test-out: Regenerated.
494         * math/libm-test.inc (fmod_test_data): Add more tests.
495         (fpclassify_test_data): Likewise.
496         (frexp_test_data): Likewise.
497         (hypot_test_data): Likewise.
498         (ilogb_test_data): Likewise.
500 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
502         * debug/fortify_fail.c (__fortify_fail): Convert to
503         prototype-style function definition.  Use internal_function.
504         * libio/genops.c (save_for_backup): Convert to prototype-style
505         function definition.
506         * libio/wgenops.c (save_for_wbackup): Likewise.
507         * login/grantpt.c (grantpt): Likewise.
508         * login/ptsname.c (ptsname): Likewise.
509         (__ptsname_r): Likewise.
510         * login/unlockpt.c (unlockpt): Likewise.
511         * mach/msgserver.c (__mach_msg_server): Likewise.
512         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
513         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
514         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
515         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
516         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
517         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
518         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
519         Likewise.
520         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
521         internal_function.
522         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
523         prototype-style function definition.
524         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
525         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
526         (__pthread_create_2_0): Likewise.
527         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
528         * nptl/register-atfork.c (__register_atfork): Likewise.
529         * posix/glob.c (glob): Likewise.
530         * posix/regcomp.c (re_comp): Likewise.
531         * posix/regexec.c (re_exec): Likewise.
532         * stdlib/add_n.c [__STDC__]: Make code unconditional.
533         [!__STDC__]: Remove conditional code.
534         * stdlib/cmp.c [__STDC__]: Make code unconditional.
535         [!__STDC__]: Remove conditional code.
536         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
537         [!__STDC__]: Remove conditional code.
538         * stdlib/divrem.c [__STDC__]: Make code unconditional.
539         [!__STDC__]: Remove conditional code.
540         * stdlib/lshift.c [__STDC__]: Make code unconditional.
541         [!__STDC__]: Remove conditional code.
542         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
543         [!__STDC__]: Remove conditional code.
544         * stdlib/mul.c [__STDC__]: Make code unconditional.
545         [!__STDC__]: Remove conditional code.
546         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
547         [!__STDC__]: Remove conditional code.
548         * stdlib/rshift.c [__STDC__]: Make code unconditional.
549         [!__STDC__]: Remove conditional code.
550         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
551         function definition.
552         (STRTOF): Likewise.
553         * stdlib/strtod_l.c (__STRTOF): Likewise.
554         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
555         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
556         (__strtol_l): Likewise.
557         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
558         [!__STDC__]: Remove conditional code.
559         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
560         definition.
561         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
562         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
563         type.
564         (__strcasecmp): Convert to prototype-style function definition.
565         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
566         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
567         type.
568         (__strncasecmp): Convert to prototype-style function definition.
569         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
570         * sunrpc/xdr.c (xdr_union): Likewise.
571         * sunrpc/xdr_array.c (xdr_array): Likewise.
572         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
573         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
574         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
575         Likewise.
576         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
577         Likewise.
578         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
579         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
580         Likewise.
581         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
582         (LOCALE_PARAM_PROTO): Likewise.
583         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
584         argument type.
585         (ut_argument_spec): Remove macro.
586         (ut_argument_spec_iso): Rename to ut_argument_spec.
587         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
588         prototype-style function definition.
589         (memcpy_uppcase): Likewise.
590         (__strftime_internal): Likewise.
591         (my_strftime): Likewise.
592         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
593         (LOCALE_PARAM_DECL): Likewise.
594         [_LIBC] (LOCALE_PARAM): Include argument type.
595         (__strptime_internal): Convert to prototype-style function
596         definition.
597         (strptime): Likewise.
598         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
599         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
600         type.
601         (__wcscasecmp): Convert to prototype-style function definition.
602         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
603         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
604         type.
605         (__wcsncasecmp): Convert to prototype-style function definition.
607         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
608         function definition.
609         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
610         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
611         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
612         * elf/dl-minimal.c (_itoa): Likewise.
613         * hurd/hurdmalloc.c (malloc): Likewise.
614         (free): Likewise.
615         (realloc): Likewise.
616         * inet/inet6_option.c (inet6_option_space): Likewise.
617         (inet6_option_init): Likewise.
618         (inet6_option_append): Likewise.
619         (inet6_option_alloc): Likewise.
620         (inet6_option_next): Likewise.
621         (inet6_option_find): Likewise.
622         * io/ftw.c (FTW_NAME): Likewise.
623         (NFTW_NAME): Likewise.
624         (NFTW_NEW_NAME): Likewise.
625         (NFTW_OLD_NAME): Likewise.
626         * libio/iofwide.c (_IO_fwide): Likewise.
627         * libio/strops.c (_IO_str_init_static_internal): Likewise.
628         (_IO_str_init_static): Likewise.
629         (_IO_str_init_readonly): Likewise.
630         (_IO_str_overflow): Likewise.
631         (_IO_str_underflow): Likewise.
632         (_IO_str_count): Likewise.
633         (_IO_str_seekoff): Likewise.
634         (_IO_str_pbackfail): Likewise.
635         (_IO_str_finish): Likewise.
636         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
637         (_IO_wstr_overflow): Likewise.
638         (_IO_wstr_underflow): Likewise.
639         (_IO_wstr_count): Likewise.
640         (_IO_wstr_seekoff): Likewise.
641         (_IO_wstr_pbackfail): Likewise.
642         (_IO_wstr_finish): Likewise.
643         * locale/programs/localedef.c (normalize_codeset): Likewise.
644         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
645         (add_locales_to_archive): Likewise.
646         (delete_locales_from_archive): Likewise.
647         * malloc/malloc.c (__libc_mallinfo): Likewise.
648         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
649         * misc/tsearch.c (__tfind): Likewise.
650         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
651         * nptl/pthread_attr_getdetachstate.c
652         (__pthread_attr_getdetachstate): Likewise.
653         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
654         Likewise.
655         * nptl/pthread_attr_getinheritsched.c
656         (__pthread_attr_getinheritsched): Likewise.
657         * nptl/pthread_attr_getschedparam.c
658         (__pthread_attr_getschedparam): Likewise.
659         * nptl/pthread_attr_getschedpolicy.c
660         (__pthread_attr_getschedpolicy): Likewise.
661         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
662         Likewise.
663         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
664         Likewise.
665         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
666         Likewise.
667         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
668         Likewise.
669         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
670         (__pthread_attr_init_2_0): Likewise.
671         * nptl/pthread_attr_setdetachstate.c
672         (__pthread_attr_setdetachstate): Likewise.
673         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
674         Likewise.
675         * nptl/pthread_attr_setinheritsched.c
676         (__pthread_attr_setinheritsched): Likewise.
677         * nptl/pthread_attr_setschedparam.c
678         (__pthread_attr_setschedparam): Likewise.
679         * nptl/pthread_attr_setschedpolicy.c
680         (__pthread_attr_setschedpolicy): Likewise.
681         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
682         Likewise.
683         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
684         Likewise.
685         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
686         Likewise.
687         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
688         Likewise.
689         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
690         Likewise.
691         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
692         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
693         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
694         use internal_function.
695         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
696         prototype-style function definition.
697         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
698         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
699         internal_function.
700         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
701         Convert to prototype-style function definition.
702         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
703         Likewise.
704         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
705         Likewise.
706         (__pthread_mutex_unlock): Likewise.
707         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
708         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
709         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
710         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
711         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
712         * nss/makedb.c (process_input): Likewise.
713         * posix/fnmatch.c (__strchrnul): Likewise.
714         (__wcschrnul): Likewise.
715         (fnmatch): Likewise.
716         * posix/fnmatch_loop.c (FCT): Likewise.
717         * posix/glob.c (globfree): Likewise.
718         (__glob_pattern_type): Likewise.
719         (__glob_pattern_p): Likewise.
720         * posix/regcomp.c (re_compile_pattern): Likewise.
721         (re_set_syntax): Likewise.
722         (re_compile_fastmap): Likewise.
723         (regcomp): Likewise.
724         (regerror): Likewise.
725         (regfree): Likewise.
726         * posix/regexec.c (regexec): Likewise.
727         (re_match): Likewise.
728         (re_search): Likewise.
729         (re_match_2): Likewise.
730         (re_search_2): Likewise.
731         (re_search_stub): Likewise.  Use internal_function
732         (re_copy_regs): Likewise.
733         (re_set_registers): Convert to prototype-style function
734         definition.
735         (prune_impossible_nodes): Likewise.  Use internal_function.
736         * resolv/inet_net_pton.c (inet_net_pton): Convert to
737         prototype-style function definition.
738         (inet_net_pton_ipv4): Likewise.
739         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
740         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
741         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
742         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
743         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
744         Make variadic.
745         * time/strptime_l.c (localtime_r): Convert to prototype-style
746         function definition.
747         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
748         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
749         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
750         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
752         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
753         definition.
754         (_ufc_doit_r): Likewise.
755         * crypt/crypt_util.c (_ufc_copymem): Likewise.
756         (_ufc_output_conversion_r): Likewise.
757         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
758         * inet/rcmd.c (rcmd_af): Likewise.
759         (rcmd): Likewise.
760         (ruserok_af): Likewise.
761         (ruserok): Likewise.
762         (ruserok2_sa): Likewise.
763         (ruserok_sa): Likewise.
764         (iruserok_af): Likewise.
765         (iruserok): Likewise.
766         (__ivaliduser): Likewise.
767         (__validuser2_sa): Likewise.
768         * inet/rexec.c (rexec_af): Likewise.
769         (rexec): Likewise.
770         * inet/ruserpass.c (ruserpass): Likewise.
771         * locale/programs/xmalloc.c (xcalloc): Likewise.
772         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
773         * math/w_drem.c (__drem): Likewise.
774         * math/w_dremf.c (__dremf): Likewise.
775         * math/w_dreml.c (__dreml): Likewise.
776         * misc/daemon.c (daemon): Likewise.
777         * resolv/res_debug.c (p_fqnname): Likewise.
778         * stdlib/div.c (div): Likewise.
779         * string/memcmp.c (memcmp_bytes): Likewise.
780         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
781         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
783         * crypt/cert.c (main): Convert to prototype-style function
784         definition.
785         * io/pipe.c (__pipe): Likewise.
786         * io/pipe2.c (__pipe2): Likewise.
787         * misc/futimesat.c (futimesat): Likewise.
788         * misc/utimes.c (__utimes): Likewise.
789         * posix/execve.c (__execve): Likewise.
790         * posix/execvp.c (execvp): Likewise.
791         * posix/execvpe.c (__execvpe): Likewise.
792         * posix/fexecve.c (fexecve): Likewise.
793         * socket/socketpair.c (socketpair): Likewise.
794         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
795         * stdlib/erand48.c (erand48): Likewise.
796         * stdlib/erand48_r.c (__erand48_r): Likewise.
797         * stdlib/jrand48.c (jrand48): Likewise.
798         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
799         * stdlib/lcong48.c (lcong48): Likewise.
800         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
801         * stdlib/nrand48.c (nrand48): Likewise.
802         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
803         * stdlib/seed48.c (seed48): Likewise.
804         * stdlib/seed48_r.c (__seed48_r): Likewise.
805         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
806         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
807         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
809 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
811         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
812         * configure: Regenerated.
813         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
814         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
815         unconditional.
816         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
817         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
818         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
819         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
820         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
821         unconditional.
822         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
824         * posix/Makefile (CFLAGS-regex.c): Remove variable.
825         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
827         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
828         function definition.
829         * crypt/crypt_util.c (__encrypt_r): Likewise.
830         * libio/genops.c (_IO_no_init): Likewise.
831         * libio/iofopncook.c (_IO_fopencookie): Likewise.
832         (_IO_old_fopencookie): Likewise.
833         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
834         * libio/iogetline.c (_IO_getline): Likewise.
835         (_IO_getline_info): Likewise.
836         * libio/iogetwline.c (_IO_getwline): Likewise.
837         (_IO_getwline_info): Likewise.
838         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
839         * libio/vswprintf.c (_IO_vswprintf): Likewise.
840         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
841         (find_entry): Likewise.
842         (iterate_table): Likewise.
843         (lookup): Likewise.
844         * login/forkpty.c (forkpty): Likewise.
845         * misc/hsearch_r.c (__hsearch_r): Likewise.
846         * misc/select.c (__select): Likewise.
847         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
848         Likewise.
849         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
850         Likewise.
851         * nptl/old_pthread_cond_timedwait.c
852         (__pthread_cond_timedwait_2_0): Likewise.
853         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
854         * nptl/pthread_barrierattr_getpshared.c
855         (pthread_barrierattr_getpshared): Likewise.
856         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
857         Likewise.
858         * nptl/pthread_mutex_setprioceiling.c
859         (pthread_mutex_setprioceiling): Likewise.
860         * nptl/pthread_mutexattr_getprioceiling.c
861         (pthread_mutexattr_getprioceiling): Likewise.
862         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
863         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
864         Likewise.
865         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
866         Likewise.
867         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
868         Likewise.
869         * socket/recvfrom.c (__recvfrom): Likewise.
870         * socket/sendto.c (__sendto): Likewise.
871         * socket/setsockopt.c (__setsockopt): Likewise.
872         * stdio-common/_itoa.c (_itoa): Likewise.
873         * stdio-common/_itowa.c (_itowa): Likewise.
874         * stdio-common/reg-printf.c (__register_printf_specifier):
875         Likewise.
876         (__register_printf_function): Likewise.
877         * stdio-common/tempname.c (__path_search): Likewise.
878         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
879         * stdlib/mul_1.c (mpn_mul_1): Likewise.
880         * stdlib/random_r.c (__initstate_r): Likewise.
881         * stdlib/setenv.c (__add_to_environ): Likewise.
882         * stdlib/submul_1.c (mpn_submul_1): Likewise.
883         * streams/getpmsg.c (getpmsg): Likewise.
884         * streams/putmsg.c (putmsg): Likewise.
885         * streams/putpmsg.c (putpmsg): Likewise.
886         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
887         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
888         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
889         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
890         * sunrpc/pm_getport.c (pmap_getport): Likewise.
891         * sunrpc/svc_udp.c (cache_get): Likewise.
892         * sunrpc/xdr_array.c (xdr_vector): Likewise.
893         * sysdeps/mach/hurd/getcwd.c
894         (__canonicalize_directory_name_internal): Likewise.
895         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
896         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
897         * sysdeps/mach/hurd/select.c (__select): Likewise.
898         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
899         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
900         * sysdeps/sparc/nptl/pthread_barrier_init.c
901         (__pthread_barrier_init): Likewise.
902         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
903         (__pthread_cond_timedwait): Likewise.
904         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
905         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
906         Likewise.
907         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
908         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
909         Likewise.
910         * sysvipc/semtimedop.c (semtimedop): Likewise.
911         * time/setitimer.c (__setitimer): Likewise.
912         * time/strftime_l.c (emacs_strftime): Likewise.
914 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
916         * config.make.in (have-ssp): Delete.
917         (stack-protector): New variable.
918         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
919         cache test for -fstack-protector-strong.  Export stack_protector to
920         the best ssp flag.
921         * configure: Regenerated.
922         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
923         * nscd/Makefile (CFLAGS-nscd): Likewise.
924         * resolv/Makefile (CFLAGS-libresolv): Likewise.
926 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
928         [BZ #19122]
929         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
930         attribute_hidden.
932 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
934         [BZ #18743]
935         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
936         code to...
937         (ELIDE_LOCK): ...here.
938         (__get_new_count): New function with part of the code from
939         __elide_lock that updates the value of adapt_count after a
940         transaction abort.
941         (__elided_trylock): Moved this code to...
942         (ELIDE_TRYLOCK): ...here.
944 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
946         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
947         * configure: Regenerate.
948         * INSTALL: Regenerate.
949         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
950         and tweak grammar.
952 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
954         * login/programs/pt_chown.c: Include signal.h
955         (main): Clear any signal mask from the parent process.
957 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
959         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
960         * configure: Regenerated.
961         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
962         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
963         $(gnu89-inline-CFLAGS).
965         * configure.ac (libc_cv_asm_weak_directive): Remove configure
966         test.
967         (libc_cv_asm_weakext_directive): Likewise.
968         * configure: Regenerated.
969         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
970         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
971         * include/libc-symbols.h
972         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
973         #error.
974         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
975         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
977         * sysdeps/arm/backtrace.c (__backtrace): Convert to
978         prototype-style function definition.
979         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
980         * sysdeps/i386/ffs.c (__ffs): Likewise.
981         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
982         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
983         Likewise.
984         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
985         Likewise.
986         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
987         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
988         Likewise.
989         * sysdeps/m68k/ffs.c (__ffs): Likewise.
990         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
991         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
992         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
993         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
994         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
995         * sysdeps/mach/hurd/access.c (__access): Likewise.
996         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
997         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
998         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
999         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
1000         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
1001         (cthread_getspecific): Likewise.
1002         (cthread_setspecific): Likewise.
1003         (__libc_getspecific): Likewise.
1004         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
1005         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
1006         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
1007         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
1008         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
1009         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
1010         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
1011         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
1012         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
1013         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
1014         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
1015         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
1016         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
1017         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
1018         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
1019         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
1020         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
1021         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
1022         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
1023         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
1024         * sysdeps/mach/hurd/link.c (__link): Likewise.
1025         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
1026         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
1027         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
1028         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
1029         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
1030         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
1031         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
1032         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
1033         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1034         * sysdeps/mach/hurd/rename.c (rename): Likewise.
1035         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
1036         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
1037         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
1038         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
1039         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
1040         * sysdeps/mach/hurd/send.c (__send): Likewise.
1041         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
1042         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
1043         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
1044         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
1045         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
1046         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
1047         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
1048         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
1049         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
1050         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
1051         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
1052         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
1053         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
1054         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
1055         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
1056         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1057         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
1058         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
1059         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
1060         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1061         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
1062         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
1063         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
1064         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
1065         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
1066         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
1067         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
1068         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
1069         * sysdeps/posix/alarm.c (alarm): Likewise.
1070         * sysdeps/posix/cuserid.c (cuserid): Likewise.
1071         * sysdeps/posix/dirfd.c (dirfd): Likewise.
1072         * sysdeps/posix/dup.c (__dup): Likewise.
1073         * sysdeps/posix/dup2.c (__dup2): Likewise.
1074         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
1075         (main): Likewise.
1076         * sysdeps/posix/flock.c (__flock): Likewise.
1077         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
1078         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
1079         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
1080         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
1081         * sysdeps/posix/isatty.c (__isatty): Likewise.
1082         * sysdeps/posix/killpg.c (killpg): Likewise.
1083         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
1084         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
1085         * sysdeps/posix/raise.c (raise): Likewise.
1086         * sysdeps/posix/remove.c (remove): Likewise.
1087         * sysdeps/posix/rename.c (rename): Likewise.
1088         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
1089         * sysdeps/posix/seekdir.c (seekdir): Likewise.
1090         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
1091         * sysdeps/posix/sigignore.c (sigignore): Likewise.
1092         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
1093         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
1094         * sysdeps/posix/sigset.c (sigset): Likewise.
1095         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
1096         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
1097         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
1098         * sysdeps/posix/time.c (time): Likewise.
1099         * sysdeps/posix/ttyname.c (getttyname): Likewise.
1100         (ttyname): Likewise.
1101         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
1102         * sysdeps/posix/utime.c (utime): Likewise.
1103         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
1104         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
1105         Likewise.
1106         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
1107         (pthread_spin_trylock): Likewise.
1108         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
1109         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
1110         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
1111         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
1112         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
1113         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
1114         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
1115         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
1116         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
1117         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
1118         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
1119         * sysdeps/s390/ffs.c (__ffs): Likewise.
1120         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
1121         Likewise.
1122         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
1123         Likewise.
1124         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
1125         Likewise.
1126         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
1127         (pthread_barrier_destroy): Likewise.
1128         * sysdeps/sparc/nptl/pthread_barrier_wait.c
1129         (__pthread_barrier_wait): Likewise.
1130         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
1131         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
1132         (__pthread_barrier_wait): Likewise.
1133         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
1134         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
1135         (memcmp_not_common_alignment): Likewise.
1136         (MEMCMP): Likewise.
1137         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
1138         (_wordcopy_fwd_dest_aligned): Likewise.
1139         (_wordcopy_bwd_aligned): Likewise.
1140         (_wordcopy_bwd_dest_aligned): Likewise.
1141         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
1142         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
1143         * sysdeps/unix/bsd/stty.c (stty): Likewise.
1144         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
1145         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
1146         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
1147         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
1148         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
1149         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
1150         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
1151         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
1152         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
1153         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
1154         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
1155         * sysdeps/unix/stime.c (stime): Likewise.
1156         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
1157         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
1158         Likewise.  Use internal_function.
1159         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
1160         Convert to prototype-style function definition.
1161         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
1162         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
1163         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
1164         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1165         Likewise.  Use internal_function.
1166         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
1167         prototype-style function definition
1168         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1169         Likewise.
1170         (__getlogin_r): Likewise.
1171         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
1172         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
1173         (__pthread_cond_broadcast): Likewise.
1174         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
1175         (__pthread_cond_destroy): Likewise.
1176         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
1177         (__pthread_cond_init): Likewise.
1178         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
1179         (__pthread_cond_signal): Likewise.
1180         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
1181         (__pthread_cond_wait): Likewise.
1182         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
1183         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
1184         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
1185         Likewise.
1186         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
1187         Likewise.
1188         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
1189         Likewise.
1190         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
1191         Likewise.
1192         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
1193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
1194         (__ftruncate64): Likewise.
1195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
1196         (truncate64): Likewise.
1197         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
1198         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
1199         (pthread_getcpuclockid): Likewise.
1200         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
1201         Likewise.
1202         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
1203         Likewise.
1204         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
1205         Likewise.
1206         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
1207         Likewise.
1208         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
1209         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
1210         (__libc_sigaction): Likewise.
1211         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
1212         Likewise.
1213         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
1214         (__sigprocmask): Likewise.
1215         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
1216         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
1217         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
1218         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
1219         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1220         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
1221         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1222         Likewise.
1223         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
1224         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
1225         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1226         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
1227         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
1228         Likewise.
1229         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
1230         (__sigprocmask): Likewise.
1231         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
1232         (cfgetispeed): Likewise.
1233         (cfsetospeed): Likewise.
1234         (cfsetispeed): Likewise.
1235         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
1236         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
1237         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
1238         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
1239         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
1240         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
1241         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
1242         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
1243         Likewise.
1244         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
1245         Likewise.
1246         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
1247         Likewise.
1248         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
1249         Likewise.
1250         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
1252 2015-10-17  Florian Weimer  <fweimer@redhat.com>
1254         sunrpc: Rewrite with explicit TLS access using __thread.
1255         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
1256         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
1257         directly.
1258         (__rpc_thread_variables): Access thread_rpc_vars directly.
1259         Eliminate redundant assignment of the tvp variable.
1261 2015-10-17  Florian Weimer  <fweimer@redhat.com>
1263         malloc: Rewrite with explicit TLS access using __thread.
1264         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
1265         (tsd_setspecific, tsd_getspecific): Remove.
1266         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
1267         (tsd_setspecific, tsd_getspecific): Likewise.
1268         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
1269         (tsd_setspecific, tsd_getspecific): Likewise.
1270         * malloc/arena.c (thread_arena): New TLS variable.
1271         (arena_key): Remove variable.
1272         (arena_get): Use thread_arena.
1273         (arena_lookup): Remove macro.
1274         (malloc_atfork, free_atfork, ptmalloc_lock_all)
1275         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
1276         (_int_new_arena, get_free_list, reused_arena)
1277         (arena_thread_freeres): Use thread_arena.
1278         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
1279         tsd_getspecific, tsd_setspecific from safety annotations.
1280         (Allocating Cleared Space): Remove arena_lookup from safety
1281         annotations.
1283 2015-10-17  Florian Weimer  <fweimer@redhat.com>
1285         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
1286         struct scratch_buffer instead of extend_alloca.
1288 2015-10-17  Florian Weimer  <fweimer@redhat.com>
1290         * sysdeps/unix/sysv/linux/kernel-features.h
1291         (__ASSUME_SOCK_CLOEXEC): Remove.
1292         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
1293         (__have_paccept): Remove unused macro.
1294         * include/unistd.h (__have_sock_cloexec): Remove declaration.
1295         * misc/syslog.c (openlog_internal): Remove fallback code for
1296         !__ASSUME_SOCK_CLOEXEC.
1297         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
1298         missing SOCK_CLOEXEC.
1299         * nscd/connections.c (have_sock_cloexec): Remove definition.
1300         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
1301         * nscd/nscd_helper.c (open_socket): Remove fallback code for
1302         !__ASSUME_SOCK_CLOEXEC.
1303         * resolv/res_send.c (__have_o_nonblock): Remove definition.
1304         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
1305         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
1306         definition.
1307         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
1308         code for !__ASSUME_SOCK_CLOEXEC.
1310 2015-10-17  Florian Weimer  <fweimer@redhat.com>
1312         [BZ #18982]
1313         * manual/stdio.texi (Variable Arguments Output): Add portability
1314         note, explaining that vfprintf clobbers the va_list pointer.
1316 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
1318         * math/libm-test.inc (fabs_test_data): Add more tests.
1319         (fdim_test_data): Likewise.
1320         (fma_test_data): Likewise.
1321         (fmax_test_data): Likewise.
1322         (fmin_test_data): Likewise.
1323         (fmod_test_data): Likewise.
1325 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
1327         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
1328         data.
1330 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
1332         * math/libm-test.inc (ceil_test_data): Add more tests and more
1333         expectations for "inexact".
1334         (floor_test_data): Add more tests.
1335         (round_test_data): Likewise.
1336         (trunc_test_data): Likewise.
1338         * crypt/cert.c (good_bye): Convert to prototype-style function
1339         definition.
1340         (get8): Likewise.
1341         (put8): Likewise.
1342         * crypt/crypt-entry.c (crypt): Likewise.
1343         (__fcrypt): Likewise.
1344         * crypt/crypt_util.c (_ufc_prbits): Likewise.
1345         (_ufc_set_bits): Likewise.
1346         (_ufc_clearmem): Likewise.
1347         (__init_des_r): Likewise.
1348         (shuffle_sb): Likewise.
1349         (shuffle_sb): Likewise.
1350         (_ufc_setup_salt_r): Likewise.
1351         (_ufc_mk_keytab_r): Likewise.
1352         (_ufc_dofinalperm_r): Likewise.
1353         (encrypt): Likewise.
1354         (__setkey_r): Likewise.
1355         (setkey): Likewise.
1356         * crypt/md5.c (md5_init_ctx): Likewise.
1357         (md5_read_ctx): Likewise.
1358         (md5_finish_ctx): Likewise.
1359         (md5_stream): Likewise.
1360         (md5_buffer): Likewise.
1361         (md5_process_bytes): Likewise.
1362         * crypt/sha256.c (__sha256_init_ctx): Likewise.
1363         (__sha256_finish_ctx): Likewise.
1364         (__sha256_process_bytes): Likewise.
1365         * crypt/sha512.c (__sha512_init_ctx): Likewise.
1366         (__sha512_finish_ctx): Likewise.
1367         (__sha512_process_bytes): Likewise.
1368         * ctype/isctype.c (__isctype): Likewise.
1369         * debug/backtrace.c (__backtrace): Likewise.
1370         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
1371         * debug/fgets_chk.c (__fgets_chk): Likewise.
1372         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
1373         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
1374         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1375         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1376         * debug/memset_chk.c (__memset_chk): Likewise.
1377         * debug/strcat_chk.c (__strcat_chk): Likewise.
1378         * debug/strncat_chk.c (__strncat_chk): Likewise.
1379         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
1380         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
1381         * dirent/dirfd.c (dirfd): Likewise.
1382         * dirent/getdents.c (__getdirentries): Likewise.
1383         * dirent/getdents64.c (getdirentries64): Likewise.
1384         * dirent/rewinddir.c (__rewinddir): Likewise.
1385         * dirent/seekdir.c (seekdir): Likewise.
1386         * dirent/telldir.c (telldir): Likewise.
1387         * elf/sln.c (makesymlinks): Likewise.
1388         (makesymlink): Likewise.
1389         * gmon/gmon.c (__moncontrol): Likewise.
1390         (__monstartup): Likewise.
1391         (write_hist): Likewise.
1392         (write_call_graph): Likewise.
1393         (write_bb_counts): Likewise.
1394         * grp/setgroups.c (setgroups): Likewise.
1395         * inet/inet_lnaof.c (inet_lnaof): Likewise.
1396         * inet/inet_net.c (inet_network): Likewise.
1397         * inet/inet_netof.c (inet_netof): Likewise.
1398         * inet/rcmd.c (rresvport_af): Likewise.
1399         (rresvport): Likewise.
1400         * io/access.c (__access): Likewise.
1401         * io/chdir.c (__chdir): Likewise.
1402         * io/chmod.c (__chmod): Likewise.
1403         * io/chown.c (__chown): Likewise.
1404         * io/close.c (__close): Likewise.
1405         * io/creat.c (creat): Likewise.
1406         * io/creat64.c (creat64): Likewise.
1407         * io/dup.c (__dup): Likewise.
1408         * io/dup2.c (__dup2): Likewise.
1409         * io/dup3.c (__dup3): Likewise.
1410         * io/euidaccess.c (__euidaccess): Likewise.
1411         * io/faccessat.c (faccessat): Likewise.
1412         * io/fchmod.c (__fchmod): Likewise.
1413         * io/fchmodat.c (fchmodat): Likewise.
1414         * io/fchown.c (__fchown): Likewise.
1415         * io/fchownat.c (fchownat): Likewise.
1416         * io/fcntl.c (__fcntl): Likewise.
1417         * io/flock.c (__flock): Likewise.
1418         * io/fts.c (fts_load): Likewise.
1419         (fts_close): Likewise.
1420         (fts_read): Likewise.
1421         (fts_set): Likewise.
1422         (fts_children): Likewise.
1423         (fts_build): Likewise.
1424         (fts_stat): Likewise.
1425         (fts_sort): Likewise.
1426         (fts_alloc): Likewise.
1427         (fts_lfree): Likewise.
1428         (fts_palloc): Likewise.
1429         (fts_padjust): Likewise.
1430         (fts_maxarglen): Likewise.
1431         (fts_safe_changedir): Likewise.
1432         * io/getwd.c (getwd): Likewise.
1433         * io/isatty.c (__isatty): Likewise.
1434         * io/lchown.c (__lchown): Likewise.
1435         * io/link.c (__link): Likewise.
1436         * io/linkat.c (linkat): Likewise.
1437         * io/lseek.c (__libc_lseek): Likewise.
1438         * io/mkdir.c (__mkdir): Likewise.
1439         * io/mkdirat.c (mkdirat): Likewise.
1440         * io/mkfifo.c (mkfifo): Likewise.
1441         * io/mkfifoat.c (mkfifoat): Likewise.
1442         * io/open.c (__libc_open): Likewise.
1443         * io/open64.c (__libc_open64): Likewise.
1444         * io/readlink.c (__readlink): Likewise.
1445         * io/readlinkat.c (readlinkat): Likewise.
1446         * io/rmdir.c (__rmdir): Likewise.
1447         * io/symlink.c (__symlink): Likewise.
1448         * io/symlinkat.c (symlinkat): Likewise.
1449         * io/ttyname.c (ttyname): Likewise.
1450         * io/ttyname_r.c (__ttyname_r): Likewise.
1451         * io/umask.c (__umask): Likewise.
1452         * io/unlink.c (__unlink): Likewise.
1453         * io/unlinkat.c (unlinkat): Likewise.
1454         * io/utime.c (utime): Likewise.
1455         * libio/clearerr.c (clearerr): Likewise.
1456         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
1457         * libio/feof.c (_IO_feof): Likewise.
1458         * libio/feof_u.c (feof_unlocked): Likewise.
1459         * libio/ferror.c (_IO_ferror): Likewise.
1460         * libio/ferror_u.c (ferror_unlocked): Likewise.
1461         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1462         * libio/fileno.c (__fileno): Likewise.
1463         * libio/fputc.c (fputc): Likewise.
1464         * libio/fputc_u.c (fputc_unlocked): Likewise.
1465         * libio/fputwc.c (fputwc): Likewise.
1466         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
1467         * libio/freopen.c (freopen): Likewise.
1468         * libio/freopen64.c (freopen64): Likewise.
1469         * libio/fseek.c (fseek): Likewise.
1470         * libio/fseeko.c (fseeko): Likewise.
1471         * libio/fseeko64.c (fseeko64): Likewise.
1472         * libio/ftello.c (__ftello): Likewise.
1473         * libio/ftello64.c (ftello64): Likewise.
1474         * libio/fwide.c (fwide): Likewise.
1475         * libio/genops.c (_IO_un_link): Likewise.
1476         (_IO_link_in): Likewise.
1477         (_IO_least_marker): Likewise.
1478         (_IO_switch_to_main_get_area): Likewise.
1479         (_IO_switch_to_backup_area): Likewise.
1480         (_IO_switch_to_get_mode): Likewise.
1481         (_IO_free_backup_area): Likewise.
1482         (_IO_switch_to_put_mode): Likewise.
1483         (__overflow): Likewise.
1484         (__underflow): Likewise.
1485         (__uflow): Likewise.
1486         (_IO_setb): Likewise.
1487         (_IO_doallocbuf): Likewise.
1488         (_IO_default_underflow): Likewise.
1489         (_IO_default_uflow): Likewise.
1490         (_IO_default_xsputn): Likewise.
1491         (_IO_sgetn): Likewise.
1492         (_IO_default_xsgetn): Likewise.
1493         (_IO_sync): Likewise.
1494         (_IO_default_setbuf): Likewise.
1495         (_IO_default_seekpos): Likewise.
1496         (_IO_default_doallocate): Likewise.
1497         (_IO_init): Likewise.
1498         (_IO_old_init): Likewise.
1499         (_IO_default_sync): Likewise.
1500         (_IO_default_finish): Likewise.
1501         (_IO_default_seekoff): Likewise.
1502         (_IO_sputbackc): Likewise.
1503         (_IO_sungetc): Likewise.
1504         (_IO_set_column): Likewise.
1505         (_IO_set_column): Likewise.
1506         (_IO_adjust_column): Likewise.
1507         (_IO_get_column): Likewise.
1508         (_IO_init_marker): Likewise.
1509         (_IO_remove_marker): Likewise.
1510         (_IO_marker_difference): Likewise.
1511         (_IO_marker_delta): Likewise.
1512         (_IO_seekmark): Likewise.
1513         (_IO_unsave_markers): Likewise.
1514         (_IO_nobackup_pbackfail): Likewise.
1515         (_IO_default_pbackfail): Likewise.
1516         (_IO_default_seek): Likewise.
1517         (_IO_default_stat): Likewise.
1518         (_IO_default_read): Likewise.
1519         (_IO_default_write): Likewise.
1520         (_IO_default_showmanyc): Likewise.
1521         (_IO_default_imbue): Likewise.
1522         (_IO_iter_next): Likewise.
1523         (_IO_iter_file): Likewise.
1524         * libio/getc.c (_IO_getc): Likewise.
1525         * libio/getwc.c (_IO_getwc): Likewise.
1526         * libio/iofclose.c (_IO_new_fclose): Likewise.
1527         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
1528         * libio/iofflush.c (_IO_fflush): Likewise.
1529         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
1530         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
1531         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
1532         * libio/iofgets.c (_IO_fgets): Likewise.
1533         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
1534         * libio/iofgetws.c (fgetws): Likewise.
1535         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
1536         * libio/iofopen64.c (_IO_fopen64): Likewise.
1537         * libio/iofopncook.c (_IO_cookie_read): Likewise.
1538         (_IO_cookie_write): Likewise.
1539         (_IO_cookie_seek): Likewise.
1540         (_IO_cookie_close): Likewise.
1541         (_IO_cookie_seekoff): Likewise.
1542         (_IO_old_cookie_seek): Likewise.
1543         * libio/iofputs.c (_IO_fputs): Likewise.
1544         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
1545         * libio/iofputws.c (fputws): Likewise.
1546         * libio/iofputws_u.c (fputws_unlocked): Likewise.
1547         * libio/iofread.c (_IO_fread): Likewise.
1548         * libio/iofread_u.c (__fread_unlocked): Likewise.
1549         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
1550         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
1551         * libio/ioftell.c (_IO_ftell): Likewise.
1552         * libio/iofwrite.c (_IO_fwrite): Likewise.
1553         * libio/iogetdelim.c (_IO_getdelim): Likewise.
1554         * libio/iogets.c (_IO_gets): Likewise.
1555         * libio/iopadn.c (_IO_padn): Likewise.
1556         * libio/iopopen.c (_IO_new_proc_open): Likewise.
1557         (_IO_new_popen): Likewise.
1558         (_IO_new_proc_close): Likewise.
1559         * libio/ioputs.c (_IO_puts): Likewise.
1560         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
1561         (_IO_seekoff): Likewise.
1562         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
1563         (_IO_seekpos): Likewise.
1564         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
1565         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
1566         * libio/ioungetc.c (_IO_ungetc): Likewise.
1567         * libio/ioungetwc.c (ungetwc): Likewise.
1568         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
1569         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
1570         * libio/iowpadn.c (_IO_wpadn): Likewise.
1571         * libio/libc_fatal.c (__libc_fatal): Likewise.
1572         * libio/memstream.c (__open_memstream): Likewise.
1573         (_IO_mem_sync): Likewise.
1574         (_IO_mem_finish): Likewise.
1575         * libio/oldfileops.c (_IO_old_file_init): Likewise.
1576         (_IO_old_file_close_it): Likewise.
1577         (_IO_old_file_finish): Likewise.
1578         (_IO_old_file_fopen): Likewise.
1579         (_IO_old_file_attach): Likewise.
1580         (_IO_old_file_setbuf): Likewise.
1581         (_IO_old_do_write): Likewise.
1582         (old_do_write): Likewise.
1583         (_IO_old_file_underflow): Likewise.
1584         (_IO_old_file_overflow): Likewise.
1585         (_IO_old_file_sync): Likewise.
1586         (_IO_old_file_seekoff): Likewise.
1587         (_IO_old_file_write): Likewise.
1588         (_IO_old_file_xsputn): Likewise.
1589         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
1590         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1591         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
1592         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
1593         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1594         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
1595         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
1596         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
1597         (_IO_old_popen): Likewise.
1598         (_IO_old_proc_close): Likewise.
1599         * libio/oldpclose.c (__old_pclose): Likewise.
1600         * libio/pclose.c (__new_pclose): Likewise.
1601         * libio/peekc.c (_IO_peekc_locked): Likewise.
1602         * libio/putc.c (_IO_putc): Likewise.
1603         * libio/putc_u.c (putc_unlocked): Likewise.
1604         * libio/putchar.c (putchar): Likewise.
1605         * libio/putchar_u.c (putchar_unlocked): Likewise.
1606         * libio/putwc.c (putwc): Likewise.
1607         * libio/putwc_u.c (putwc_unlocked): Likewise.
1608         * libio/putwchar.c (putwchar): Likewise.
1609         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
1610         * libio/rewind.c (rewind): Likewise.
1611         * libio/setbuf.c (setbuf): Likewise.
1612         * libio/setlinebuf.c (setlinebuf): Likewise.
1613         * libio/vasprintf.c (_IO_vasprintf): Likewise.
1614         * libio/vscanf.c (_IO_vscanf): Likewise.
1615         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
1616         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
1617         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
1618         * libio/wgenops.c (_IO_least_wmarker): Likewise.
1619         (_IO_switch_to_main_wget_area): Likewise.
1620         (_IO_switch_to_wbackup_area): Likewise.
1621         (_IO_wsetb): Likewise.
1622         (_IO_wdefault_pbackfail): Likewise.
1623         (_IO_wdefault_finish): Likewise.
1624         (_IO_wdefault_uflow): Likewise.
1625         (__woverflow): Likewise.
1626         (__wuflow): Likewise.
1627         (__wunderflow): Likewise.
1628         (_IO_wdefault_xsputn): Likewise.
1629         (_IO_wdefault_xsgetn): Likewise.
1630         (_IO_wdoallocbuf): Likewise.
1631         (_IO_wdefault_doallocate): Likewise.
1632         (_IO_switch_to_wget_mode): Likewise.
1633         (_IO_free_wbackup_area): Likewise.
1634         (_IO_switch_to_wput_mode): Likewise.
1635         (_IO_sputbackwc): Likewise.
1636         (_IO_sungetwc): Likewise.
1637         (_IO_adjust_wcolumn): Likewise.
1638         (_IO_init_wmarker): Likewise.
1639         (_IO_wmarker_delta): Likewise.
1640         (_IO_seekwmark): Likewise.
1641         (_IO_unsave_wmarkers): Likewise.
1642         * libio/wmemstream.c (open_wmemstream): Likewise.
1643         (_IO_wmem_sync): Likewise.
1644         (_IO_wmem_finish): Likewise.
1645         * locale/nl_langinfo.c (nl_langinfo): Likewise.
1646         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
1647         * locale/programs/simple-hash.c (init_hash): Likewise.
1648         (delete_hash): Likewise.
1649         (insert_entry): Likewise.
1650         (set_entry): Likewise.
1651         (next_prime): Likewise.
1652         (is_prime): Likewise.
1653         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
1654         (xmalloc): Likewise.
1655         (xrealloc): Likewise.
1656         * locale/programs/xstrdup.c (xstrdup): Likewise.
1657         * localedata/collate-test.c (xstrcoll): Likewise.
1658         * localedata/xfrm-test.c (xstrcmp): Likewise.
1659         * login/getlogin_r.c (__getlogin_r): Likewise.
1660         * login/getpt.c (__posix_openpt): Likewise.
1661         * login/login_tty.c (login_tty): Likewise.
1662         * login/setlogin.c (setlogin): Likewise.
1663         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
1664         (mach_msg_destroy_port): Likewise.
1665         (mach_msg_destroy_memory): Likewise.
1666         * malloc/mcheck.c (flood): Likewise.
1667         * misc/acct.c (acct): Likewise.
1668         * misc/brk.c (__brk): Likewise.
1669         * misc/chflags.c (chflags): Likewise.
1670         * misc/chroot.c (chroot): Likewise.
1671         * misc/fchflags.c (fchflags): Likewise.
1672         * misc/fstab.c (getfsspec): Likewise.
1673         (getfsfile): Likewise.
1674         * misc/fsync.c (fsync): Likewise.
1675         * misc/ftruncate.c (__ftruncate): Likewise.
1676         * misc/ftruncate64.c (__ftruncate64): Likewise.
1677         * misc/getdomain.c (getdomainname): Likewise.
1678         (getdomainname): Likewise.
1679         * misc/gethostname.c (__gethostname): Likewise.
1680         * misc/getpass.c (getpass): Likewise.
1681         * misc/getttyent.c (skip): Likewise.
1682         (value): Likewise.
1683         * misc/gtty.c (gtty): Likewise.
1684         * misc/hsearch.c (hsearch): Likewise.
1685         (hcreate): Likewise.
1686         * misc/hsearch_r.c (__hcreate_r): Likewise.
1687         (__hdestroy_r): Likewise.
1688         * misc/ioctl.c (__ioctl): Likewise.
1689         * misc/mkdtemp.c (mkdtemp): Likewise.
1690         * misc/mkostemp.c (mkostemp): Likewise.
1691         * misc/mkostemp64.c (mkostemp64): Likewise.
1692         * misc/mkostemps.c (mkostemps): Likewise.
1693         * misc/mkostemps64.c (mkostemps64): Likewise.
1694         * misc/mkstemp.c (mkstemp): Likewise.
1695         * misc/mkstemp64.c (mkstemp64): Likewise.
1696         * misc/mkstemps.c (mkstemps): Likewise.
1697         * misc/mkstemps64.c (mkstemps64): Likewise.
1698         * misc/mktemp.c (__mktemp): Likewise.
1699         * misc/preadv.c (preadv): Likewise.
1700         * misc/preadv64.c (preadv64): Likewise.
1701         * misc/pwritev.c (pwritev): Likewise.
1702         * misc/pwritev64.c (pwritev64): Likewise.
1703         * misc/readv.c (__readv): Likewise.
1704         * misc/revoke.c (revoke): Likewise.
1705         * misc/setdomain.c (setdomainname): Likewise.
1706         * misc/setegid.c (setegid): Likewise.
1707         * misc/seteuid.c (seteuid): Likewise.
1708         * misc/sethostid.c (sethostid): Likewise.
1709         * misc/sethostname.c (sethostname): Likewise.
1710         * misc/setregid.c (__setregid): Likewise.
1711         * misc/setreuid.c (__setreuid): Likewise.
1712         * misc/sstk.c (sstk): Likewise.
1713         * misc/stty.c (stty): Likewise.
1714         * misc/syscall.c (syscall): Likewise.
1715         * misc/syslog.c (setlogmask): Likewise.
1716         * misc/truncate.c (__truncate): Likewise.
1717         * misc/truncate64.c (truncate64): Likewise.
1718         * misc/ualarm.c (ualarm): Likewise.
1719         * misc/usleep.c (usleep): Likewise.
1720         * misc/ustat.c (ustat): Likewise.
1721         * misc/writev.c (__writev): Likewise.
1722         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
1723         * nptl/old_pthread_cond_broadcast.c
1724         (__pthread_cond_broadcast_2_0): Likewise.
1725         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
1726         Likewise.
1727         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
1728         Likewise.
1729         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
1730         Likewise.
1731         * nptl/pt-raise.c (raise): Likewise.
1732         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
1733         Likewise.
1734         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
1735         * nptl/pthread_barrierattr_destroy.c
1736         (pthread_barrierattr_destroy): Likewise.
1737         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
1738         Likewise.
1739         * nptl/pthread_barrierattr_setpshared.c
1740         (pthread_barrierattr_setpshared): Likewise.
1741         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1742         Likewise.
1743         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
1744         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
1745         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
1746         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
1747         Likewise.
1748         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
1749         Likewise.
1750         * nptl/pthread_condattr_getpshared.c
1751         (pthread_condattr_getpshared): Likewise.
1752         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
1753         Likewise.
1754         * nptl/pthread_condattr_setpshared.c
1755         (pthread_condattr_setpshared): Likewise.
1756         * nptl/pthread_detach.c (pthread_detach): Likewise.
1757         * nptl/pthread_equal.c (__pthread_equal): Likewise.
1758         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
1759         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
1760         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
1761         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
1762         Likewise.
1763         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
1764         Likewise.
1765         * nptl/pthread_mutex_getprioceiling.c
1766         (pthread_mutex_getprioceiling): Likewise.
1767         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
1768         Likewise.
1769         * nptl/pthread_mutexattr_getprotocol.c
1770         (pthread_mutexattr_getprotocol): Likewise.
1771         * nptl/pthread_mutexattr_getpshared.c
1772         (pthread_mutexattr_getpshared): Likewise.
1773         * nptl/pthread_mutexattr_getrobust.c
1774         (pthread_mutexattr_getrobust): Likewise.
1775         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1776         Likewise.
1777         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
1778         Likewise.
1779         * nptl/pthread_mutexattr_setprioceiling.c
1780         (pthread_mutexattr_setprioceiling): Likewise.
1781         * nptl/pthread_mutexattr_setprotocol.c
1782         (pthread_mutexattr_setprotocol): Likewise.
1783         * nptl/pthread_mutexattr_setpshared.c
1784         (pthread_mutexattr_setpshared): Likewise.
1785         * nptl/pthread_mutexattr_setrobust.c
1786         (pthread_mutexattr_setrobust): Likewise.
1787         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
1788         Likewise.
1789         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
1790         Likewise.
1791         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
1792         Likewise.
1793         * nptl/pthread_rwlockattr_getkind_np.c
1794         (pthread_rwlockattr_getkind_np): Likewise.
1795         * nptl/pthread_rwlockattr_getpshared.c
1796         (pthread_rwlockattr_getpshared): Likewise.
1797         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
1798         Likewise.
1799         * nptl/pthread_rwlockattr_setkind_np.c
1800         (pthread_rwlockattr_setkind_np): Likewise.
1801         * nptl/pthread_rwlockattr_setpshared.c
1802         (pthread_rwlockattr_setpshared): Likewise.
1803         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
1804         Likewise.
1805         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
1806         Likewise.
1807         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
1808         Likewise.
1809         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
1810         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
1811         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
1812         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
1813         * nptl/sem_close.c (sem_close): Likewise.
1814         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
1815         * nptl/sem_init.c (__old_sem_init): Likewise.
1816         * nptl/sigaction.c (__sigaction): Likewise.
1817         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
1818         * posix/_exit.c (_exit): Likewise.
1819         * posix/alarm.c (alarm): Likewise.
1820         * posix/confstr.c (confstr): Likewise.
1821         * posix/fpathconf.c (__fpathconf): Likewise.
1822         * posix/getgroups.c (__getgroups): Likewise.
1823         * posix/getpgid.c (__getpgid): Likewise.
1824         * posix/group_member.c (__group_member): Likewise.
1825         * posix/pathconf.c (__pathconf): Likewise.
1826         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
1827         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
1828         * posix/setgid.c (__setgid): Likewise.
1829         * posix/setpgid.c (__setpgid): Likewise.
1830         * posix/setuid.c (__setuid): Likewise.
1831         * posix/sleep.c (__sleep): Likewise.
1832         * posix/sysconf.c (__sysconf): Likewise.
1833         * posix/times.c (__times): Likewise.
1834         * posix/uname.c (__uname): Likewise.
1835         * posix/waitid.c (__waitid): Likewise.
1836         * pwd/getpw.c (__getpw): Likewise.
1837         * resolv/base64.c (b64_pton): Likewise.
1838         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
1839         * resolv/gethnamaddr.c (Dprintf): Likewise.
1840         (gethostbyname): Likewise.
1841         (gethostbyname2): Likewise.
1842         (gethostbyaddr): Likewise.
1843         (_sethtent): Likewise.
1844         (_gethtbyname): Likewise.
1845         (_gethtbyname2): Likewise.
1846         (_gethtbyaddr): Likewise.
1847         (map_v4v6_address): Likewise.
1848         (map_v4v6_hostent): Likewise.
1849         (addrsort): Likewise.
1850         (ht_sethostent): Likewise.
1851         (ht_gethostbyname): Likewise.
1852         (ht_gethostbyaddr): Likewise.
1853         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
1854         (inet_net_ntop_ipv4): Likewise.
1855         * resolv/inet_neta.c (inet_neta): Likewise.
1856         * resolv/inet_ntop.c (inet_ntop): Likewise.
1857         (inet_ntop4): Likewise.
1858         (inet_ntop6): Likewise.
1859         * resolv/inet_pton.c (__inet_pton): Likewise.
1860         (inet_pton4): Likewise.
1861         (inet_pton6): Likewise.
1862         * resolv/res_debug.c (loc_aton): Likewise.
1863         (loc_ntoa): Likewise.
1864         * resource/getpriority.c (__getpriority): Likewise.
1865         * resource/getrusage.c (__getrusage): Likewise.
1866         * resource/nice.c (nice): Likewise.
1867         * resource/setpriority.c (__setpriority): Likewise.
1868         * resource/setrlimit64.c (setrlimit64): Likewise.
1869         * resource/vlimit.c (vlimit): Likewise.
1870         * resource/vtimes.c (vtimes): Likewise.
1871         * rt/aio_error.c (aio_error): Likewise.
1872         * rt/aio_return.c (aio_return): Likewise.
1873         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
1874         * signal/kill.c (__kill): Likewise.
1875         * signal/killpg.c (killpg): Likewise.
1876         * signal/raise.c (raise): Likewise.
1877         * signal/sigaction.c (__sigaction): Likewise.
1878         * signal/sigaddset.c (sigaddset): Likewise.
1879         * signal/sigaltstack.c (sigaltstack): Likewise.
1880         * signal/sigandset.c (sigandset): Likewise.
1881         * signal/sigblock.c (__sigblock): Likewise.
1882         * signal/sigdelset.c (sigdelset): Likewise.
1883         * signal/sigempty.c (sigemptyset): Likewise.
1884         * signal/sigfillset.c (sigfillset): Likewise.
1885         * signal/sighold.c (sighold): Likewise.
1886         * signal/sigignore.c (sigignore): Likewise.
1887         * signal/sigintr.c (siginterrupt): Likewise.
1888         * signal/sigisempty.c (sigisemptyset): Likewise.
1889         * signal/sigismem.c (sigismember): Likewise.
1890         * signal/signal.c (signal): Likewise.
1891         * signal/sigorset.c (sigorset): Likewise.
1892         * signal/sigpause.c (__sigpause): Likewise.
1893         * signal/sigpending.c (sigpending): Likewise.
1894         * signal/sigprocmask.c (__sigprocmask): Likewise.
1895         * signal/sigrelse.c (sigrelse): Likewise.
1896         * signal/sigreturn.c (__sigreturn): Likewise.
1897         * signal/sigset.c (sigset): Likewise.
1898         * signal/sigsetmask.c (__sigsetmask): Likewise.
1899         * signal/sigstack.c (sigstack): Likewise.
1900         * signal/sigsuspend.c (__sigsuspend): Likewise.
1901         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
1902         * signal/sysv_signal.c (__sysv_signal): Likewise.
1903         * socket/accept.c (accept): Likewise.
1904         * socket/accept4.c (__libc_accept4): Likewise.
1905         * socket/bind.c (__bind): Likewise.
1906         * socket/connect.c (__connect): Likewise.
1907         * socket/getpeername.c (getpeername): Likewise.
1908         * socket/getsockname.c (__getsockname): Likewise.
1909         * socket/getsockopt.c (getsockopt): Likewise.
1910         * socket/listen.c (__listen): Likewise.
1911         * socket/recv.c (__recv): Likewise.
1912         * socket/recvmsg.c (__recvmsg): Likewise.
1913         * socket/send.c (__send): Likewise.
1914         * socket/sendmsg.c (__sendmsg): Likewise.
1915         * socket/shutdown.c (shutdown): Likewise.
1916         * socket/sockatmark.c (sockatmark): Likewise.
1917         * socket/socket.c (__socket): Likewise.
1918         * stdio-common/ctermid.c (ctermid): Likewise.
1919         * stdio-common/cuserid.c (cuserid): Likewise.
1920         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
1921         * stdio-common/remove.c (remove): Likewise.
1922         * stdio-common/rename.c (rename): Likewise.
1923         * stdio-common/renameat.c (renameat): Likewise.
1924         * stdio-common/tempname.c (__gen_tempname): Likewise.
1925         * stdio-common/xbug.c (InitBuffer): Likewise.
1926         (AppendToBuffer): Likewise.
1927         (ReadFile): Likewise.
1928         * stdlib/a64l.c (a64l): Likewise.
1929         * stdlib/drand48_r.c (drand48_r): Likewise.
1930         * stdlib/getcontext.c (getcontext): Likewise.
1931         * stdlib/getenv.c (getenv): Likewise.
1932         * stdlib/l64a.c (l64a): Likewise.
1933         * stdlib/llabs.c (llabs): Likewise.
1934         * stdlib/lldiv.c (lldiv): Likewise.
1935         * stdlib/lrand48_r.c (lrand48_r): Likewise.
1936         * stdlib/mrand48_r.c (mrand48_r): Likewise.
1937         * stdlib/putenv.c (putenv): Likewise.
1938         * stdlib/random.c (__srandom): Likewise.
1939         (__initstate): Likewise.
1940         (__setstate): Likewise.
1941         * stdlib/random_r.c (__srandom_r): Likewise.
1942         (__setstate_r): Likewise.
1943         (__random_r): Likewise.
1944         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
1945         * stdlib/setcontext.c (setcontext): Likewise.
1946         * stdlib/setenv.c (setenv): Likewise.
1947         (unsetenv): Likewise.
1948         * stdlib/srand48.c (srand48): Likewise.
1949         * stdlib/srand48_r.c (__srand48_r): Likewise.
1950         * stdlib/swapcontext.c (swapcontext): Likewise.
1951         * stdlib/system.c (__libc_system): Likewise.
1952         * stdlib/tst-strtod.c (expand): Likewise.
1953         * stdlib/tst-strtol.c (expand): Likewise.
1954         * stdlib/tst-strtoll.c (expand): Likewise.
1955         * streams/fattach.c (fattach): Likewise.
1956         * streams/fdetach.c (fdetach): Likewise.
1957         * streams/getmsg.c (getmsg): Likewise.
1958         * streams/isastream.c (isastream): Likewise.
1959         * string/ffs.c (__ffs): Likewise.
1960         * string/ffsll.c (ffsll): Likewise.
1961         * string/memcmp.c (memcmp_common_alignment): Likewise.
1962         (memcmp_not_common_alignment): Likewise.
1963         (MEMCMP): Likewise.
1964         * string/memcpy.c (memcpy): Likewise.
1965         * string/memmove.c (MEMMOVE): Likewise.
1966         * string/memset.c (memset): Likewise.
1967         * string/rawmemchr.c (RAWMEMCHR): Likewise.
1968         * string/strchrnul.c (STRCHRNUL): Likewise.
1969         * string/strerror.c (strerror): Likewise.
1970         * string/strndup.c (__strndup): Likewise.
1971         * string/strverscmp.c (__strverscmp): Likewise.
1972         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
1973         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
1974         (clnttcp_freeres): Likewise.
1975         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
1976         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
1977         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
1978         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
1979         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
1980         (xdr_callhdr): Likewise.
1981         * sunrpc/rpcinfo.c (udpping): Likewise.
1982         (tcpping): Likewise.
1983         (pstatus): Likewise.
1984         (pmapdump): Likewise.
1985         (brdcst): Likewise.
1986         (deletereg): Likewise.
1987         (getprognum): Likewise.
1988         (getvers): Likewise.
1989         (get_inet_address): Likewise.
1990         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
1991         * sunrpc/svc_udp.c (svcudp_create): Likewise.
1992         (svcudp_stat): Likewise.
1993         (svcudp_recv): Likewise.
1994         (svcudp_reply): Likewise.
1995         (svcudp_getargs): Likewise.
1996         (svcudp_freeargs): Likewise.
1997         (svcudp_destroy): Likewise.
1998         * sunrpc/xdr.c (xdr_bytes): Likewise.
1999         (xdr_netobj): Likewise.
2000         (xdr_string): Likewise.
2001         (xdr_wrapstring): Likewise.
2002         * sunrpc/xdr_float.c (xdr_float): Likewise.
2003         (xdr_double): Likewise.
2004         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
2005         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
2006         * sysvipc/ftok.c (ftok): Likewise.
2007         * sysvipc/msgctl.c (msgctl): Likewise.
2008         * sysvipc/msgget.c (msgget): Likewise.
2009         * sysvipc/msgrcv.c (msgrcv): Likewise.
2010         * sysvipc/msgsnd.c (msgsnd): Likewise.
2011         * sysvipc/semget.c (semget): Likewise.
2012         * sysvipc/semop.c (semop): Likewise.
2013         * sysvipc/shmat.c (shmat): Likewise.
2014         * sysvipc/shmctl.c (shmctl): Likewise.
2015         * sysvipc/shmdt.c (shmdt): Likewise.
2016         * sysvipc/shmget.c (shmget): Likewise.
2017         * termios/cfmakeraw.c (cfmakeraw): Likewise.
2018         * termios/speed.c (cfgetospeed): Likewise.
2019         (cfgetispeed): Likewise.
2020         (cfsetospeed): Likewise.
2021         (cfsetispeed): Likewise.
2022         * termios/tcflow.c (tcflow): Likewise.
2023         * termios/tcflush.c (tcflush): Likewise.
2024         * termios/tcgetattr.c (__tcgetattr): Likewise.
2025         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
2026         * termios/tcgetsid.c (tcgetsid): Likewise.
2027         * termios/tcsendbrk.c (tcsendbreak): Likewise.
2028         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
2029         * time/adjtime.c (__adjtime): Likewise.
2030         * time/dysize.c (dysize): Likewise.
2031         * time/ftime.c (ftime): Likewise.
2032         * time/getitimer.c (__getitimer): Likewise.
2033         * time/gettimeofday.c (__gettimeofday): Likewise.
2034         * time/gmtime.c (__gmtime_r): Likewise.
2035         (gmtime): Likewise.
2036         * time/localtime.c (__localtime_r): Likewise.
2037         (localtime): Likewise.
2038         * time/offtime.c (__offtime): Likewise.
2039         * time/settimeofday.c (__settimeofday): Likewise.
2040         * time/stime.c (stime): Likewise.
2041         * time/strftime_l.c (tm_diff): Likewise.
2042         (iso_week_days): Likewise.
2043         * time/strptime.c (strptime): Likewise.
2044         * time/time.c (time): Likewise.
2045         * time/timespec_get.c (timespec_get): Likewise.
2046         * time/tzset.c (tzset_internal): Likewise.
2047         (compute_change): Likewise.
2048         (__tz_compute): Likewise.
2049         * wcsmbs/btowc.c (__btowc): Likewise.
2050         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
2051         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
2052         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
2053         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
2054         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
2055         * wcsmbs/wcscat.c (__wcscat): Likewise.
2056         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2057         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
2058         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
2059         * wcsmbs/wcscspn.c (wcscspn): Likewise.
2060         * wcsmbs/wcsdup.c (wcsdup): Likewise.
2061         * wcsmbs/wcslen.c (__wcslen): Likewise.
2062         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
2063         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
2064         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
2065         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
2066         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2067         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
2068         * wcsmbs/wcsspn.c (wcsspn): Likewise.
2069         * wcsmbs/wcsstr.c (wcsstr): Likewise.
2070         * wcsmbs/wcstok.c (wcstok): Likewise.
2071         * wcsmbs/wctob.c (wctob): Likewise.
2072         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
2073         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2074         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
2075         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
2076         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
2077         * wcsmbs/wmemset.c (__wmemset): Likewise.
2078         * wctype/wcfuncs.c (__towlower): Likewise.
2079         (__towupper): Likewise.
2081         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
2082         (lll_unlock_elision): Add adapt_count parameter.
2084 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
2086         * sysdeps/nptl/configure.ac: Do not give errors based on the
2087         results of top-level configure tests.
2088         * sysdeps/nptl/configure: Regenerated.
2090         * configure.ac (libc_cv_Bgroup): Remove configure test.
2091         * configure: Regenerated.
2092         * config.make.in (have-Bgroup): Remove variable.
2094         * configure.ac (sizeof_long_double): Remove configure test.
2095         * configure: Regenerated.
2096         * config.make.in (sizeof-long-double): Remove variable.
2098         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
2099         * configure: Regenerated.
2100         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
2101         variable.
2102         (exceptions): Likewise.
2103         * sysdeps/arm/configure: Regenerated.
2104         * config.make.in (exceptions): Remove variable.
2105         * Makeconfig (uses-callbacks): Use -fexceptions instead of
2106         $(exceptions).
2107         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
2108         (CFLAGS-vdprintf_chk.c): Likewise.
2109         (CFLAGS-printf_chk.c): Likewise.
2110         (CFLAGS-fprintf_chk.c): Likewise.
2111         (CFLAGS-vprintf_chk.c): Likewise.
2112         (CFLAGS-vfprintf_chk.c): Likewise.
2113         (CFLAGS-gets_chk.c): Likewise.
2114         (CFLAGS-fgets_chk.c): Likewise.
2115         (CFLAGS-fgets_u_chk.c): Likewise.
2116         (CFLAGS-fread_chk.c): Likewise.
2117         (CFLAGS-fread_u_chk.c): Likewise.
2118         (CFLAGS-wprintf_chk.c): Likewise.
2119         (CFLAGS-fwprintf_chk.c): Likewise.
2120         (CFLAGS-vwprintf_chk.c): Likewise.
2121         (CFLAGS-vfwprintf_chk.c): Likewise.
2122         (CFLAGS-fgetws_chk.c): Likewise.
2123         (CFLAGS-fgetws_u_chk.c): Likewise.
2124         * libio/Makefile (CFLAGS-fileops.c): Likewise.
2125         (CFLAGS-fputc.c): Likewise.
2126         (CFLAGS-fputwc.c): Likewise.
2127         (CFLAGS-freopen64.c): Likewise.
2128         (CFLAGS-freopen.c): Likewise.
2129         (CFLAGS-fseek.c): Likewise.
2130         (CFLAGS-fseeko64.c): Likewise.
2131         (CFLAGS-fseeko.c): Likewise.
2132         (CFLAGS-ftello64.c): Likewise.
2133         (CFLAGS-ftello.c): Likewise.
2134         (CFLAGS-fwide.c): Likewise.
2135         (CFLAGS-genops.c): Likewise.
2136         (CFLAGS-getc.c): Likewise.
2137         (CFLAGS-getchar.c): Likewise.
2138         (CFLAGS-getwc.c): Likewise.
2139         (CFLAGS-getwchar.c): Likewise.
2140         (CFLAGS-iofclose.c): Likewise.
2141         (CFLAGS-iofflush.c): Likewise.
2142         (CFLAGS-iofgetpos64.c): Likewise.
2143         (CFLAGS-iofgetpos.c): Likewise.
2144         (CFLAGS-iofgets.c): Likewise.
2145         (CFLAGS-iofgetws.c): Likewise.
2146         (CFLAGS-iofputs.c): Likewise.
2147         (CFLAGS-iofputws.c): Likewise.
2148         (CFLAGS-iofread.c): Likewise.
2149         (CFLAGS-iofsetpos64.c): Likewise.
2150         (CFLAGS-iofsetpos.c): Likewise.
2151         (CFLAGS-ioftell.c): Likewise.
2152         (CFLAGS-iofwrite.c): Likewise.
2153         (CFLAGS-iogetdelim.c): Likewise.
2154         (CFLAGS-iogetline.c): Likewise.
2155         (CFLAGS-iogets.c): Likewise.
2156         (CFLAGS-iogetwline.c): Likewise.
2157         (CFLAGS-ioputs.c): Likewise.
2158         (CFLAGS-ioseekoff.c): Likewise.
2159         (CFLAGS-ioseekpos.c): Likewise.
2160         (CFLAGS-iosetbuffer.c): Likewise.
2161         (CFLAGS-iosetvbuf.c): Likewise.
2162         (CFLAGS-ioungetc.c): Likewise.
2163         (CFLAGS-ioungetwc.c): Likewise.
2164         (CFLAGS-oldfileops.c): Likewise.
2165         (CFLAGS-oldiofclose.c): Likewise.
2166         (CFLAGS-oldiofgetpos64.c): Likewise.
2167         (CFLAGS-oldiofgetpos.c): Likewise.
2168         (CFLAGS-oldiofsetpos64.c): Likewise.
2169         (CFLAGS-oldiofsetpos.c): Likewise.
2170         (CFLAGS-peekc.c): Likewise.
2171         (CFLAGS-putc.c): Likewise.
2172         (CFLAGS-putchar.c): Likewise.
2173         (CFLAGS-putwc.c): Likewise.
2174         (CFLAGS-putwchar.c): Likewise.
2175         (CFLAGS-rewind.c): Likewise.
2176         (CFLAGS-wfileops.c): Likewise.
2177         (CFLAGS-wgenops.c): Likewise.
2178         (CFLAGS-oldiofopen.c): Likewise.
2179         (CFLAGS-iofopen.c): Likewise.
2180         (CFLAGS-iofopen64.c): Likewise.
2181         (CFLAGS-oldtmpfile.c): Likewise.
2182         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
2183         (CFLAGS-fprintf.c): Likewise.
2184         (CFLAGS-printf.c): Likewise.
2185         (CFLAGS-vfwprintf.c): Likewise.
2186         (CFLAGS-vfscanf.c): Likewise.
2187         (CFLAGS-vfwscanf.c): Likewise.
2188         (CFLAGS-fscanf.c): Likewise.
2189         (CFLAGS-scanf.c): Likewise.
2190         (CFLAGS-isoc99_vfscanf.c): Likewise.
2191         (CFLAGS-isoc99_vscanf.c): Likewise.
2192         (CFLAGS-isoc99_fscanf.c): Likewise.
2193         (CFLAGS-isoc99_scanf.c): Likewise.
2194         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
2195         (CFLAGS-isoc99_fwscanf.c): Likewise.
2196         (CFLAGS-isoc99_vwscanf.c): Likewise.
2197         (CFLAGS-isoc99_vfwscanf.c): Likewise.
2199         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
2200         after mkstemp64.
2201         * login/tst-utmp.c (do_prepare): Likewise.
2202         * rt/tst-aio.c (do_prepare): Likewise.
2203         * rt/tst-aio64.c (do_prepare): Likewise.
2205 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2207         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2208         (__lll_lock_elision): Remove adapt_count decrement...
2209         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
2210         (__lll_trylock_elision): Likewise.
2211         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
2212         (__lll_unlock_elision): ... to here. And utilize
2213         new adapt_count parameter.
2214         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
2215         (__lll_unlock_elision): Update to include adapt_count
2216         parameter.
2217         (lll_unlock_elision): Pass pointer to adapt_count
2218         variable.
2220 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2222         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
2223         Add elision adapt_count parameter to list of arguments.
2224         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
2225         (lll_unlock_elision): Update with new parameter list
2226         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
2227         (lll_unlock_elision): Likewise
2228         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
2229         (lll_unlock_elision): Likewise
2231 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
2233         [BZ #19122]
2234         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
2235         attribute_hidden.
2237         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
2238         attribute_hidden.
2239         [IS_IN (rtld)] (__strdup): Likewise.
2240         [IS_IN (rtld)] (__strerror_r): Likewise.
2241         [IS_IN (rtld)] (__strsep_g): Likewise.
2242         [IS_IN (rtld)] (memchr): Likewise.
2243         [IS_IN (rtld)] (memcmp): Likewise.
2244         [IS_IN (rtld)] (memcpy): Likewise.
2245         [IS_IN (rtld)] (memmove): Likewise.
2246         [IS_IN (rtld)] (memset): Likewise.
2247         [IS_IN (rtld)] (rawmemchr): Likewise.
2248         [IS_IN (rtld)] (stpcpy): Likewise.
2249         [IS_IN (rtld)] (strchr): Likewise.
2250         [IS_IN (rtld)] (strcmp): Likewise.
2251         [IS_IN (rtld)] (strlen): Likewise.
2252         [IS_IN (rtld)] (strnlen): Likewise.
2253         [IS_IN (rtld)] (strsep): Likewise.
2255         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
2256         attribute_hidden.
2257         [IS_IN (rtld)] (__strtoul_internal): Likewise.
2259         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
2260         attribute_hidden.
2261         [IS_IN (rtld)] (__libc_sigaction): Likewise.
2263         * include/setjmp.h (__longjmp): Add attribute_hidden.
2264         [IS_IN (rtld)] (__sigsetjmp): Likewise.
2266         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
2267         Add attribute_hidden.
2269         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
2270         [IS_IN (rtld)] (__open): Likewise.
2271         [IS_IN (rtld)] (__fcntl): Likewise.
2273         * include/dirent.h (__opendirat): Add attribute_hidden.
2274         (__getdents): Likewise.
2275         (__getdents64): Likewise.
2276         (__alloc_dir): Likewise.
2277         [IS_IN (rtld)] (__closedir): Likewise.
2278         [IS_IN (rtld)] (__fdopendir): Likewise.
2279         [IS_IN (rtld)] (__readdir): Likewise.
2280         [IS_IN (rtld)] (__readdir64): Likewise.
2281         [IS_IN (rtld)] (__rewinddir): Likewise.
2283         * include/dlfcn.h (_dl_catch_error): Moved to ...
2284         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
2285         attribute_hidden.
2287         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
2288         (_itoa_word): Likewise.
2290         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
2291         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
2292         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
2293         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
2294         (_dl_higher_prime_number): Likewise.
2295         (_dl_debug_printf_c): Likewise.
2296         (_dl_signal_cerror): Likewise.
2297         (_dl_receive_error): Likewise.
2298         (_dl_reloc_bad_type): Likewise.
2299         (_dl_resolve_conflicts): Likewise.
2300         (_dl_check_all_versions): Likewise.
2301         (_dl_check_map_versions): Likewise.
2302         (_dl_sort_fini): Likewise.
2303         (_dl_debug_initialize): Likewise.
2304         (_dl_init_paths): Likewise.
2305         (_dl_show_auxv): Likewise.
2306         (_dl_next_ld_env_entry): Likewise.
2307         (_dl_important_hwcaps): Likewise.
2308         (_dl_load_cache_lookup): Likewise.
2309         (_dl_update_slotinfo): Likewise.
2310         (_dl_show_scope): Likewise.
2312         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
2313         attribute_hidden.
2314         (_wordcopy_fwd_dest_aligned): Likewise.
2315         (_wordcopy_bwd_aligned): Likewise.
2316         (_wordcopy_bwd_dest_aligned): Likewise.
2318         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2319         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
2320         Likewise.
2321         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
2322         Likewise.
2323         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
2325 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
2327         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
2328         GCC 5 requirement.
2330 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
2332         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
2333         test.
2334         * sysdeps/i386/configure: Regenerated.
2335         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
2336         code unconditional.
2338         * configure.ac (libc_cv_asm_previous_directive): Remove configure
2339         test.
2340         (libc_cv_asm_popsection_directive): Likewise.
2341         * configure: Regenerated.
2342         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
2343         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
2344         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
2345         (__make_section_unallocated): Make definition unconditional.
2346         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
2347         Remove conditional definition.
2348         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
2349         (__make_section_unallocated): Likewise.
2351         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
2352         * configure: Regenerated.
2353         * config.make.in (static-libgcc): Remove variable.
2354         * Makerules (build-shlib-helper): Use -static-libgcc instead of
2355         $(static-libgcc).
2356         (build-module-helper): Likewise.
2358         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
2359         * configure: Regenerated.
2361 2015-10-15  Florian Weimer  <fweimer@redhat.com>
2363         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
2364         (struct char_buffer): New type.
2365         (char_buffer_start, char_buffer_size, char_buffer_error)
2366         (char_buffer_rewind, char_buffer_add): New functions.
2367         (ADDW): Remove macro, replaced by the char_buffer_add function.
2368         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
2369         of extend_alloca.  Make control flow more explicit.
2371 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
2373         [BZ #19137]
2374         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
2375         Add -fomit-frame-pointer.
2376         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
2378 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
2380         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
2381         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
2382         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
2383         only if !__GNUC_PREREQ (5,0).
2384         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
2385         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
2386         (INTERNAL_SYSCALL_NCS): Likewise.
2387         (LOADREGS_0): New macro for GCC 5.
2388         (ASMARGS_0): Likewise.
2389         (LOADREGS_1): Likewise.
2390         (ASMARGS_1): Likewise.
2391         (LOADREGS_2): Likewise.
2392         (ASMARGS_2): Likewise.
2393         (LOADREGS_3): Likewise.
2394         (ASMARGS_3): Likewise.
2395         (LOADREGS_4): Likewise.
2396         (ASMARGS_4): Likewise.
2397         (LOADREGS_5): Likewise.
2398         (ASMARGS_5): Likewise.
2399         (LOADREGS_6): Likewise.
2400         (ASMARGS_6): Likewise.
2402 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
2404         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
2405         -fomit-frame-pointer.
2406         (CFLAGS-mmap64.c): Likewise.
2407         (CFLAGS-semtimedop.c): Likewise.
2408         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
2409         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
2410         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2411         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2413 2015-10-15  Florian Weimer  <fweimer@redhat.com>
2415         [BZ #18928]
2416         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
2417         _dl_pointer_guard member.
2418         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
2419         initializer.
2420         (security_init): Always set up pointer guard.
2421         (process_envvars): Do not process LD_POINTER_GUARD.
2423 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
2425         [BZ #19134]
2426         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
2427         (.LC2): Likewise.
2428         (.LC3): Likewise.
2429         (__lround): Do not add 0.5 to integer or out-of-range arguments.
2431 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2433         [BZ #19129]
2434         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
2435         r0 and r1.
2437 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
2439         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
2441 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
2443         * include/stap-probe.h: Fix macro definition formatting.
2445 2015-10-14  Florian Weimer  <fweimer@redhat.com>
2447         [BZ #19074]
2448         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
2449         load and store num_ifs.
2451 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
2453         [BZ #18822]
2454         * sysdeps/unix/sysv/linux/sched_getaffinity.c
2455         (__sched_getaffinity_new): Add libc_hidden_proto and
2456         libc_hidden_def.
2458 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
2460         [BZ #19007]
2461         * scripts/localplt.awk: Also allow GOT references.
2462         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
2463         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
2464         with "+ REL R_386_GLOB_DAT".
2465         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
2466         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
2468 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
2470         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
2471         INLINE_SYSCALL_ERROR_RETURN_VALUE.
2472         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
2473         Likewise.
2474         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
2475         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
2476         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
2477         INTERNAL_SYSCALLINTERNAL_SYSCALL and
2478         INLINE_SYSCALL_ERROR_RETURN_VALUE.
2479         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
2480         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2481         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
2482         Likewise.
2483         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2485 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
2487         [BZ #19125]
2488         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
2489         <math_private.h> and <stdint.h>.
2490         (__llround): Avoid conversions to and from long long int, and
2491         subtractions, where those might raise spurious exceptions.
2492         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
2493         <math_private.h> and <stdint.h>.
2494         (__llroundf): Avoid conversions to and from long long int, and
2495         subtractions, where those might raise spurious exceptions.
2497 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
2499         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
2500         INLINE_SYSCALL_ERROR_RETURN_VALUE.
2501         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
2502         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
2503         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
2504         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
2505         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
2506         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
2507         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
2508         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2509         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2510         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2511         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
2512         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2513         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2514         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
2515         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
2516         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
2517         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
2518         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
2519         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
2520         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
2521         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
2522         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
2523         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
2524         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2525         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
2526         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
2527         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2528         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
2529         (__xstat64_conv): Likewise.
2530         (__xstat32_conv): Likewise.
2532 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
2534         * sysdeps/unix/sysv/linux/sysdep.h: New file.
2535         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
2536         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
2537         <sysdeps/unix/sysv/linux/sysdep.h>.
2538         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2539         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
2540         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
2541         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2542         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2543         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
2544         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
2545         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
2546         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
2547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2549         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2550         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2551         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2552         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2553         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2554         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
2555         (sysdep-dl-routines): Add sysdep.
2556         [$(subdir) == nptl] (libpthread-routines): Likewise.
2557         [$(subdir) == rt] (librt-routines): Likewise.
2558         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
2559         PIC when branching to SYSCALL_ERROR_LABEL.
2560         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
2561         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
2562         <sysdeps/unix/sysv/linux/sysdep.h>.
2563         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
2564         (SYSCALL_ERROR_ERRNO): Removed.
2565         (SYSCALL_ERROR_HANDLER): Changed to empty.
2566         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
2567         (__syscall_error): New prototype.
2568         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
2569         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
2571 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
2573         [BZ #19124]
2574         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
2575         (_dl_runtime_resolve_avx512): Make it a hidden alias of
2576         _dl_runtime_resolve_avx.
2577         (_dl_runtime_profile_avx512): Make it a hidden alias of
2578         _dl_runtime_profile_avx.
2580 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
2582         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
2583         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
2584         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
2585         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
2587         [BZ #16422]
2588         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
2589         New configure test.
2590         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
2591         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
2592         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
2593         <math_private.h> and <stdint.h>.
2594         (__llrint): Avoid conversions to long long int where those might
2595         raise spurious exceptions.
2596         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
2597         <math_private.h> and <stdint.h>.
2598         (__llrintf): Avoid conversions to long long int where those might
2599         raise spurious exceptions.
2601 2015-10-12  Andreas Schwab  <schwab@suse.de>
2603         [BZ #18969]
2604         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
2605         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
2606         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
2607         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
2608         $(gen-locales).
2609         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
2610         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
2611         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
2612         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
2613         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
2614         $(gen-locales).
2615         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
2616         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
2617         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
2618         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
2619         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
2620         ($(objpfx)tst-ftell-active-handler.out)
2621         ($(objpfx)tst-ftell-append.out)
2622         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
2623         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
2624         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
2625         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
2626         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
2627         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
2628         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
2629         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
2630         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
2631         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
2632         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
2633         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
2634         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
2635         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
2636         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
2637         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
2638         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
2639         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
2640         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
2641         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
2642         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
2643         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
2644         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
2645         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
2646         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
2647         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
2648         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
2649         $(gen-locales).
2650         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
2651         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
2652         $(gen-locales).
2653         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
2654         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
2655         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
2656         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
2657         $(gen-locales).
2658         * libio/tst_wprintf2.c (main): Use explicit locale.
2659         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
2661 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2663         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
2664         __msg_sig_post.
2665         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
2667 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
2669         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2670         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2672         * sysdeps/arm/libm-test-ulps: Regenerated.
2674         [BZ #15470]
2675         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
2677         [BZ #16399]
2678         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
2679         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
2680         and <fix-fp-int-convert-overflow.h>.
2681         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
2682         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2683         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
2684         and <fix-fp-int-convert-overflow.h>.
2685         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
2686         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2687         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
2688         <fix-fp-int-convert-overflow.h>.
2689         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
2690         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2691         * sysdeps/ieee754/dbl-64/s_lround.c: Include
2692         <fix-fp-int-convert-overflow.h>.
2693         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
2694         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2695         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
2696         and <fix-fp-int-convert-overflow.h>.
2697         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
2698         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2699         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
2700         <limits.h> and <fix-fp-int-convert-overflow.h>.
2701         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
2702         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2703         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
2704         and <fix-fp-int-convert-overflow.h>.
2705         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
2706         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2707         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
2708         and <fix-fp-int-convert-overflow.h>.
2709         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
2710         FIX_DBL_LLONG_CONVERT_OVERFLOW.
2711         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
2713 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
2715         [BZ #18589]
2716         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
2717         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
2718         $(gen-locales).
2720 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2721             Phil Blundell <pb@pbcl.net>
2723         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
2724         * nptl/tst-cancel26.c: New file.
2725         * nptl/tst-cancel27.c: Likewise.
2727 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
2729         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
2730         __ILP32__ isn't defined.
2731         (lrint): Likewise.
2732         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
2733         (lrintf): Likewise.
2734         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
2735         (lrintl): Likewise.
2736         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
2737         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
2738         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
2740 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2742         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
2743         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
2745         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
2746         file.
2747         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
2748         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
2750 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
2752         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
2753         configure test.
2754         * sysdeps/i386/configure: Regenerated.
2755         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
2756         configure test.
2757         * sysdeps/x86_64/configure: Regenerated.
2758         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
2759         Make code unconditional.
2761         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
2762         test.
2763         * sysdeps/i386/configure: Regenerated.
2764         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
2765         test.
2766         * sysdeps/x86_64/configure: Regenerated.
2767         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
2768         Make code unconditional.
2769         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
2770         Likewise.
2771         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
2772         Likewise.
2773         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2774         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
2775         code unconditional.
2776         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2777         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
2778         code unconditional.
2779         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2780         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
2781         code unconditional.
2782         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
2783         code unconditional.
2784         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2785         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
2786         code unconditional.
2787         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2788         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
2789         code unconditional.
2790         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2791         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
2792         code unconditional.
2793         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2794         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
2795         code unconditional.
2796         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
2797         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
2799         [BZ #19095]
2800         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
2801         mantissa to long int before shifting left.
2803 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
2805         [BZ #19094]
2806         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
2807         <limits.h>.
2808         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2809         when result overflows but exception would not result from cast.
2810         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
2811         <limits.h>.
2812         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2813         when result overflows but exception would not result from cast.
2814         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
2815         <limits.h>.
2816         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2817         when result overflows but exception would not result from cast.
2818         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
2819         <limits.h>.
2820         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2821         when result overflows but exception would not result from cast.
2822         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
2823         <limits.h>.
2824         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
2825         when result overflows but exception would not result from cast.
2826         * math/libm-test.inc (lrint_test_data): Add more tests.
2827         (llrint_test_data): Likewise.
2829 2015-10-08  Roland McGrath  <roland@hack.frob.com>
2831         [BZ #18872]
2832         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
2833         Move out from under [$(run-built-tests) = yes] conditional.
2834         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
2835         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
2837 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
2839         [BZ #18589]
2840         * string/Makefile (tests): Add bug-strcoll2.
2841         (LOCALES): Add cs_CZ.UTF-8.
2842         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
2844         [BZ #18589]
2845         * string/bug-strcoll2.c: New file.
2846         * locale/categories.def: Revert commit
2847         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
2848         * locale/langinfo.h: Likewise.
2849         * locale/localeinfo.h: Likewise.
2850         * locale/C-collate.c: Likewise.
2851         * locale/programs/ld-collate.c (collate_output): Likewise.
2852         * string/strcoll_l.c (STRDIFF): Likewise.
2853         (STRCOLL): Likewise.
2854         * wcsmbs/wcscoll_l.c: Likewise.
2856 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
2858         * math/libm-test.inc (lround_test_data): Do not expect the absence
2859         of "inexact" for some tests with non-integer arguments.
2860         (llround_test_data): Likewise.
2862         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
2863         test.
2864         (libc_cv_cc_sse2avx): Likewise.
2865         * sysdeps/i386/configure: Regenerated.
2866         * sysdeps/i386/i686/multiarch/Makefile
2867         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
2868         [$(subdir) = math].
2869         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
2870         code unconditional.
2871         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
2872         Likewise.
2873         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
2874         Likewise.
2875         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
2876         Likewise.
2877         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
2878         test.
2879         (libc_cv_cc_sse2avx): Likewise.
2880         * sysdeps/x86_64/configure: Regenerated.
2881         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
2882         unconditional.
2883         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
2884         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
2885         unconditional.
2886         (_dl_runtime_profile)
2887         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
2888         conditional code.
2889         * sysdeps/x86_64/fpu/multiarch/Makefile
2890         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
2891         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
2892         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2893         * sysdeps/x86_64/fpu/multiarch/e_exp.c
2894         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2895         * sysdeps/x86_64/fpu/multiarch/e_log.c
2896         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2897         * sysdeps/x86_64/fpu/multiarch/s_atan.c
2898         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2899         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
2900         Likewise.
2901         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
2902         Likewise.
2903         * sysdeps/x86_64/fpu/multiarch/s_sin.c
2904         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2905         * sysdeps/x86_64/fpu/multiarch/s_tan.c
2906         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2907         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
2908         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
2909         (HAVE_SSE2AVX_SUPPORT): Likewise.
2911 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
2913         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
2914         instead of #pragma optimize.
2916 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
2918         [BZ #17195]
2919         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
2920         as is similarly done in systrim and _int_free already.
2922 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2924         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
2926 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
2928         [BZ #19088]
2929         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
2930         <limits.h>.
2931         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
2932         overflows but exception would not result from cast.
2933         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
2934         and <limits.h>.
2935         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
2936         overflows but exception would not result from cast.
2937         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
2938         <limits.h>.
2939         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
2940         overflows but exception would not result from cast.
2941         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
2942         <limits.h>.
2943         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
2944         overflows but exception would not result from cast.
2945         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
2946         <limits.h>.
2947         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
2948         overflows but exception would not result from cast.
2949         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
2950         <limits.h>.
2951         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
2952         overflows but exception would not result from cast.
2953         * math/libm-test.inc (lround_test_data): Add more tests.
2954         (llround_test_data): Likewise.
2956 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
2958         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
2959         (CFLAGS-ialloc.c): Ditto.
2960         (CFLAGS-scheck.c): Ditto.
2962 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
2964         [BZ #19086]
2965         * manual/filesys.texi (Storage Allocation): Fix argument order for
2966         posix_fallocate64.
2968 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
2970         [BZ #19085]
2971         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
2972         exponent below 48 inside case for non-overflowing exponent.
2973         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
2975 2015-10-07  Florian Weimer  <fweimer@redhat.com>
2977         * iconvdata/cp737.h (from_idx): Add const.
2978         * iconvdata/cp775.h (from_idx): Likewise.
2980 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
2982         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
2983         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
2984         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
2986         [BZ #19079]
2987         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
2988         file, conditioned on [!_LP64].
2989         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
2990         [!_LP64] (__lround): Do not define as function or alias.
2991         [!_LP64] (lround): Likewise.
2992         [!_LP64] (__lroundl): Likewise.
2993         [!_LP64] (lroundl): Likewise.
2994         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
2995         macro.
2996         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2997         Likewise.
2999 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
3001         * math/libm-test.inc (lrint_test_data): Add more tests.
3002         (llrint_test_data): Likewise.
3003         (lround_test_data): Likewise.
3004         (llround_test_data): Likewise.
3006         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
3007         (llrint_test_data): Add tests used for lrint.
3009         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
3010         test.
3011         * sysdeps/i386/configure: Regenerated.
3012         * sysdeps/i386/i686/multiarch/Makefile
3013         [$(config-cflags-sse4) = yes]: Make code unconditional.
3014         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
3015         Likewise.
3016         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
3017         Likewise.
3018         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
3019         test.
3020         * sysdeps/x86_64/configure: Regenerated.
3021         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
3022         Make code unconditional.
3023         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
3024         Likewise.
3025         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
3026         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
3028         * scripts/rpm2dynsym.sh: Remove file.
3030 2015-10-06  Florian Weimer  <fweimer@redhat.com>
3032         * configure.ac (libc_cv_cxx_thread_local): Define.
3033         * configure: Regenerate.
3034         * config.make.in (have-cxx-thread_local): Define.
3035         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
3036         (LDLIBS-tst-thread_local1): Define.
3037         (tests): Add tst-thread_local1.
3038         [have-cxx-thread_local != yes] (tests-unsupported): Add
3039         tst-thread_local1.
3040         * nptl/tst-thread_local1.cc: New file.
3042 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
3044         [BZ #19078]
3045         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
3046         (u_thres): Likewise.
3047         (__expl): Determine whether to call __kernel_standard_l based on
3048         value of result, not argument.
3050         * math/libm-test.inc (scalb_test_data): Add more expectations for
3051         the "inexact" exception.
3053         [BZ #19077]
3054         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
3055         0.0L for argument 1.0L.
3057         [BZ #19076]
3058         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
3059         constant 0.0L when computing infinite result.
3061 2015-10-06  Florian Weimer  <fweimer@redhat.com>
3063         [BZ #10432]
3064         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
3065         malloc_usable_size.
3067 2015-10-06  Florian Weimer  <fweimer@redhat.com>
3069         [BZ #19018]
3070         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
3071         Mangle function pointer before storing it.
3072         (__call_tls_dtors): Demangle function pointer before calling it.
3074 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
3076         [BZ #19012]
3077         * iconv/gconv_db.c (gen_steps): Check for additional errors.
3078         Clean up on failure.
3080 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
3082         [BZ #19071]
3083         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
3084         long int variable to store possibly incremented high part of
3085         mantissa.
3086         * math/libm-test.inc (lround_test_data): Add tests used for
3087         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
3088         for tests requiring 64-bit long.  Do not condition tests on
3089         [TEST_FLOAT] unnecessarily.
3090         (llround_test_data): Add tests used for lround.  Add another
3091         expectation for the "inexact" exception.  Do not condition tests
3092         on [TEST_FLOAT] unnecessarily.
3094         [BZ #887]
3095         [BZ #19049]
3096         [BZ #19050]
3097         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
3098         * sysdeps/ieee754/dbl-64/e_log10.c: Include
3099         <fix-int-fp-convert-zero.h>.
3100         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3101         * sysdeps/ieee754/dbl-64/e_log2.c: Include
3102         <fix-int-fp-convert-zero.h>.
3103         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3104         * sysdeps/ieee754/dbl-64/s_erf.c: Include
3105         <fix-int-fp-convert-zero.h>.
3106         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3107         * sysdeps/ieee754/dbl-64/s_logb.c: Include
3108         <fix-int-fp-convert-zero.h>.
3109         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3110         * sysdeps/ieee754/flt-32/e_log10f.c: Include
3111         <fix-int-fp-convert-zero.h>.
3112         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3113         * sysdeps/ieee754/flt-32/e_log2f.c: Include
3114         <fix-int-fp-convert-zero.h>.
3115         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3116         * sysdeps/ieee754/flt-32/s_erff.c: Include
3117         <fix-int-fp-convert-zero.h>.
3118         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3119         * sysdeps/ieee754/flt-32/s_logbf.c: Include
3120         <fix-int-fp-convert-zero.h>.
3121         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3122         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
3123         <fix-int-fp-convert-zero.h>.
3124         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3125         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
3126         <fix-int-fp-convert-zero.h>.
3127         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3128         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
3129         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
3130         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
3131         file.
3132         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
3134 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
3136         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3138 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
3140         [BZ #19059]
3141         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
3142         overflowing computation.
3143         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3144         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
3145         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3146         Likewise.
3147         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3148         Likewise.
3149         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
3150         Likewise.
3151         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3152         Likewise.
3153         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3154         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3155         Likewise.
3156         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3157         Likewise.
3158         * math/libm-test.inc (nexttoward_test_data): Add more tests.
3160         * nss/rewrite_field.c (__nss_rewrite_field): Use
3161         internal_function.
3162         * nss/valid_field.c (__nss_valid_field): Likewise.
3163         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
3165 2015-10-02  Florian Weimer  <fweimer@redhat.com>
3167         [BZ #18724]
3168         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
3169         (__nss_invalid_field_characters, __nss_valid_field)
3170         (__nss_valid_list_field, __nss_rewrite_field): Declare.
3171         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
3172         tst-field.c: New file.
3173         * nss/Makefile (routines): Add valid_field, rewrite_field.
3174         (tests-static): Define unconditionally.
3175         (tests): Include tests-static.
3176         [build-static-nss] (tests-static): Use append.
3177         [build-static-nss] (tests): Remove modification.
3178         * nss/getent.c (print_group): Call putgrent.  Report error.
3179         (print_gshadow): Call putsgent.  Report error.
3180         (print_passwd): Call putpwent.  Report error.
3181         (print_shadow): Call putspent.  Report error.
3182         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
3183         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
3184         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
3185         name, password, directory, shell fields for valid syntax.  Rewrite
3186         GECOS field to match syntax.
3187         * pwd/Makefile (tests): Add tst-putpwent.
3188         * pwd/tst-putpwent.c: New file.
3189         * grp/putgrent.c (putgrent): Convert to ISO function definition.
3190         Check grName, grpasswd, gr_mem fields for valid syntax.
3191         Change loop variable i to size_t.
3192         * grp/Makefile (tests): Add tst-putgrent.
3193         * grp/tst-putgrent.c: New file.
3194         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
3195         valid syntax.
3196         * shadow/Makefile (tests): Add tst-putspent.
3197         * shadow/tst-putspent.c: New file.
3198         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
3199         sg_mem fields for valid syntax.
3200         * gshadow/Makefile (tests): Add tst-putsgent.
3201         * gshadow/tst-putsgent.c: New file.
3203 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3205         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
3206         assembly instructions.
3208 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3210         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
3211         prefix from operands.
3213 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
3215         [BZ #16347]
3216         [BZ #19046]
3217         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
3218         <libc-internal.h>.
3219         (MAXLGM): Do not use diagnostic control macros.
3220         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
3221         threshold for ldbl-128ibm.
3222         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
3223         instead of multiplying by log then subtracting.
3224         * math/auto-libm-test-in: Add more tests of lgamma.
3225         * math/auto-libm-test-out: Regenerated.
3227         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
3228         (TYPE_HEX_DIG): Likewise.
3229         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
3230         precisions when printing floating-point numbers.
3231         (check_float_internal): Likewise.
3233 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
3235         [BZ #16620]
3236         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
3237         of log (10) rounded downward to 48 bits.
3238         (log10_low): Use corresponding low part of log (10).
3240         [BZ #19032]
3241         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
3242         compute result as (x - x) / (x - x) not as 0 / 0.
3243         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3244         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
3246         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
3247         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
3248         and expm1.
3249         * math/auto-libm-test-out: Regenerated.
3250         * math/libm-test.inc (acos_test_data): Add more tests.
3251         (asin_test_data): Likewise.
3252         (asinh_test_data): Likewise.
3253         (atan_test_data): Likewise.
3254         (atanh_test_data): Likewise.
3255         (atan2_test_data): Likewise.
3256         (cbrt_test_data): Likewise.
3257         (ceil_test_data): Likewise.
3258         (copysign_test_data): Likewise.
3259         (cos_test_data): Likewise.
3260         (cosh_test_data): Likewise.
3261         (erf_test_data): Likewise.
3262         (erfc_test_data): Likewise.
3263         (exp_test_data): Likewise.
3264         (exp10_test_data): Likewise.
3265         (exp2_test_data): Likewise.
3266         (expm1_test_data): Likewise.
3267         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3269 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
3271         [BZ #19006]
3272         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
3273         to ...
3274         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
3275         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
3276         to ...
3277         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
3278         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
3279         to ...
3280         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
3281         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
3282         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
3283         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
3284         to ...
3285         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
3286         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3287         Moved to ...
3288         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
3289         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3290         Moved to ...
3291         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
3292         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
3293         to ...
3294         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
3295         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3296         Moved to ...
3297         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
3298         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
3299         to ...
3300         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
3301         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
3302         Removed.
3303         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
3304         Likewise.
3305         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
3306         Likewise.
3307         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
3308         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
3309         Likewise.
3310         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3311         Likewise.
3312         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3313         Likewise.
3314         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3315         Likewise.
3316         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3317         Likewise.
3318         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
3319         Likewise.
3320         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
3321         Likewise.
3322         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
3323         Likewise.
3324         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
3325         Likewise.
3326         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
3327         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
3328         Likewise.
3329         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3330         Likewise.
3331         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3332         Likewise.
3333         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3334         Likewise.
3335         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
3336         Likewise.
3337         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3338         Replace ../i486/pthread_cond_timedwait.S with
3339         ../pthread_cond_timedwait.S.
3341 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
3343         * math/libm-test.inc (acos_test_data): Refine expectations for
3344         errno and "inexact" exceptions.
3345         (acosh_test_data): Likewise.
3346         (asin_test_data): Likewise.
3347         (asinh_test_data): Likewise.
3348         (atan_test_data): Likewise.
3349         (atanh_test_data): Likewise.
3350         (atan2_test_data): Likewise.
3351         (cbrt_test_data): Likewise.
3352         (ceil_test_data): Likewise.
3353         (copysign_test_data): Likewise.
3354         (cosh_test_data): Likewise.
3355         (erf_test_data): Likewise.
3356         (erfc_test_data): Likewise.
3357         (exp_test_data): Likewise.
3358         (exp10_test_data): Likewise.
3359         (exp2_test_data): Likewise.
3360         (expm1_test_data): Likewise.
3361         (fabs_test_data): Likewise.
3362         (floor_test_data): Likewise.
3363         (fma_test_data): Likewise.
3364         (fmax_test_data): Likewise.
3365         (fmin_test_data): Likewise.
3366         (fmod_test_data): Likewise.
3367         (fpclassify_test_data): Likewise.
3368         (frexp_test_data): Likewise.
3369         (hypot_test_data): Likewise.
3370         (ilogb_test_data): Likewise.
3371         (isgreater_test_data): Likewise.
3372         (isgreaterequal_test_data): Likewise.
3373         (isinf_test_data): Likewise.
3374         (isless_test_data): Likewise.
3375         (islessequal_test_data): Likewise.
3376         (islessgreater_test_data): Likewise.
3377         (isnan_test_data): Likewise.
3378         (isnormal_test_data): Likewise.
3379         (issignaling_test_data): Likewise.
3380         (isunordered_test_data): Likewise.
3381         (j0_test_data): Likewise.
3382         (j1_test_data): Likewise.
3383         (jn_test_data): Likewise.
3384         (lgamma_test_data): Likewise.
3385         (lrint_test_data): Likewise.
3386         (llrint_test_data): Likewise.
3387         (log_test_data): Likewise.
3388         (log10_test_data): Likewise.
3389         (log1p_test_data): Likewise.
3390         (log2_test_data): Likewise.
3391         (logb_test_data): Likewise.
3392         (lround_test_data): Likewise.
3393         (llround_test_data): Likewise.
3394         (modf_test_data): Likewise.
3395         (nearbyint_test_data): Likewise.
3396         (nextafter_test_data): Likewise.
3397         (nexttoward_test_data): Likewise.
3398         (pow_test_data): Likewise.
3399         (remainder_test_data): Likewise.
3400         (remquo_test_data): Likewise.
3401         (rint_test_data): Likewise.
3402         (round_test_data): Likewise.
3403         (signbit_test_data): Likewise.
3404         (sinh_test_data): Likewise.
3405         (sqrt_test_data): Likewise.
3406         (tanh_test_data): Likewise.
3407         (tgamma_test_data): Likewise.
3408         (trunc_test_data): Likewise.
3409         (y0_test_data): Likewise.
3410         (y1_test_data): Likewise.
3411         (yn_test_data): Likewise.
3412         (significand_test_data): Likewise.
3414 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
3416         * manual/filesys.texi (Storage Allocation): Document that
3417         posix_fallocate emulation fails when fd is open with O_WRONLY.
3419 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
3421         [BZ #19016]
3422         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
3423         allow more cases with X^2 + Y^2 >= 0.5.
3424         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
3425         normal element in sum instead of special-casing based on values of
3426         arguments.
3427         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
3428         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
3429         -1 as normal element in sum instead of special-casing based on
3430         values of arguments.
3431         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
3432         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
3433         (__x2y2m1): Update comment.
3434         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
3435         as normal element in sum instead of special-casing based on values
3436         of arguments.
3437         * math/s_clog.c (__clog): Handle more cases using log1p without
3438         hypot.
3439         * math/s_clog10.c (__clog10): Likewise.
3440         * math/s_clog10f.c (__clog10f): Likewise.
3441         * math/s_clog10l.c (__clog10l): Likewise.
3442         * math/s_clogf.c (__clogf): Likewise.
3443         * math/s_clogl.c (__clogl): Likewise.
3444         * math/auto-libm-test-in: Add more tests of clog and clog10.
3445         * math/auto-libm-test-out: Regenerated.
3446         * sysdeps/i386/fpu/libm-test-ulps: Update.
3447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3449 2015-09-28  Martin Sebor  <msebor@redhat.com>
3451         [BZ #18969]
3452         * string/Makefile (LOCALES): Define.
3453         (gen-locales.mk): Include.
3454         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
3455         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
3456         * string/tst-strxfrm2.c (do_test): Print the name of the locale
3457         on setlocale failure.
3459 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
3461         [BZ #18985]
3462         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
3463         (__strftime_internal): Likewise.
3464         * time/tst-strftime.c (do_bz18985): New test.
3465         (do_test): Call it.
3467 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
3469         [BZ #18956]
3470         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
3471         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
3472         extracting high part.
3473         * math/auto-libm-test-in: Add another test of pow.
3474         * math/auto-libm-test-out: Regenerated.
3475         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3477 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
3479         [BZ #18825]
3480         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
3481         New macro.
3482         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
3483         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
3484         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
3485         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
3486         DBL_NARROW_EVAL, reloading the PIC register as needed.
3487         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
3488         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
3489         FLT_NARROW_EVAL.  Use separate return path for case when first
3490         argument is NaN.
3491         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
3492         DEFINE_LDBL_MIN.
3493         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
3494         PIC register.
3495         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
3496         math_check_force_underflow_nonneg.
3497         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
3498         underflow for subnormal result.
3499         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
3500         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
3501         math_check_force_underflow_nonneg.
3502         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
3503         math_check_force_underflow.
3504         * sysdeps/x86_64/fpu/x86_64-math-asm.h
3505         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
3506         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
3507         DEFINE_LDBL_MIN.
3508         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
3509         * math/auto-libm-test-in: Add more tests of pow.
3510         * math/auto-libm-test-out: Regenerated.
3512 2015-09-25  Florian Weimer  <fweimer@redhat.com>
3514         * nss/bug17079.c (init_test_items): Add diagnostic for
3515         inconsistent entries.
3516         (test_buffer_size): Skip inconsistent entries.
3518 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
3520         [BZ #13304]
3521         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
3522         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
3523         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
3525         [BZ #13304]
3526         * sysdeps/microblaze/s_fma.c: New file.
3527         * sysdeps/microblaze/s_fmaf.c: Likewise.
3528         * sysdeps/microblaze/sfp-machine.h: Likewise.
3530 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
3532         [BZ #17250]
3533         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
3534         member.
3536 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
3538         [BZ #18803]
3539         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
3540         (MO): New macro.
3541         (__ieee754_hypot) [PIC]: Load PIC register.
3542         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
3543         DBL_NARROW_EVAL.
3544         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
3545         math_check_force_underflow_nonneg in case where result might be
3546         tiny.
3547         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
3548         Likewise.
3549         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3550         Likewise.
3551         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
3552         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
3553         * math/auto-libm-test-in: Add more tests of hypot.
3554         * math/auto-libm-test-out: Regenerated.
3556 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
3558         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
3560 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
3562         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
3563         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
3564         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
3565         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
3566         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
3567         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
3568         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
3570         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
3571         LOAD_PIC_REG.
3573         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
3574         (FLT_CHECK_FORCE_UFLOW): Likewise.
3575         (DBL_CHECK_FORCE_UFLOW): Likewise.
3576         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
3577         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
3578         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
3579         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
3580         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
3581         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
3582         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
3583         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
3584         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
3585         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3586         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
3587         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
3588         (flt_min): Replace with use of DEFINE_FLT_MIN.
3589         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
3590         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
3591         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3592         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
3593         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
3594         (flt_min): Replace with use of DEFINE_FLT_MIN.
3595         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
3596         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
3597         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3598         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
3599         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
3600         (flt_min): Replace with use of DEFINE_FLT_MIN.
3601         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
3602         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
3603         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
3604         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
3605         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
3606         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
3607         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
3608         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
3609         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3610         (__atan): Use DBL_CHECK_FORCE_UFLOW.
3611         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
3612         (flt_min): Replace with use of DEFINE_FLT_MIN.
3613         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
3614         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
3615         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3616         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
3617         main computation.
3618         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
3619         (flt_min): Replace with use of DEFINE_FLT_MIN.
3620         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
3621         main computation.
3622         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
3623         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3624         (MO): New macro.
3625         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
3626         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
3627         (flt_min): Replace with use of DEFINE_FLT_MIN.
3628         (MO): New macro.
3629         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
3630         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
3631         (__log1pl): Use MO.
3633         [BZ #19003]
3634         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
3635         $(config-cflags-nofma).
3637 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3639         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3641 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
3643         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
3644         (TWO127): Likewise.
3646         * sysdeps/generic/math_private.h (fabs_tg): New macro.
3647         (min_of_type): Likewise.
3648         (math_check_force_underflow): Likewise.
3649         (math_check_force_underflow_nonneg): Likewise.
3650         (math_check_force_underflow_complex): Likewise.
3651         * math/e_exp2l.c (__ieee754_exp2l): Use
3652         math_check_force_underflow_nonneg.
3653         * math/k_casinh.c (__kernel_casinh): Likewise.
3654         * math/k_casinhf.c (__kernel_casinhf): Likewise.
3655         * math/k_casinhl.c (__kernel_casinhl): Likewise.
3656         * math/s_catan.c (__catan): Use
3657         math_check_force_underflow_complex.
3658         * math/s_catanf.c (__catanf): Likewise.
3659         * math/s_catanh.c (__catanh): Likewise.
3660         * math/s_catanhf.c (__catanhf): Likewise.
3661         * math/s_catanhl.c (__catanhl): Likewise.
3662         * math/s_catanl.c (__catanl): Likewise.
3663         * math/s_ccosh.c (__ccosh): Likewise.
3664         * math/s_ccoshf.c (__ccoshf): Likewise.
3665         * math/s_ccoshl.c (__ccoshl): Likewise.
3666         * math/s_cexp.c (__cexp): Likewise.
3667         * math/s_cexpf.c (__cexpf): Likewise.
3668         * math/s_cexpl.c (__cexpl): Likewise.
3669         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
3670         * math/s_clog10.c (__clog10): Likewise.
3671         * math/s_clog10f.c (__clog10f): Likewise.
3672         * math/s_clog10l.c (__clog10l): Likewise.
3673         * math/s_clogf.c (__clogf): Likewise.
3674         * math/s_clogl.c (__clogl): Likewise.
3675         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
3676         * math/s_csinf.c (__csinf): Likewise.
3677         * math/s_csinh.c (__csinh): Likewise.
3678         * math/s_csinhf.c (__csinhf): Likewise.
3679         * math/s_csinhl.c (__csinhl): Likewise.
3680         * math/s_csinl.c (__csinl): Likewise.
3681         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
3682         * math/s_csqrtf.c (__csqrtf): Likewise.
3683         * math/s_csqrtl.c (__csqrtl): Likewise.
3684         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
3685         * math/s_ctanf.c (__ctanf): Likewise.
3686         * math/s_ctanh.c (__ctanh): Likewise.
3687         * math/s_ctanhf.c (__ctanhf): Likewise.
3688         * math/s_ctanhl.c (__ctanhl): Likewise.
3689         * math/s_ctanl.c (__ctanl): Likewise.
3690         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
3691         instead of volatile.
3692         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
3693         math_check_force_underflow.
3694         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3695         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
3696         volatile when forcing underflow.
3697         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3698         math_check_force_underflow_nonneg.
3699         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
3700         Likewise.
3701         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
3702         math_check_force_underflow.
3703         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3704         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3705         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3706         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
3707         math_check_force_underflow_nonneg.
3708         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
3709         math_check_force_underflow.
3710         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
3711         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
3712         instead of volatile.
3713         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
3714         math_check_force_underflow.
3715         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
3716         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3717         math_check_force_underflow_nonneg.
3718         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
3719         math_check_force_underflow.
3720         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
3721         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3722         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
3723         math_check_force_underflow_nonneg.
3724         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
3725         Likewise.
3726         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
3727         math_check_force_underflow.
3728         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3729         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
3730         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
3731         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
3732         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
3733         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
3734         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
3735         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
3736         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3737         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
3738         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
3739         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
3740         Likewise.
3741         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
3742         math_check_force_underflow_nonneg.
3743         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
3744         Likewise.
3745         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
3746         math_check_force_underflow.
3747         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3748         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
3749         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3750         Likewise.
3751         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
3752         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
3753         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
3754         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
3755         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
3756         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
3757         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
3758         instead of volatile.
3759         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
3760         math_check_force_underflow.
3761         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
3762         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
3763         math_check_force_underflow.
3764         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
3765         Likewise.
3766         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3767         Use math_check_force_underflow_nonneg.
3768         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
3769         math_check_force_underflow.
3770         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
3771         Likewise.
3772         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3773         Likewise.
3774         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3775         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3776         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
3777         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
3778         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
3779         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3780         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
3781         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
3782         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
3783         math_check_force_underflow_nonneg.
3784         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
3785         math_check_force_underflow.
3786         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3787         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
3788         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
3789         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
3790         math_check_force_underflow_nonneg.
3791         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
3792         math_check_force_underflow.
3793         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
3794         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
3795         instead of volatile.
3796         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
3797         math_check_force_underflow.
3799         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
3800         * stdlib/strtod_l.c: Include <math_private.h>.
3801         (overflow_value): Use math_narrow_eval.
3802         (underflow_value): Likewise.
3803         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3804         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
3805         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
3806         (__ieee754_gamma_r): Likewise.
3807         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
3808         Likewise.
3809         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
3810         Likewise.
3811         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
3812         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
3813         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
3814         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
3815         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
3816         (__ieee754_gammaf_r): Likewise.
3817         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
3818         Likewise.
3819         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
3820         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
3821         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
3822         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
3823         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
3824         volatile.
3825         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
3826         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
3827         math_narrow_eval.
3828         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
3829         Likewise.
3830         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3831         Likewise.
3832         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
3833         Likewise.
3834         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
3835         volatile.
3836         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
3837         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
3838         math_narrow_eval.
3839         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3840         Likewise.
3841         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3842         Likewise.
3844 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
3846         * nptl/Versions: Remove ignored symbols.
3848 2015-09-22  Florian Weimer  <fweimer@redhat.com>
3850         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
3851         * nss/Makefile (tests): Update.
3853 2015-09-22  Florian Weimer  <fweimer@redhat.com>
3855         * nss/bug18287.c: New file.
3856         * nss/Makefile (tests): Add bug18287.
3858 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3860         * mach/Versions (__mach_host_self_): Add symbol.
3862 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3864         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
3865         vm_page_size.
3867 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3869         Really fix sysdeps/i386/fpu/s_scalbn.S build
3871         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
3872         (libc: GLIBC_2_22): Remove unused version set.
3874 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
3876         * config.make.in (enable-timezone-tools): New variable.
3877         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
3878         (enable_timezone_tools): Export to generated files.
3879         * configure: Regenerate.
3880         * INSTALL: Regenerate.
3881         * manual/install.texi (--disable-timezone-tools): Document new flag.
3882         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
3883         ifeq ($(enable-timezone-tools),yes) check.
3885 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
3887         * timezone/Makefile: Revert previous change.
3889         [BZ #18980]
3890         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
3891         (DEFINE_DBL_MIN): Likewise.
3892         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
3893         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
3894         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
3895         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
3896         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
3897         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3898         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
3899         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
3900         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
3901         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3902         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
3903         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
3904         (flt_min): Replace with use of DEFINE_FLT_MIN.
3905         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
3906         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
3907         (dbl_min): Replace with use of DEFINE_DBL_MIN.
3908         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
3909         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
3910         (flt_min): Replace with use of DEFINE_FLT_MIN.
3911         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
3912         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
3913         (flt_min): Replace with use of DEFINE_FLT_MIN.
3914         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
3915         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
3916         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
3917         (__ieee754_hypot): Use DBL_NARROW_EVAL.
3918         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
3919         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
3920         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
3921         (__ieee754_pow): Use DBL_NARROW_EVAL.
3922         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
3923         (__ieee754_powf): Use FLT_NARROW_EVAL.
3924         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
3925         (__ieee754_expf_sse2): Convert double-precision result to single
3926         precision.
3927         * sysdeps/i386/fpu/libm-test-ulps: Update.
3929 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3931         * timezone/Makefile: Ignore unused variable errors due to private.h
3932         (time_t_min) and (time_t_max).
3933         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
3934         Likewise.
3936 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
3938         [BZ #18981]
3939         * sysdeps/i386/fpu/i386-math-asm.h: New file.
3940         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
3941         (__ieee754_scalb): Use DBL_NARROW_EVAL.
3942         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
3943         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
3944         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
3945         (__scalbn): Use DBL_NARROW_EVAL.
3946         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
3947         (__scalbnf): Use FLT_NARROW_EVAL.
3949 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3951         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
3952         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
3953         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
3954         * stdio-common/printf_fp.c (___printf_fp):
3955         Use signbit to get the sign. Use isinf macro to allow inlining.
3956         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
3957         * stdio-common/printf_size.c (__printf_size): Likewise.
3959 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
3961         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
3963 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
3965         [BZ #18980]
3966         * sysdeps/generic/math_private.h: Include <float.h>.
3967         (math_narrow_eval): New macro.
3968         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
3969         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
3970         math_narrow_eval on overflowing return value.
3971         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
3972         Likewise.
3973         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3974         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
3975         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
3976         Likewise.
3977         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
3979 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
3981         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
3982         * math/Makefile: Remove isinf_ns.c.
3983         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
3984         * math/multc3.c (__multc3): Likewise.
3985         * math/s_casin.c (__casin): Likewise.
3986         * math/s_casinf.c (__casinf): Likewise.
3987         * math/s_casinl.c (__casinl): Likewise.
3988         * math/s_cproj.c (__cproj): Likewise.
3989         * math/s_cprojf.c (__cprojf): Likewise.
3990         * math/s_cprojl.c (__cprofl): Likewise.
3991         * math/s_ctan.c (__ctan): Likewise.
3992         * math/s_ctanf.c (__ctanf): Likewise.
3993         * math/s_ctanh.c (__ctanh): Likewise.
3994         * math/s_ctanhf.c (__ctanhf): Likewise.
3995         * math/s_ctanhl.c (__ctanhl): Likewise.
3996         * math/s_ctanl.c (__ctanl): Likewise.
3997         * math/w_fmod.c (__fmod): Likewise.
3998         * math/w_fmodf.c (__fmodf): Likewise.
3999         * math/w_fmodl.c (_fmodl): Likewise.
4000         * math/w_remainder.c (__remainder): Likewise.
4001         * math/w_remainderf.c (__remainderf): Likewise.
4002         * math/w_remainderl.c (__remainderl): Likewise.
4003         * math/w_scalb.c (__scalb): Likewise.
4004         * math/w_scalbf.c (__scalbf): Likewise.
4005         * math/w_scalbl.c (__scalbl): Likewise.
4006         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
4007         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
4008         with isinf.
4009         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
4010         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
4011         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
4012         __isinf_nsf with isinf.
4013         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
4014         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
4015         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
4016         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
4017         with isinf.
4018         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
4019         __isinf_nsl with isinf.
4020         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
4021         with isinf.
4022         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
4023         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
4024         __isinf_nsl with isinf.
4025         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
4026         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
4027         with isinf.
4029 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4031         * resolv/base64.c (rcsid): Remove unused static.
4032         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
4033         static.  (tqpi1): Likewise.
4034         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
4035         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
4036         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
4037         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
4038         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
4039         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
4040         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
4041         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
4042         Likewise.
4044 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
4046         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
4047         <nptl/pthreadP.h>.
4048         (_longjmp_unwind): Use __libc_ptf_call.
4049         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
4051 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
4053         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
4054         * sysdeps/arm/__longjmp.S: Likewise
4056 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4058         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
4059         Use __builtin_signbit.
4060         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
4061         Use __builtin_signbitf.
4062         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
4063         Use __builtin_signbitl.
4064         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4065         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
4067 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4069         [BZ #15367]
4070         [BZ #17441]
4072         * math/Makefile: Build test-snan.c with -fsignaling-nans.
4073         * math/math.h (fpclassify): Use __builtin_fpclassify when
4074         available.  (signbit): Use __builtin_signbit(f/l).
4075         (isfinite): Use__builtin_isfinite.  (isnormal): Use
4076         __builtin_isnormal.  (isnan): Use __builtin_isnan.
4077         (isinf): Use __builtin_isinf_sign.
4079 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4081         * benchtests/Makefile: Add bench-math-inlines, link with libm.
4082         * benchtests/bench-math-inlines.c: New benchmark.
4083         * benchtests/bench-util.h: New file.
4084         * benchtests/bench-util.c: New file.
4085         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
4087 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
4089         * elf/tst-dlmopen1.c: Define TEST_SO.
4090         (do_test): Use TEST_SO.
4092         * elf/dl-load.c: Include libc-internal.h.
4093         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
4095 2015-09-18  Vincent Bernat  <vincent@bernat.im>
4097         [BZ #17887]
4098         * time/strptime_l.c (__strptime_internal): Make %z accept
4099         [+-]HH:MM time zones.
4101 2015-09-18  Vincent Bernat  <vincent@bernat.im>
4103         [BZ #17886]
4104         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
4105         valid time zone.
4107 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
4109         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
4110         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
4111         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4112         (__ASSUME_FDATASYNC): Delete.
4114 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
4116         * conform/linknamespace.pl: Require weak undefined symbols to be
4117         in the standard namespace.
4118         (%strong_syms): Rename to %seen_syms.
4119         (%strong_seen): Rename to %seen_where.
4121 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
4123         [BZ #18970]
4124         * misc/error.c (error): Replace pthread_setcancelstate with
4125         __pthread_setcancelstate.
4126         (error_at_line): Likewise.
4127         * posix/wordexp.c (parse_comm): Likewise.
4128         * stdlib/fmtmsg.c (fmtmsg): Likewise.
4129         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
4130         (__pthread_setcancelstate): This.
4131         (pthread_setcancelstate): Add an alias.
4132         * nptl/nptl-init.c (pthread_functions): Replace
4133         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
4134         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
4135         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
4136         hidden_proto.
4137         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
4138         it with hidden_def.
4139         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
4140         (pthread_setcancelstate): Renamed to ...
4141         (__pthread_setcancelstate): This.
4142         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
4143         __libc_ptf_call with __pthread_setcancelstate.
4145 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
4146             Andreas Schwab  <schwab@suse.de>
4148         [BZ #17118]
4149         * math/s_ctan.c (__ctan): Determine sign of zero real part of
4150         result when imaginary part of argument is infinite using sine and
4151         cosine.
4152         * math/s_ctanf.c (__ctanf): Likewise.
4153         * math/s_ctanl.c (__ctanl): Likewise.
4154         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
4155         of result when real part of argument is infinite using sine and
4156         cosine.
4157         * math/s_ctanhf.c (__ctanhf): Likewise.
4158         * math/s_ctanhl.c (__ctanhl): Likewise.
4159         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
4160         (ctanh_test_data): Add more tests of ctanh.
4162 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
4164         [BZ #15384]
4165         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
4166         bit-mask as in subtraction.
4167         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
4168         Likewise.
4169         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
4170         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
4171         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
4173         [BZ #18951]
4174         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
4175         underflow exception for small results.
4176         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4177         Likewise.
4178         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4179         Likewise.
4180         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4181         Likewise.
4182         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4183         Likewise.
4184         * math/auto-libm-test-in: Add more tests of tgamma.
4185         * math/auto-libm-test-out: Regenerated.
4187 2015-09-17  Andreas Schwab  <schwab@suse.de>
4189         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
4191 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
4193         [BZ #18977]
4194         * math/bits/mathcalls.h
4195         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
4196         not declare.
4197         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
4198         Likewise.
4199         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
4200         Likewise.
4201         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
4202         Likewise.
4203         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
4204         Likewise.
4205         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
4206         Likewise.
4207         * conform/data/math.h-data
4208         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
4209         function.
4210         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
4211         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
4212         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
4213         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
4214         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
4215         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
4216         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
4217         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
4218         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
4219         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
4220         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
4222         [BZ #6803]
4223         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
4224         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
4225         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
4226         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
4227         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
4228         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
4229         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
4230         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
4231         [NO_LONG_DOUBLE] (scalbnl): Likewise.
4232         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
4233         Likewise.
4234         [NO_LONG_DOUBLE] (scalbnl): Likewise.
4235         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
4236         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
4237         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
4238         long_double_symbol calls.
4239         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
4240         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
4241         strong alias of __ldexpl.
4242         (scalbnl): Define using long_double_symbol.
4243         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
4244         Remove alias.
4245         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
4246         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
4247         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
4248         (scalbln_test_data): Add more errno expectations.
4250 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
4252         Cache the host port like we cache the task port.  This way we do not
4253         need to call the kernel just to get the port.  Furthermore, we no
4254         longer increase the reference count on every invocation of
4255         `mach_host_self'.
4257         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
4258         Protect declarations against the macro expansion.
4259         * mach/mach_init.c (__mach_host_self_): New variable.
4260         (mach_init): Initialize `__mach_host_self_'.
4261         * mach/mach_init.h (__mach_host_self_): New declaration.
4262         (__mach_host_self, mach_host_self): New macros.
4263         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
4264         Release reference.
4266 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
4268         [BZ #4404]
4269         * po/de.po: Update from Translation Project.
4271         [BZ #16415]
4272         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
4273         (__expm1l): Remove code to handle positive infinity and overflow.
4274         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
4275         variable.
4276         (__expm1l): Remove code to handle positive infinity and overflow.
4278 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
4279             Paul Pluzhnikov  <ppluzhnikov@google.com>
4281         [BZ #18872]
4282         * stdio-common/Makefile (tst-printf-bz18872): New test.
4283         (tst-printf-bz18872-mem.out): Likewise.
4284         * stdio-common/tst-printf-bz18872.sh: Generate new test.
4285         * stdio-common/vfprintf.c: Fix memory leaks.
4287 2015-09-16  Andreas Schwab  <schwab@suse.de>
4289         [BZ #17244]
4290         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
4291         Remove extra va_start/va_end calls.
4293         [BZ #17243]
4294         * posix/execl.c (execl): Add missing va_end.
4295         * posix/execle.c (execle): Likewise.
4296         * posix/execlp.c (execlp): Likewise.
4298 2015-09-15  Roland McGrath  <roland@hack.frob.com>
4300         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
4301         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
4303 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
4305         [BZ #18967]
4306         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
4307         undefine around includes of <bits/mathcalls.h>.
4308         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
4309         not declare function.
4310         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
4311         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
4312         (scalb): Likewise.
4313         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
4314         not define macro.
4315         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
4316         variable.
4317         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4318         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4319         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4321         [BZ #18857]
4322         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
4323         return non-finite argument without doing ordered comparisons on
4324         it.
4326         [BZ #16296]
4327         * math/fenv.h (fegetround): Use __attribute_pure__.
4328         * include/fenv.h (__fegetround): Likewise.
4330         [BZ #18595]
4331         * math/s_ctan.c (__ctan): Force underflow exception for results
4332         whose real or imaginary part has small absolute value.
4333         * math/s_ctanf.c (__ctanf): Likewise.
4334         * math/s_ctanh.c (__ctanh): Likewise.
4335         * math/s_ctanhf.c (__ctanhf): Likewise.
4336         * math/s_ctanhl.c (__ctanhl): Likewise.
4337         * math/s_ctanl.c (__ctanl): Likewise.
4338         * math/auto-libm-test-in: Do not allow missing underflow for ctan
4339         and ctanh.  Add more tests of ctan and ctanh.
4341         [BZ #15918]
4342         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
4343         handling of cases where one argument is an infinity.
4345         [BZ #18875]
4346         [BZ #18966]
4347         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
4348         (MO): New macro.
4349         (__ieee754_exp10): For small results, force underflow exception
4350         and remove excess range and precision from return value.
4351         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
4352         (MO): New macro.
4353         (__ieee754_exp10f): For small results, force underflow exception
4354         and remove excess range and precision from return value.
4355         * math/auto-libm-test-in: Add more tests of exp10.
4356         * math/auto-libm-test-out: Regenerated.
4358 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
4360         [BZ #18875]
4361         [BZ #18961]
4362         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
4363         (MO): New macro.
4364         (__ieee754_exp): For small results, force underflow exception and
4365         remove excess range and precision from return value.
4366         (__exp_finite): Likewise.
4367         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
4368         (MO): New macro.
4369         (__ieee754_expf): For small results, force underflow exception and
4370         remove excess range and precision from return value.
4371         (__expf_finite): Likewise.
4372         * math/auto-libm-test-in: Add more tests of exp.
4373         * math/auto-libm-test-out: Regenerated.
4375         [BZ #16521]
4376         [BZ #18875]
4377         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
4378         small results.
4379         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
4380         (MO): New macro.
4381         (__ieee754_exp2): For small results, force underflow exception and
4382         remove excess range and precision from return value.
4383         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
4384         (MO): New macro.
4385         (__ieee754_exp2f): For small results, force underflow exception
4386         and remove excess range and precision from return value.
4387         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
4388         (MO): New macro.
4389         (__ieee754_exp2l): Force underflow exception for small results.
4390         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4391         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4392         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
4393         (MO): New macro.
4394         (__ieee754_exp2l): Force underflow exception for small results.
4395         * math/auto-libm-test-in: Add more tests or exp2.
4396         * math/auto-libm-test-out: Regenerated.
4398 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
4400         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
4402         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
4403         /dev/null.
4405 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4407         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
4408         io fs process)): Drop spurious backslash.
4410 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4412         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
4413         Use sysinfo system call instead of parsing /proc/meminfo.
4414         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
4415         Likewise.
4417 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
4419         [BZ #16985]
4420         * programs/localedef.c (main): Display argv[remaining] when
4421         output_path is NULL.
4423 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
4425         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4426         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
4427         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
4428         tanh.
4429         * math/auto-libm-test-out: Regenerated.
4430         * sysdeps/i386/fpu/libm-test-ulps: Update.
4431         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4432         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4435 2015-09-11  Roland McGrath  <roland@hack.frob.com>
4437         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
4438         Use 'override' keyword to freeze the value here, preventing
4439         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
4441 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
4443         [BZ #14912]
4444         * sysdeps/aarch64/bits/atomic.h: Move to ...
4445         * sysdeps/aarch64/atomic-machine.h: ...here.
4446         (_AARCH64_BITS_ATOMIC_H): Rename macro to
4447         _AARCH64_ATOMIC_MACHINE_H.
4448         * sysdeps/alpha/bits/atomic.h: Move to ...
4449         * sysdeps/alpha/atomic-machine.h: ...here.
4450         * sysdeps/arm/bits/atomic.h: Move to ...
4451         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
4452         * bits/atomic.h: Move to ...
4453         * sysdeps/generic/atomic-machine.h: ...here.
4454         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4455         * sysdeps/i386/bits/atomic.h: Move to ...
4456         * sysdeps/i386/atomic-machine.h: ...here.
4457         * sysdeps/ia64/bits/atomic.h: Move to ...
4458         * sysdeps/ia64/atomic-machine.h: ...here.
4459         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
4460         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
4461         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4462         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
4463         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
4464         * sysdeps/microblaze/bits/atomic.h: Move to ...
4465         * sysdeps/microblaze/atomic-machine.h: ...here.
4466         * sysdeps/mips/bits/atomic.h: Move to ...
4467         * sysdeps/mips/atomic-machine.h: ...here.
4468         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
4469         * sysdeps/powerpc/bits/atomic.h: Move to ...
4470         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
4471         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
4472         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
4473         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
4474         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
4475         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
4476         <atomic-machine.h> instead of <bits/atomic.h>.
4477         * sysdeps/s390/bits/atomic.h: Move to ...
4478         * sysdeps/s390/atomic-machine.h: ...here.
4479         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
4480         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
4481         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4482         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
4483         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
4484         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
4485         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
4486         * sysdeps/tile/bits/atomic.h: Move to ...
4487         * sysdeps/tile/atomic-machine.h: ...here.
4488         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
4489         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
4490         <sysdeps/tile/atomic-machine.h> instead of
4491         <sysdeps/tile/bits/atomic.h>.
4492         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4493         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
4494         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
4495         <sysdeps/tile/atomic-machine.h> instead of
4496         <sysdeps/tile/bits/atomic.h>.
4497         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4498         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
4499         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
4500         <sysdeps/arm/atomic-machine.h> instead of
4501         <sysdeps/arm/bits/atomic.h>.
4502         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
4503         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
4504         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4505         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
4506         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
4507         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
4508         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
4509         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
4510         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
4511         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
4512         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
4513         * sysdeps/x86_64/bits/atomic.h: Move to ...
4514         * sysdeps/x86_64/atomic-machine.h: ...here.
4515         * include/atomic.h: Include <atomic-machine.h> instead of
4516         <bits/atomic.h>.
4518         * sysdeps/mips/mips32/libm-test-ulps: Update.
4519         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4521         [BZ #18952]
4522         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
4523         not convert non-integer negative arguments to int to determine the
4524         value of signgam.
4525         * math/auto-libm-test-in: Add more tests of lgamma.
4526         * math/auto-libm-test-out: Regenerated.
4528         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
4529         cosh, csqrt, erfc, expm1 and lgamma.
4530         * math/auto-libm-test-out: Regenerated.
4531         * sysdeps/i386/fpu/libm-test-ulps: Update.
4532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4534 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
4536         [BZ #2542]
4537         [BZ #2543]
4538         [BZ #2558]
4539         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
4540         __lgamma_neg for arguments from -28.0 to -2.0.
4541         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
4542         __lgamma_negf for arguments from -15.0 to -2.0.
4543         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4544         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
4545         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
4546         Call __lgamma_negl for arguments from -33.0 to -2.0.
4547         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
4548         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
4549         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
4550         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
4551         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
4552         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
4553         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
4554         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
4555         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
4556         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
4557         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
4558         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
4559         (__lgamma_neg): Likewise.
4560         (__lgamma_negl): Likewise.
4561         (__lgamma_product): Likewise.
4562         (__lgamma_productl): Likewise.
4563         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
4564         * math/auto-libm-test-in: Add more tests of lgamma.
4565         * math/auto-libm-test-out: Regenerated.
4566         * sysdeps/i386/fpu/libm-test-ulps: Update.
4567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4569 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
4571         [BZ #18675]
4572         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
4574 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
4576         [BZ #14912]
4577         * bits/libc-lock.h: Move to ...
4578         * sysdeps/generic/libc-lock.h: ...here.
4579         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
4580         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
4581         * sysdeps/mach/hurd/libc-lock.h: ...here.
4582         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
4583         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
4584         * sysdeps/mach/bits/libc-lock.h: Move to ...
4585         * sysdeps/mach/libc-lock.h: ...here.
4586         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
4587         * sysdeps/nptl/bits/libc-lock.h: Move to ...
4588         * sysdeps/nptl/libc-lock.h: ...here.
4589         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
4590         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
4591         * sysdeps/nptl/libc-lockP.h: ...here.
4592         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
4593         * crypt/crypt_util.c: Include <libc-lock.h> instead of
4594         <bits/libc-lock.h>.
4595         * dirent/scandir-tail.c: Likewise.
4596         * dlfcn/dlerror.c: Likewise.
4597         * elf/dl-close.c: Likewise.
4598         * elf/dl-iteratephdr.c: Likewise.
4599         * elf/dl-lookup.c: Likewise.
4600         * elf/dl-open.c: Likewise.
4601         * elf/dl-support.c: Likewise.
4602         * elf/dl-writev.h: Likewise.
4603         * elf/rtld.c: Likewise.
4604         * grp/fgetgrent.c: Likewise.
4605         * gshadow/fgetsgent.c: Likewise.
4606         * gshadow/sgetsgent.c: Likewise.
4607         * iconv/gconv_conf.c: Likewise.
4608         * iconv/gconv_db.c: Likewise.
4609         * iconv/gconv_dl.c: Likewise.
4610         * iconv/gconv_int.h: Likewise.
4611         * iconv/gconv_trans.c: Likewise.
4612         * include/link.h: Likewise.
4613         * inet/getnameinfo.c: Likewise.
4614         * inet/getnetgrent.c: Likewise.
4615         * inet/getnetgrent_r.c: Likewise.
4616         * intl/bindtextdom.c: Likewise.
4617         * intl/dcigettext.c: Likewise.
4618         * intl/finddomain.c: Likewise.
4619         * intl/gettextP.h: Likewise.
4620         * intl/loadmsgcat.c: Likewise.
4621         * intl/localealias.c: Likewise.
4622         * intl/textdomain.c: Likewise.
4623         * libidn/idn-stub.c: Likewise.
4624         * libio/libioP.h: Likewise.
4625         * locale/duplocale.c: Likewise.
4626         * locale/freelocale.c: Likewise.
4627         * locale/newlocale.c: Likewise.
4628         * locale/setlocale.c: Likewise.
4629         * login/getutent_r.c: Likewise.
4630         * login/getutid_r.c: Likewise.
4631         * login/getutline_r.c: Likewise.
4632         * login/utmp-private.h: Likewise.
4633         * login/utmpname.c: Likewise.
4634         * malloc/mtrace.c: Likewise.
4635         * misc/efgcvt.c: Likewise.
4636         * misc/error.c: Likewise.
4637         * misc/fstab.c: Likewise.
4638         * misc/getpass.c: Likewise.
4639         * misc/mntent.c: Likewise.
4640         * misc/syslog.c: Likewise.
4641         * nis/nis_call.c: Likewise.
4642         * nis/nis_callback.c: Likewise.
4643         * nis/nss-default.c: Likewise.
4644         * nis/nss_compat/compat-grp.c: Likewise.
4645         * nis/nss_compat/compat-initgroups.c: Likewise.
4646         * nis/nss_compat/compat-pwd.c: Likewise.
4647         * nis/nss_compat/compat-spwd.c: Likewise.
4648         * nis/nss_nis/nis-alias.c: Likewise.
4649         * nis/nss_nis/nis-ethers.c: Likewise.
4650         * nis/nss_nis/nis-grp.c: Likewise.
4651         * nis/nss_nis/nis-hosts.c: Likewise.
4652         * nis/nss_nis/nis-network.c: Likewise.
4653         * nis/nss_nis/nis-proto.c: Likewise.
4654         * nis/nss_nis/nis-pwd.c: Likewise.
4655         * nis/nss_nis/nis-rpc.c: Likewise.
4656         * nis/nss_nis/nis-service.c: Likewise.
4657         * nis/nss_nis/nis-spwd.c: Likewise.
4658         * nis/nss_nisplus/nisplus-alias.c: Likewise.
4659         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
4660         * nis/nss_nisplus/nisplus-grp.c: Likewise.
4661         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
4662         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
4663         * nis/nss_nisplus/nisplus-network.c: Likewise.
4664         * nis/nss_nisplus/nisplus-proto.c: Likewise.
4665         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
4666         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
4667         * nis/nss_nisplus/nisplus-service.c: Likewise.
4668         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
4669         * nis/ypclnt.c: Likewise.
4670         * nptl/libc_pthread_init.c: Likewise.
4671         * nss/getXXbyYY.c: Likewise.
4672         * nss/getXXent.c: Likewise.
4673         * nss/getXXent_r.c: Likewise.
4674         * nss/nss_db/db-XXX.c: Likewise.
4675         * nss/nss_db/db-netgrp.c: Likewise.
4676         * nss/nss_db/nss_db.h: Likewise.
4677         * nss/nss_files/files-XXX.c: Likewise.
4678         * nss/nss_files/files-alias.c: Likewise.
4679         * nss/nsswitch.c: Likewise.
4680         * posix/regex_internal.h: Likewise.
4681         * posix/wordexp.c: Likewise.
4682         * pwd/fgetpwent.c: Likewise.
4683         * resolv/res_hconf.c: Likewise.
4684         * resolv/res_libc.c: Likewise.
4685         * shadow/fgetspent.c: Likewise.
4686         * shadow/lckpwdf.c: Likewise.
4687         * shadow/sgetspent.c: Likewise.
4688         * socket/opensock.c: Likewise.
4689         * stdio-common/reg-modifier.c: Likewise.
4690         * stdio-common/reg-printf.c: Likewise.
4691         * stdio-common/reg-type.c: Likewise.
4692         * stdio-common/vfprintf.c: Likewise.
4693         * stdio-common/vfscanf.c: Likewise.
4694         * stdlib/abort.c: Likewise.
4695         * stdlib/cxa_atexit.c: Likewise.
4696         * stdlib/fmtmsg.c: Likewise.
4697         * stdlib/random.c: Likewise.
4698         * stdlib/setenv.c: Likewise.
4699         * string/strsignal.c: Likewise.
4700         * sunrpc/auth_none.c: Likewise.
4701         * sunrpc/bindrsvprt.c: Likewise.
4702         * sunrpc/create_xid.c: Likewise.
4703         * sunrpc/key_call.c: Likewise.
4704         * sunrpc/rpc_thread.c: Likewise.
4705         * sysdeps/arm/backtrace.c: Likewise.
4706         * sysdeps/generic/ldsodefs.h: Likewise.
4707         * sysdeps/generic/stdio-lock.h: Likewise.
4708         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
4709         * sysdeps/i386/backtrace.c: Likewise.
4710         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4711         * sysdeps/m68k/backtrace.c: Likewise.
4712         * sysdeps/mach/hurd/cthreads.c: Likewise.
4713         * sysdeps/mach/hurd/dirstream.h: Likewise.
4714         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
4715         * sysdeps/nptl/malloc-machine.h: Likewise.
4716         * sysdeps/nptl/stdio-lock.h: Likewise.
4717         * sysdeps/posix/dirstream.h: Likewise.
4718         * sysdeps/posix/getaddrinfo.c: Likewise.
4719         * sysdeps/posix/system.c: Likewise.
4720         * sysdeps/pthread/aio_suspend.c: Likewise.
4721         * sysdeps/s390/s390-32/backtrace.c: Likewise.
4722         * sysdeps/s390/s390-64/backtrace.c: Likewise.
4723         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4724         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4725         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
4726         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
4727         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
4728         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
4729         * sysdeps/unix/sysv/linux/system.c: Likewise.
4730         * sysdeps/x86_64/backtrace.c: Likewise.
4731         * time/alt_digit.c: Likewise.
4732         * time/era.c: Likewise.
4733         * time/tzset.c: Likewise.
4734         * wcsmbs/wcsmbsload.c: Likewise.
4735         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
4736         instead of <bits/libc-lock.h> in comment.
4738 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
4740         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
4741         Only use .set mips2 if the current ISA is below mips2.
4742         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
4743         Likewise.
4744         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
4745         mips32r2 if the current ISA is below mips32r2.
4746         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
4747         (TLS_IE): Updated to use the TLD_RDHWR macro.
4748         (TLS_LE): Likewise.
4749         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
4750         __ASSEMBLER__ condition.
4752 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4754         Fix parallel build of before-compile targets.
4756         * sysdeps/mach/Makefile ($(patsubst
4757         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
4758         mach-before-compile target.
4759         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
4760         io fs process)): Move rule to dedicated hurd-before-compile target.
4762 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4764         Fix rules generating headers in hurd/ and mach/ when initial make call
4765         has subdir= explicitly set.
4767         * sysdeps/mach/Makefile ($(patsubst
4768         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
4769         calling $(MAKE).
4770         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
4771         io fs process)): Force subdir to hurd when calling $(MAKE).
4772         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
4773         subdir to mach when calling $(MAKE).
4775 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
4777         Check sysheaders when looking for Mach and Hurd headers
4779         * sysdeps/mach/configure.ac: Add sysheaders check.
4780         * sysdeps/mach/configure: Regenerate.
4781         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
4782         * sysdeps/mach/hurd/configure: Regenerate.
4784 2015-09-04  Roland McGrath  <roland@hack.frob.com>
4786         [BZ #18921]
4787         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
4788         Fix inverted sense of test of 'o_directory_works' value.
4789         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
4790         Bernhard Voelker <mail@bernhard-voelker.de>.
4792 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
4794         [BZ #14912]
4795         * bits/linkmap.h: Move to ...
4796         * sysdeps/generic/linkmap.h: ...here.
4797         * sysdeps/aarch64/bits/linkmap.h: Move to ...
4798         * sysdeps/aarch64/linkmap.h: ...here.
4799         * sysdeps/arm/bits/linkmap.h: Move to ...
4800         * sysdeps/arm/linkmap.h: ...here.
4801         * sysdeps/hppa/bits/linkmap.h: Move to ...
4802         * sysdeps/hppa/linkmap.h: ...here.
4803         * sysdeps/ia64/bits/linkmap.h: Move to ...
4804         * sysdeps/ia64/linkmap.h: ...here.
4805         * sysdeps/mips/bits/linkmap.h: Move to ...
4806         * sysdeps/mips/linkmap.h: ...here.
4807         * sysdeps/s390/bits/linkmap.h: Move to ...
4808         * sysdeps/s390/linkmap.h: ...here.
4809         * sysdeps/sh/bits/linkmap.h: Move to ...
4810         * sysdeps/sh/linkmap.h: ...here.
4811         * sysdeps/x86/bits/linkmap.h: Move to ...
4812         * sysdeps/x86/linkmap.h: ...here.
4813         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
4815 2015-09-04  Andreas Schwab  <schwab@suse.de>
4817         [BZ #18635]
4818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
4819         (__makecontext): Terminate FDE before return label.
4820         (__novec_makecontext): Likewise.
4822 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4824         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
4825         first member of struct sv in syscall macro.
4827 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
4829         [BZ #14912]
4830         * bits/stdio-lock.h: Move to ...
4831         * sysdeps/generic/stdio-lock.h: ...here.
4832         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
4833         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
4834         * sysdeps/nptl/stdio-lock.h: ...here.
4835         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
4836         * include/libio.h: Include <stdio-lock.h> instead of
4837         <bits/stdio-lock.h>.
4838         * sysdeps/nptl/fork.c: Likewise.
4839         * sysdeps/pthread/flockfile.c: Likewise.
4840         * sysdeps/pthread/ftrylockfile.c: Likewise.
4841         * sysdeps/pthread/funlockfile.c: Likewise.
4843         [BZ #14912]
4844         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
4845         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
4846         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
4847         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
4848         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
4849         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4850         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
4852 2015-09-03  Roland McGrath  <roland@hack.frob.com>
4854         * elf/Makefile (test-xfail-tst-protected1a): New variable.
4855         (test-xfail-tst-protected1b): New variable.
4857 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
4859         [BZ #14912]
4860         * bits/libc-tsd.h: Move to ...
4861         * sysdeps/generic/libc-tsd.h: ...here.
4862         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
4863         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
4864         * sysdeps/mach/hurd/libc-tsd.h: ...here.
4865         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
4866         * include/ctype.h: Include <libc-tsd.h> instead of
4867         <bits/libc-tsd.h>.
4868         * include/rpc/rpc.h: Likewise.
4869         * locale/localeinfo.h: Likewise.
4870         * sunrpc/rpc_thread.c: Likewise.
4871         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
4872         * sysdeps/nptl/malloc-machine.h: Likewise.
4874         * Makefile (headers): Remove bits/libc-lock.h.
4875         * libio/Makefile (headers): Remove bits/stdio-lock.h.
4877         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
4878         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
4879         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
4880         <bits/stdio-lock.h>.
4881         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
4882         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
4884 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
4886         [BZ #18757]
4887         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
4888         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
4889         BZ #18757.
4891 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
4893         * malloc/mtrace.pl: Filter out NULL entries.
4895 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
4897         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
4898         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
4899         macro.
4901         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
4902         (TCP_CC_INFO): Likewise.
4903         (TCP_SAVE_SYN): Likewise.
4904         (TCP_SAVED_SYN): Likewise.
4906 2015-08-31  Brett Neumeier <brett@neumeier.us>
4908         [BZ #18870]
4909         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
4911 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
4913         [BZ #18873]
4914         Fix broken overflow check in posix_fallocate
4915         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
4916         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
4917         Fix parenthesization typo.
4919 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
4921         [BZ #18887]
4922         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
4923         tst-mntent-blank-passno.
4924         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
4925         * misc/tst-mntent-blank-corrupt.c: New test.
4926         * misc/tst-mntent-blank-passno.c: New test ripped from ...
4927         * misc/tst-mntent.c (do_test): ... here.
4929 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
4931         [BZ #4404]
4932         * po/de.po: Fix SIGALRM typo.
4934 2015-08-28  James Perkins  <james@loowit.net>
4936         * time/tst-strptime2.c (tests): Replace short list of test
4937         strings for strptime %z specifier with code which exhaustively
4938         tests every combination of sign and 0 to 5 digits. Tests for
4939         rejection of invalid strings.
4941 2015-08-28  James Perkins  <james@loowit.net>
4943         [BZ #16141]
4944         * time/strptime_l.c (__strptime_internal): Fix %z minutes
4945         calculation, removing incorrect decimal time rounding, so that
4946         all minute values result in a valid seconds value.
4947         * time/strptime_l.c (__strptime_internal): Extend %z time zone
4948         offset range limits to UTC-99:59 through UTC+99:59 to parse
4949         current and historical use cases.
4950         * time/tst-strptime2.c (tests): Modify and add tests for the
4951         strptime %z input field descriptor, specifically conversion of
4952         minutes to seconds and validating an offset range of -9959 to
4953         +9959.
4955 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4956             Dmitry V. Levin  <ldv@altlinux.org>
4958         [BZ #18877]
4959         * posix/Makefile (tests): Add tst-mmap-offset.
4960         * posix/tst-mmap.c: New file.
4961         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
4962         offset calculation for negative values.
4964 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4966         * sysdeps/i386/init-arch.h: New file.
4967         * sysdeps/i386/i586/init-arch.h: Likewise.
4968         * sysdeps/i386/i686/init-arch.h: Likewise.
4969         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
4970         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
4971         * sysdeps/x86/cpu-features.h (bit_I586): New.
4972         (bit_I686): Likewise.
4973         (bit_CX8): Likewise.
4974         (bit_CMOV): Likewise.
4975         (index_CX8): Likewise.
4976         (index_CMOV): Likewise.
4977         (index_I586): Likewise.
4978         (index_I686): Likewise.
4979         (reg_CX8): Likewise.
4980         (reg_CMOV): Likewise.
4981         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
4982         available at compile-time.
4983         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
4984         available at compile-time.
4985         * sysdeps/x86/init-arch.h (USE_I586): New macro.
4986         (USE_I686): Likewise.
4988 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
4990         * sysdeps/i386/bcopy.S: New file.
4991         * sysdeps/i386/bzero.S: Likewise.
4992         * sysdeps/i386/memcpy.S: Likewise.
4993         * sysdeps/i386/memmove.S: Likewise.
4994         * sysdeps/i386/mempcpy.S: Likewise.
4995         * sysdeps/i386/memset.S: Likewise.
4996         * sysdeps/i386/bzero.c: Removed.
4997         * sysdeps/i386/memset.c: Likewise.
4998         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
4999         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
5000         * sysdeps/i386/i586/memset_chk.S: Likewise.
5001         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
5002         * sysdeps/i386/memcpy_chk.S: Here.
5003         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
5004         * sysdeps/i386/memmove_chk.S: Here.
5005         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
5006         * sysdeps/i386/mempcpy_chk.S: Likewise.
5007         * sysdeps/i386/i686/memset_chk.S: Moved to ...
5008         * sysdeps/i386/memset_chk.S: Likewise.
5010 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
5012         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
5013         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
5014         file, move DIAG_POP_NEEDS_COMMENT to end of file.
5015         * soft-fp/fmadf4.c: Ditto.
5016         * soft-fp/fmatf4.c: Ditto.
5018 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5020         * sysdeps/i386/i586/Implies: Removed.
5021         * sysdeps/i386/i686/Implies: Likewise.
5023 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5025         * sysdeps/i386/i486/strlen.S: Moved to ...
5026         * sysdeps/i386/strlen.S: Here.
5028 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5030         * sysdeps/i386/i486/strcat.S: Moved to ...
5031         * sysdeps/i386/strcat.S: Here.
5033 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5035         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
5036         * sysdeps/i386/pthread_spin_trylock.S: Here.
5037         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
5038         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
5040 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5042         * sysdeps/i386/i486/string-inlines.c: Moved to ...
5043         * sysdeps/i386/string-inlines.c: Here.
5045 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5047         * sysdeps/i386/i486/htonl.S: Moved ...
5048         * sysdeps/i386/htonl.S: here.
5050 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5052         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
5053         * sysdeps/i386/bits/atomic.h: Here.
5055 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5057         * sysdeps/i386/i486/Versions: Removed.
5059 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
5061         [BZ #2898]
5062         * misc/mktemp.c: Add mkdtemp to the link_warning message.
5063         Based on patch by Aurelien Jarno.
5065 2015-08-26  Stan Shebs  <stanshebs@google.com>
5067         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
5068         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5070 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5072         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
5073         * sysdeps/powerpc/dl-procinfo.c:
5074         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
5075         feature so it shows when LD_SHOW_AUXV=1.
5077 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5079         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5080         (__arch_compare_and_exchange_val_32_acq): Remove and use common
5081         definition.  ISA 2.07B no longer requires full sync.
5083 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
5085         [BZ #18863]
5086         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
5087         (si_call_addr): Define.
5088         (si_syscall): Define.
5089         (si_arch): Define.
5091 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
5093         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
5094         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
5095         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
5096         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
5097         (__memset_zero_constant_len_parameter): New.
5098         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
5099         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
5100         (__memset_zero_constant_len_parameter): Don't define if
5101         __memset_chk or USE_AS_BZERO are defined.
5103         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
5104         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
5105         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
5107         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
5108         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
5109         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
5110         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
5111         comments.
5112         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
5113         -mno-mmx for $(all-rtld-routines).
5114         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
5115         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
5116         i386.
5118 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5120         * sysdeps/generic/unwind.h
5121         (_Unwind_Word): Use __mode__(__unwind_word__)
5122         instead of __mode__(__word__).
5123         (_Unwind_Sword): Likewise.
5125         * sysdeps/s390/s390-64/utf8-utf16-z9.c
5126         (MAX_NEEDED_INPUT): New define.
5127         (MAX_NEEDED_OUTPUT): New define.
5129         * NEWS: New item for IBM z13 string optimizations.
5131         * sysdeps/s390/multiarch/memrchr-c.c: New File.
5132         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
5133         * sysdeps/s390/multiarch/memrchr.c: Likewise.
5134         * sysdeps/s390/multiarch/Makefile
5135         (sysdep_routines): Add memrchr functions.
5136         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
5137         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
5139         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
5140         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
5141         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
5142         * sysdeps/s390/multiarch/Makefile
5143         (sysdep_routines): Add wmemcmp functions.
5144         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
5145         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
5146         * benchtests/bench-wmemcmp.c: New File.
5147         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
5149         * sysdeps/s390/multiarch/wmemset-c.c: New File.
5150         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
5151         * sysdeps/s390/multiarch/wmemset.c: Likewise.
5152         * sysdeps/s390/multiarch/Makefile
5153         (sysdep_routines): Add wmemset functions.
5154         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
5155         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
5156         * wcsmbs/wmemset.c: Use WMEMSET if defined.
5157         * string/test-memset.c: Add wmemset support.
5158         * wcsmbs/test-wmemset.c: New File.
5159         * wcsmbs/Makefile (strop-tests): Add wmemset.
5160         * benchtests/bench-memset.c: Add wmemset support.
5161         * benchtests/bench-wmemset.c: New File.
5162         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
5164         * sysdeps/s390/multiarch/memccpy-c.c: New File.
5165         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
5166         * sysdeps/s390/multiarch/memccpy.c: Likewise.
5167         * sysdeps/s390/multiarch/Makefile
5168         (sysdep_routines): Add memccpy functions.
5169         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
5170         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
5171         * string/memccpy.c: Use MEMCCPY if defined.
5173         * sysdeps/s390/multiarch/memchr-vx.S: New File.
5174         * sysdeps/s390/multiarch/memchr.c: Likewise.
5175         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
5176         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
5177         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
5178         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
5179         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
5180         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
5181         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
5182         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
5183         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
5184         and rawmemchr functions.
5185         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
5186         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
5187         and wmemchr.
5188         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
5189         * string/test-memchr.c: Add wmemchr support.
5190         * wcsmbs/test-wmemchr.c: New File.
5191         * wcsmbs/Makefile (strop-tests): Add wmemchr.
5192         * benchtests/bench-memchr.c: Add wmemchr support.
5193         * benchtests/bench-wmemchr.c: New File.
5194         * benchtests/Makefile (wcsmbs-bench): wmemchr.
5196         * sysdeps/s390/multiarch/strcspn-c.c: New File.
5197         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
5198         * sysdeps/s390/multiarch/strcspn.c: Likewise.
5199         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
5200         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
5201         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
5202         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
5203         wcscspn functions.
5204         * sysdeps/s390/multiarch/ifunc-impl-list.c
5205         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
5206         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
5207         * string/test-strcspn.c: Add wcscspn support.
5208         * wcsmbs/test-wcscspn.c: New File.
5209         * wcsmbs/Makefile (strop-tests): Add wcscspn.
5210         * benchtests/bench-strcspn.c: Add wcscspn support.
5211         * benchtests/bench-wcscspn.c: New File.
5212         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
5214         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
5215         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
5216         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
5217         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
5218         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
5219         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
5220         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
5221         wcspbrk functions.
5222         * sysdeps/s390/multiarch/ifunc-impl-list.c
5223         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
5224         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
5225         * string/test-strpbrk.c: Add wcspbrk support.
5226         * wcsmbs/test-wcspbrk.c: New File.
5227         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
5228         * benchtests/bench-strpbrk.c: Add wcspbrk support.
5229         * benchtests/bench-wcspbrk.c: New File.
5230         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
5232         * sysdeps/s390/multiarch/strspn-c.c: New File.
5233         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
5234         * sysdeps/s390/multiarch/strspn.c: Likewise.
5235         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
5236         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
5237         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
5238         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
5239         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
5240         wcsspn functions.
5241         * sysdeps/s390/multiarch/ifunc-impl-list.c
5242         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
5243         * string/test-strspn.c: Add wcsspn support.
5244         * wcsmbs/test-wcsspn.c: New File.
5245         * wcsmbs/Makefile (strop-tests): Add wcsspn.
5246         * benchtests/bench-strspn.c: Add wcsspn support.
5247         * benchtests/bench-wcsspn.c: New File.
5248         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
5250         * sysdeps/s390/multiarch/strrchr-c.c: New File.
5251         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
5252         * sysdeps/s390/multiarch/strrchr.c: Likewise.
5253         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
5254         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
5255         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
5256         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
5257         wcsrchr functions.
5258         * sysdeps/s390/multiarch/ifunc-impl-list.c
5259         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
5260         * benchtests/bench-wcsrchr.c: New File.
5261         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
5263         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
5264         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
5265         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
5266         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
5267         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
5268         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
5269         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
5270         wcschrnul functions.
5271         * sysdeps/s390/multiarch/ifunc-impl-list.c
5272         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
5273         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
5274         * string/test-strchr.c: Add wcschrnul support.
5275         * wcsmbs/test-wcschrnul.c: New File.
5276         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
5277         * benchtests/bench-strchr.c: Add wcschrnul support.
5278         * benchtests/bench-wcschrnul.c: New File.
5279         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
5281         * sysdeps/s390/multiarch/strchr-c.c: New File.
5282         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
5283         * sysdeps/s390/multiarch/strchr.c: Likewise.
5284         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
5285         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
5286         * sysdeps/s390/multiarch/wcschr.c: Likewise.
5287         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
5288         wcschr functions.
5289         * sysdeps/s390/multiarch/ifunc-impl-list.c
5290         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
5291         * string/strchr.c (STRCHR): Define and use macro.
5292         * benchtests/bench-wcschr.c: New File.
5293         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
5295         * sysdeps/s390/multiarch/strncmp-c.c: New File.
5296         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
5297         * sysdeps/s390/multiarch/strncmp.c: Likewise.
5298         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
5299         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
5300         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
5301         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
5302         wcsncmp functions.
5303         * sysdeps/s390/multiarch/ifunc-impl-list.c
5304         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
5305         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
5306         * benchtests/bench-strncmp.c: Add wcsncmp support.
5307         * benchtests/bench-wcsncmp.c: New File.
5308         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
5310         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
5311         * sysdeps/s390/multiarch/strcmp.c: Likewise.
5312         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
5313         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
5314         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
5315         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
5316         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
5317         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
5318         wcscmp functions.
5319         * sysdeps/s390/multiarch/ifunc-impl-list.c
5320         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
5321         * string/strcmp.c (STRCMP): Define and use macro.
5322         * benchtests/bench-wcscmp.c: New File.
5323         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
5324         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
5325         instead of _HAVE_STRING_ARCH_memchr.
5327         * sysdeps/s390/multiarch/strncat-c.c: New File.
5328         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
5329         * sysdeps/s390/multiarch/strncat.c: Likewise.
5330         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
5331         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
5332         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
5333         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
5334         wcsncat functions.
5335         * sysdeps/s390/multiarch/ifunc-impl-list.c
5336         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
5337         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
5338         * string/test-strncat.c: Add wcsncat support.
5339         * wcsmbs/test-wcsncat.c: New File.
5340         * wcsmbs/Makefile (strop-tests): Add wcsncat.
5341         * benchtests/bench-strncat.c: Add wcsncat support.
5342         * benchtests/bench-wcsncat.c: New File.
5343         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
5345         * sysdeps/s390/multiarch/strcat-c.c: New File.
5346         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
5347         * sysdeps/s390/multiarch/strcat.c: Likewise.
5348         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
5349         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
5350         * sysdeps/s390/multiarch/wcscat.c: Likewise.
5351         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
5352         wcscat functions.
5353         * sysdeps/s390/multiarch/ifunc-impl-list.c
5354         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
5355         * string/strcat.c (STRCAT): Define and use macro.
5356         * wcsmbs/wcscat.c: Use WCSCAT if defined.
5357         * string/test-strcat.c: Add wcscat support.
5358         * wcsmbs/test-wcscat.c: New File.
5359         * wcsmbs/Makefile (strop-tests): Add wcscat.
5360         * benchtests/bench-strcat.c: Add wcscat support.
5361         * benchtests/bench-wcscat.c: New File.
5362         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
5364         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
5365         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
5366         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
5367         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
5368         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
5369         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
5370         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
5371         wcpncpy functions.
5372         * sysdeps/s390/multiarch/ifunc-impl-list.c
5373         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
5374         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
5375         * string/test-stpncpy.c: Add wcpncpy support.
5376         * wcsmbs/test-wcpncpy.c: New File.
5377         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
5378         * benchtests/bench-stpncpy.c: Add wcpncpy support.
5379         * benchtests/bench-wcpncpy.c: New File.
5380         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
5382         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
5383         * sysdeps/s390/multiarch/strncpy.c: Likewise.
5384         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
5385         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
5386         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
5387         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
5388         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
5389         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
5390         wcsncpy functions.
5391         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
5392         * sysdeps/s390/multiarch/ifunc-impl-list.c
5393         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
5394         * string/test-strncpy.c: Add wcsncpy support.
5395         * wcsmbs/test-wcsncpy.c: New File.
5396         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
5397         * benchtests/bench-strncpy.c: Add wcsncpy support.
5398         * benchtests/bench-wcsncpy.c: New File.
5399         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
5401         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
5402         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
5403         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
5404         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
5405         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
5406         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
5407         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
5408         wcpcpy functions.
5409         * string/stpcpy.c: Use STPCPY if defined.
5410         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
5411         * sysdeps/s390/multiarch/ifunc-impl-list.c
5412         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
5413         * string/test-stpcpy.c: Add wcpcpy support.
5414         * wcsmbs/test-wcpcpy.c: New File.
5415         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
5416         * benchtests/bench-stpcpy.c: Add wcpcpy support.
5417         * benchtests/bench-wcpcpy.c: New File.
5418         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
5420         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
5421         * sysdeps/s390/multiarch/strcpy.c: Likewise.
5422         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
5423         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
5424         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
5425         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
5426         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
5427         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
5428         wcscpy functions.
5429         * sysdeps/s390/multiarch/ifunc-impl-list.c
5430         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
5431         * benchtests/bench-wcscpy.c: New File.
5432         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
5434         * sysdeps/s390/multiarch/strnlen-c.c: New File.
5435         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
5436         * sysdeps/s390/multiarch/strnlen.c: Likewise.
5437         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
5438         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
5439         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
5440         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
5441         wcsnlen functions.
5442         * sysdeps/s390/multiarch/ifunc-impl-list.c
5443         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
5444         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
5445         * string/test-strnlen.c: Add wcsnlen support.
5446         * wcsmbs/test-wcsnlen.c: New File.
5447         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
5448         * benchtests/bench-strnlen.c: Add wcsnlen support.
5449         * benchtests/bench-wcsnlen.c: New File.
5450         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
5452         * sysdeps/s390/multiarch/Makefile: New File.
5453         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
5454         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
5455         * sysdeps/s390/multiarch/strlen.c: Likewise.
5456         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
5457         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
5458         * sysdeps/s390/multiarch/wcslen.c: Likewise.
5459         * string/strlen.c (STRLEN): Define and use macro.
5460         * sysdeps/s390/multiarch/ifunc-impl-list.c
5461         (IFUNC_VX_IMPL): New macro function.
5462         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
5463         * benchtests/Makefile (wcsmbs-bench): New variable.
5464         (string-bench-all): Added wcsmbs-bench.
5465         * benchtests/bench-wcslen.c: New File.
5467         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
5468         s390_vx_libc_ifunc2): New macro function.
5470         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
5471         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
5472         assembler support.
5473         * sysdeps/s390/configure: Regenerated.
5475         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
5476         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
5478         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
5479         * sysdeps/s390/dl-procinfo.h: Add vector capability.
5480         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
5482         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5483         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
5484         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
5485         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
5486         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
5487         (memcmp, bcmp): Use __memcmp_default as alias source.
5488         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
5489         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
5490         Rename to __memcmp_default.
5491         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
5492         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
5493         (memcpy): Use __memcpy_default as alias source.
5494         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
5495         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
5496         Rename to __memcpy_default.
5497         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
5498         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
5499         (memset): Use __memset_default as alias source.
5500         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
5501         * sysdeps/s390/s390-32/memset.S (__memset_g5):
5502         Rename to __memset_default.
5503         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
5504         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
5505         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
5506         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
5507         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
5508         (memcmp, bcmp): Use __memcmp_default as alias source.
5509         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
5510         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
5511         Rename to __memcmp_default.
5512         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
5513         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
5514         (memcpy): Use __memcpy_default as alias source.
5515         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
5516         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
5517         Rename to __memcpy_default.
5518         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
5519         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
5520         (memset): Use __memset_default as alias source.
5521         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
5522         * sysdeps/s390/s390-64/memset.S (__memset_z900):
5523         Rename to __memset_default.
5524         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
5525         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
5527         [BZ #18610]
5528         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
5529         __ieee_instruction_pointer to __unused.
5530         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
5531         __ieee_instruction_pointer.
5532         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
5533         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
5534         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
5535         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
5536         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
5537         Mark dxc-field as reserved.
5539 2015-08-25  Roland McGrath  <roland@hack.frob.com>
5541         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
5542         if the weak reference is not null.
5544 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
5546         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
5548         [BZ #11214]
5549         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
5551 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5553         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
5554         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
5555         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
5556         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
5557         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
5558         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
5559         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
5560         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
5561         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
5562         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
5563         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
5564         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
5565         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
5566         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
5567         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
5568         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
5569         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
5570         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
5572 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5574         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
5575         register other than r0 for tabort, it has special meaning.
5576         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
5577         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
5578         transaction before starting syscall.
5580 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5582         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
5584 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
5586         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
5588         * sysdeps/x86_64/rtld-memcmp.c: Removed.
5589         * sysdeps/x86_64/rtld-memset.S: Likewise.
5590         * sysdeps/x86_64/rtld-strchr.S: Likewise.
5591         * sysdeps/x86_64/rtld-strlen.S: Likewise.
5592         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
5593         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5595         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
5597 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
5599         * debug/strcpy_chk.c: Improve performance.
5600         * debug/stpcpy_chk.c: Likewise.
5601         * sysdeps/x86_64/strcpy_chk.S: Remove.
5602         * sysdeps/x86_64/stpcpy_chk.S: Remove.
5604         [BZ #18240]
5605         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
5607 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
5609         [BZ #15128]
5610         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
5611         ifuncmain8.
5612         (modules-names): Add ifuncmod8.
5613         ($(objpfx)ifuncmain8): New rule.
5614         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
5615         <cpuid.h>.
5616         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
5617         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
5618         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
5619         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
5620         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
5621         * sysdeps/x86_64/dl-trampoline.h: Likewise.
5622         * sysdeps/x86_64/ifuncmain8.c: New file.
5623         * sysdeps/x86_64/ifuncmod8.c: Likewise.
5624         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
5625         Removed.
5626         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
5627         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
5628         Change rtld_savespace_sse to __glibc_unused2.
5629         (RTLD_CHECK_FOREIGN_CALL): Removed.
5630         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
5631         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
5632         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
5634 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
5636         * sysdeps/aarch64/bzero.S (__bzero): Remove.
5638 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
5640         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
5641         Unconditionally set __fpcr to avoid uninialized warning.
5642         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
5644 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5646         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
5647         is corrupt.
5649         * malloc/arena.c (arena_get2): Drop unused argument.
5650         (arena_lock): Adjust.
5651         (arena_get_retry): Likewise.
5653 2015-08-24  Andreas Schwab  <schwab@suse.de>
5655         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
5656         Don't define.
5657         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5658         (__ASSUME_IPC64): Don't undef.
5659         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
5660         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5661         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5662         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
5663         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
5664         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
5665         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
5666         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
5667         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
5668         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
5669         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
5670         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
5671         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
5672         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
5673         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
5674         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
5675         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
5676         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
5677         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
5678         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
5679         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
5681 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
5683         * manual/Makefile (install): Only build manual when perl is available.
5685 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5687         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
5688         '#undef memcpy' by '#undef memchr'.
5690 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5692         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
5693         memchr not point to the internal __GI_memchr implementation.
5695 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
5697         * timezone/Makefile (CFLAGS-zdump.c): Remove
5698         -Wno-strict-prototypes.
5699         (CFLAGS-zic.c): Likewise.
5700         (CFLAGS-ialloc.c): Likewise.
5701         (CFLAGS-scheck.c): Likewise.
5703         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
5704         -Wno-error=undef.
5706 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
5708         * i386/i686/multiarch/strcasestr-c.c: Removed.
5709         * x86_64/multiarch/strcasestr.c: Likewise.
5710         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5711         Remove strcasestr.
5713 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
5715         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
5717         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
5718         variables for high and low parts before possibly modifying them.
5720 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
5722         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
5723         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
5724         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
5725         of "multiarch/init-arch.h".
5726         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
5727         * sysdeps/x86/init-arch.h: This.
5729 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
5731         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
5732         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
5734 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
5736         [BZ #17787]
5737         * manual/macros.texi: Add twoexp macro.
5738         * manual/filesys.texi: Fix exponents.
5739         * manual/llio.texi: Likewise.
5740         * manual/stdio.texi: Likewise.
5742 2015-08-20  Florian Weimer  <fweimer@redhat.com>
5744         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
5745         incorrect use.
5747 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
5749         [BZ #18370]
5750         * math/s_csqrt.c (__csqrt): Force underflow exception for results
5751         whose real or imaginary part has small absolute value.
5752         * math/s_csqrtf.c (__csqrtf): Likewise.
5753         * math/s_csqrtl.c (__csqrtl): Likewise.
5754         * math/auto-libm-test-in: Add more tests of csqrt.
5755         * math/auto-libm-test-out: Regenerated.
5756         * sysdeps/i386/fpu/libm-test-ulps: Update.
5758 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5760         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
5761         __ppc_set_ppr_very_low): New functions.
5762         * manual/platform.texi: Add documentation about
5763         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
5765 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
5767         * string/stpncpy.c (stpncpy): Improve performance using
5768         __strnlen/memcpy/memset.
5770 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5772         [BZ #18796]
5773         * scripts/test-installation.pl: Don't add -lmvec to build options if
5774         libmvec wasn't built.
5776 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
5778         [BZ #14341]
5779         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
5780         case when there is a gap between DT_REL and DT_JMPREL sections.
5781         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
5782         (LDFLAGS-tst-split-dynreloc): New.
5783         (tst-split-dynreloc-ENV): Likewise.
5784         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
5785         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
5787 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5789         [BZ #18822]
5790         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
5791         attribute_hidden.
5792         (__xstat64_conv): Likewise.
5793         (__xstat32_conv): Likewise.
5795 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5797         [BZ #18822]
5798         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
5799         Don't load %ebx when calling __setcontext.  Call __setcontext
5800         with HIDDEN_JUMPTARGET.
5801         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
5802         libc_hidden_def.
5804 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5806         * sysdeps/i386/i686/Makefile
5807         [$(subdir) == string] (sysdep_routines): Moved to ...
5808         * sysdeps/i386/Makefile: Here.
5809         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
5810         * sysdeps/i386/cacheinfo.c: Here.
5811         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
5812         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
5813         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
5814         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
5816 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5818         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
5819         __i586__ is defined.
5820         (HAS_I686): Defined to 1 if __i686__ is defined.
5822 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
5824         * elf/Makefile [$(have-z-execstack) = yes]
5825         (CPPFLAGS-tst-execstack.c): New variable.
5827         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
5828         conditional to [defined UTMPX || _HAVE_UT_TYPE].
5829         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
5830         UTMPX || _HAVE_UT_TV].
5831         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
5832         UTMPX || _HAVE_UT_TV - 0].
5834 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
5836         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
5837         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
5838         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
5840 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5842         * sysdeps/powerpc/dl-procinfo.c:
5843         (_dl_powerpc_cap_flags): Added missing strings for some
5844         hwcap features.
5845         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
5847 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
5849         Port the 0x7efe...feff pattern to GCC 6.
5850         See Steve Ellcey's bug report in:
5851         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
5852         * string/memrchr.c (MEMRCHR):
5853         * string/rawmemchr.c (RAWMEMCHR):
5854         * string/strchr.c (strchr):
5855         * string/strchrnul.c (STRCHRNUL):
5856         Rewrite code to avoid issues with signed shift overflow.
5858 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
5860         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
5861         whether cpuid is available only if HAS_CPUID is 0.
5862         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
5863         (HAS_I586): Likewise.
5864         (HAS_I686): Likewise.
5866 2015-08-18  Zack Weinberg  <zackw@panix.com>
5868         * misc/Versions (libc): Add GLIBC_2.23.
5870 2015-08-18  Alan Modra  <amodra@gmail.com>
5872         [BZ #18421]
5873         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
5874         .Lp__global.
5875         (_start): Load %dp via .Lp__global.
5876         [!SHARED]: Use .section .rodata.
5878 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5880         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
5881         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
5883 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5885         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
5886         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
5888 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5890         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
5891         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
5893 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5895         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
5896         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
5898 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5900         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
5901         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
5903 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5905         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
5906         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
5908 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5910         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
5912 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5914         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
5915         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
5916         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5917         (__ASSUME_LWS_CAS): Delete.
5919 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
5921         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
5922         * sysdeps/hppa/configure: Regenerated.
5923         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
5924         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
5925         * sysdeps/hppa/nptl/tls.h: Likewise.
5927 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
5929         [BZ #18823]
5930         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
5931         for scaling up small arguments.
5932         * math/s_csqrtf.c (__csqrtf): Likewise.
5933         * math/s_csqrtl.c (__csqrtl): Likewise.
5934         * math/auto-libm-test-in: Add more tests of csqrt.
5935         * math/auto-libm-test-out: Regenerated.
5937 2015-08-17  Andreas Schwab  <schwab@suse.de>
5939         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
5940         version set GLIBC_2.19.
5942 2015-08-16  Zack Weinberg  <zackw@panix.com>
5944         [BZ #18681]
5945         * misc/regexp.h: This interface is no longer supported.
5946         Remove all contents, leaving only an #error directive.
5947         * misc/regexp.c (loc1, loc2, locs, step, advance):
5948         Demote to compatibility symbols.
5950 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
5952         [BZ #18084]
5953         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
5954         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
5955         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
5956         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
5957         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
5958         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
5959         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
5960         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
5961         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
5963 2015-08-15  Zack Weinberg  <zackw@panix.com>
5965         [BZ #18795]
5966         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
5967         buffer length is known to be too large, not if it's known to be
5968         small enough.
5969         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
5970         overflow at runtime, involving a length parameter, twice: once
5971         with a compile-time constant length parameter, once without.
5973 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
5975         [BZ #18824]
5976         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
5977         scaling x * y up instead of down.
5978         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5979         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5980         * math/auto-libm-test-in: Add more tests of fma.
5981         * math/auto-libm-test-out: Regenerated.
5983 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
5985         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5987 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5989         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
5990         unnecessary movq.
5991         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
5992         Likewise.
5994 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
5996         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5997         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
5998         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
5999         and tgamma.
6000         * math/auto-libm-test-out: Regenerated.
6001         * sysdeps/i386/fpu/libm-test-ulps: Update.
6002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6004         [BZ #16520]
6005         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
6006         (__tanh): Force underflow exception for arguments with small
6007         absolute value.
6008         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
6009         (__tanhf): Force underflow exception for arguments with small
6010         absolute value.
6011         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
6012         (__tanhl): Force underflow exception for arguments with small
6013         absolute value.
6014         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
6015         (__tanhl): Force underflow exception for arguments with small
6016         absolute value.
6017         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
6018         (__tanhl): Force underflow exception for arguments with small
6019         absolute value.
6020         * math/auto-libm-test-in: Add more tests of tanh.
6021         * math/auto-libm-test-out: Regenerated.
6022         * sysdeps/i386/fpu/libm-test-ulps: Update.
6024 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
6026         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
6027         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
6029 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
6031         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
6032         <cpuid.h>.
6034 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
6036         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
6037         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
6039 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
6041         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
6042         Remove $(objpfx)init-arch.o.
6043         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
6044         init-arch.
6045         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
6046         (INIT_ARCH_EXT): Defined as empty.
6047         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
6048         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
6049         __init_cpu_features call.  Replace HAS_XXX with
6050         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
6051         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
6052         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
6053         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
6054         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
6055         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
6056         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
6057         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
6058         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
6059         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
6060         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
6061         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
6062         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
6063         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
6064         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
6065         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
6066         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
6067         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
6068         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
6069         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
6070         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
6071         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
6072         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
6073         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
6074         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
6075         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
6076         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
6077         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
6078         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
6079         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
6080         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
6081         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
6082         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
6083         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
6084         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
6085         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
6087 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
6089         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
6090         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
6091         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
6092         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
6093         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
6094         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
6095         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
6096         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
6097         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
6098         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
6099         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
6100         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
6101         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
6102         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6103         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6104         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6105         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6106         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6107         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6108         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6109         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6110         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6111         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6112         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6113         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6114         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6115         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6116         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6117         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6118         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6119         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6120         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6121         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6122         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6123         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6124         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6125         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6126         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6127         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6128         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6129         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6130         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6131         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6133 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
6135         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
6136         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
6137         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6138         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6139         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6140         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
6141         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6142         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
6143         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6144         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6145         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6146         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
6147         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
6148         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
6149         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
6150         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
6151         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
6152         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
6153         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
6154         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
6155         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
6156         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
6157         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
6158         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6159         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6160         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
6161         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
6162         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
6163         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
6164         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6165         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6166         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6167         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6168         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6169         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6170         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6171         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6172         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6173         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6174         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6175         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6176         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6177         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6179 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
6181         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
6182         (dl_platform_init): Call init_cpu_features.
6183         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
6184         * sysdeps/i386/i686/cacheinfo.c
6185         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
6186         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
6187         * sysdeps/i386/i686/multiarch/Versions: Removed.
6188         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
6189         Removed.
6190         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
6191         * sysdeps/unix/sysv/linux/x86/Makefile
6192         (libpthread-sysdep_routines): Remove init-arch.
6193         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
6194         <sysdeps/x86_64/dl-procinfo.c> instead of
6195         sysdeps/generic/dl-procinfo.c>.
6196         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
6197         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
6198         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
6199         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
6200         [$(subdir) == elf] (tests-static): Add
6201         tst-get-cpu-features-static.
6202         * sysdeps/x86/Versions: New file.
6203         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
6204         * sysdeps/x86/cpu-features.c: Likewise.
6205         * sysdeps/x86/cpu-features.h: Likewise.
6206         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
6207         * sysdeps/x86/libc-start.c: Likewise.
6208         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
6209         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
6210         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
6211         * sysdeps/x86_64/dl-procinfo.c: Likewise.
6212         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
6213         Assume USE_MULTIARCH is defined and don't check it.
6214         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
6215         (is_amd): Likewise.
6216         (max_cpuid): Likewise.
6217         (intel_check_word): Likewise.
6218         (__cache_sysconf): Don't call __init_cpu_features.
6219         (__x86_preferred_memory_instruction): Removed.
6220         (init_cacheinfo): Don't call __init_cpu_features. Replace
6221         __cpu_features with GLRO(dl_x86_cpu_features).
6222         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
6223         (dl_platform_init): Call init_cpu_features.
6224         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
6225         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
6226         * sysdeps/x86_64/multiarch/Versions: Removed.
6227         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
6228         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
6229         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
6230         Removed.
6231         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
6233 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
6235         [BZ #18820]
6236         * libio/Makefile (test-fmemopen-mem): New test.
6237         * libio/test-fmemopen.c (do_bz18820): New test.
6238         * libio/fmemopen.c (__fmemopen): Fix memory leak.
6239         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
6241 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
6243         [BZ #16734]
6244         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
6245         (FREE_BUF): Delete.
6246         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
6247         * libio/genops.c (_IO_setb): Use malloc and free directly.
6248         (_IO_default_doallocate, _IO_default_finish): Likewise.
6249         ( _IO_unbuffer_all): Likewise.
6250         ( libc_freeres_fn): Likewise.
6251         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
6252         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
6253         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
6254         (_IO_wdefault_doallocate): Likewise.
6256 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6258         [BZ #18086]
6259         * sysdeps/posix/nice.c (nice): Restore old errno.
6260         * posix/tst-nice.c (do_test): Add test for BZ #18086.
6262 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
6264         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
6266 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6268         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
6269         __bcopy and add a weak_alias to bcopy.
6270         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
6271         for static build.
6273         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
6274         cleanup macro usage.
6275         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
6276         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
6277         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
6278         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
6279         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
6280         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
6281         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
6282         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
6283         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
6284         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
6285         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
6286         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
6287         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
6288         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
6289         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6290         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
6291         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
6292         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
6293         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
6295         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
6296         libc_hidden_def.
6297         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
6299         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
6300         (sysdep_routines): Add strstr-ppc64.
6301         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
6303 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
6305         [BZ #18778]
6306         * elf/Makefile (tests): Add Add tst-nodelete2.
6307         (modules-names): Add tst-nodelete2mod.
6308         (tst-nodelete2mod.so-no-z-defs): New.
6309         ($(objpfx)tst-nodelete2): Likewise.
6310         ($(objpfx)tst-nodelete2.out): Likewise.
6311         (LDFLAGS-tst-nodelete2): Likewise.
6312         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
6313         out of loop through all loaded libraries.
6314         * elf/tst-nodelete2.c: New file.
6315         * elf/tst-nodelete2mod.c: Likewise.
6316         * elf/tst-znodelete-zlib.cc: Delete.
6318 2015-08-11  Andreas Schwab  <schwab@suse.de>
6320         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
6321         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
6322         (__openat64_nocancel): Likewise.
6324 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
6326         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
6327         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
6328         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
6329         * math/auto-libm-test-out: Regenerated.
6330         * sysdeps/i386/fpu/libm-test-ulps: Update.
6331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6333 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
6335         [BZ #18790]
6336         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
6337         threshold for returning +/- 1.
6338         * math/auto-libm-test-in: Add more tests of tanh.
6339         * math/auto-libm-test-out: Regenerated.
6340         * sysdeps/i386/fpu/libm-test-ulps: Update.
6342 2015-08-10  Andreas Schwab  <schwab@suse.de>
6344         [BZ #18781]
6345         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
6346         MORE_OFLAGS to oflag.
6347         * io/test-lfs.c (do_test): Test openat64.
6349 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
6351         [BZ #18789]
6352         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
6353         smaller threshold for returning the argument.
6354         * math/auto-libm-test-in: Add more tests of sinh.
6355         * math/auto-libm-test-out: Regenerated.
6356         * sysdeps/i386/fpu/libm-test-ulps: Update.
6358 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
6360         [BZ #18674]
6361         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
6362         break.
6364 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
6366         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
6367         (generated): Don't add $(addprefix z.,$(tzfiles)).
6369 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
6371         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
6372         * scripts/sysd-rules.awk: Likewise.
6374 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
6376         * iconvdata/tst-tables.sh: Change echo -n to printf.
6377         * nss/db-Makefile: Likewise.
6378         * posix/tst-getconf.sh: Likewise.
6379         * stdio-common/tst-unbputc.sh: Likewise.
6381 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
6383         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
6384         MADV_*_PAGES defines behind this feature check.
6386 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
6388         [BZ #18480]
6389         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
6390         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
6391         Define.
6392         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
6393         LOAD_REGS_5, LOAD_REGS_6): Update.
6394         (INTERNAL_SYSCALL): Update using new LOAD defines.
6395         (INTERNAL_SYSCALL_NCS): Likewise.
6396         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
6398 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6400         [BZ #16734]
6401         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
6403 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6405         [BZ #17905]
6406         * catgets/Makefile (tst-catgets-mem): New test.
6407         * catgets/catgets.c (catopen): Don't use unbounded alloca.
6408         * catgets/open_catalog.c (__open_catalog): Likewise.
6409         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
6411 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
6413         [BZ #18787]
6414         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
6415         clobber registers.
6416         (atomic_compare_and_exchange_val_acq): Use register asms to assign
6417         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
6418         Cast return to __typeof (oldval).
6420 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
6422         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
6423         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
6424         and delete sys/syscall.h include.
6426 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
6428         [BZ #16517]
6429         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
6430         (tan): Force underflow exception for arguments with small absolute
6431         value.
6432         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
6433         (__kernel_tanf): Force underflow exception for arguments with
6434         small absolute value.
6435         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
6436         (__kernel_tanl): Force underflow exception for arguments with
6437         small absolute value.
6438         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
6439         (__kernel_tanl): Force underflow exception for arguments with
6440         small absolute value.
6441         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
6442         (__kernel_tanl): Force underflow exception for arguments with
6443         small absolute value.
6444         * math/auto-libm-test-in: Add more tests of tan.
6445         * math/auto-libm-test-out: Regenerated.
6447 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6449         Fix sysdeps/i386/fpu/s_scalbn.S build
6451         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
6453 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
6455         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
6457 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6459         Fix gcrt0.o compilation
6461         When static-start-installed-name is different from
6462         start-installed-name, we must not use the shared objects.
6464         * csu/Makefile
6465         (extra-objs): Add gmon-start.o when building shared library and
6466         $(static-start-installed-name) is different from
6467         $(start-installed-name).
6468         $(objpfx)g$(static-start-installed-name): When building shared
6469         library and $(static-start-installed-name) is different from
6470         $(static-start-installed-name), revert to non-shared rule,
6471         i.e. using $(objpfx)% and gmon-start.o.
6473 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
6475         [BZ #16519]
6476         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
6477         (__ieee754_sinh): Force underflow exception for arguments with
6478         small absolute value.
6479         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
6480         (__ieee754_sinhf): Force underflow exception for arguments with
6481         small absolute value.
6482         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
6483         (__ieee754_sinhl): Force underflow exception for arguments with
6484         small absolute value.
6485         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
6486         (__ieee754_sinhl): Force underflow exception for arguments with
6487         small absolute value.
6488         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
6489         (__ieee754_sinhl): Force underflow exception for arguments with
6490         small absolute value.
6491         * math/auto-libm-test-in: Add more tests of sinh.
6492         * math/auto-libm-test-out: Regenerated.
6493         * sysdeps/i386/fpu/libm-test-ulps: Update.
6495 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6497         * libio/oldfileops.c: Include unistd.h.
6499 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
6501         * stdlib/isomac.c: Include ctype.h.
6503 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
6505         * dirent/tst-seekdir.c (main): Converted to ...
6506         (do_test): ... this.
6507         (TEST_FUNCTION): New macro.
6508         Include test-skeleton.c.
6509         * elf/tst-dlmodcount.c (main): Converted to ...
6510         (do_test): ... this.
6511         (TEST_FUNCTION): New macro.
6512         Include test-skeleton.c.
6513         * elf/tst-order-main.c (main): Converted to ...
6514         (do_test): ... this.
6515         (TEST_FUNCTION): New macro.
6516         Include test-skeleton.c.
6517         * elf/tst-pie2.c (main): Converted to ...
6518         (do_test): ... this.
6519         (TEST_FUNCTION): New macro.
6520         Include test-skeleton.c.
6521         * inet/tst-ether_aton.c (main): Converted to ...
6522         (do_test): ... this.
6523         (TEST_FUNCTION): New macro.
6524         Include test-skeleton.c.
6525         * misc/tst-mntent.c (main): Converted to ...
6526         (do_test): ... this.
6527         (TEST_FUNCTION): New macro.
6528         Include test-skeleton.c.
6529         * misc/tst-tsearch.c (main): Converted to ...
6530         (do_test): ... this.
6531         (TEST_FUNCTION): New macro.
6532         Include test-skeleton.c.
6533         * posix/tst-regexloc.c (main): Converted to ...
6534         (do_test): ... this.
6535         (TEST_FUNCTION): New macro.
6536         Include test-skeleton.c.
6537         * resolv/tst-aton.c (main): Converted to ...
6538         (do_test): ... this.
6539         (TEST_FUNCTION): New macro.
6540         Include test-skeleton.c.
6541         * stdio-common/test-fwrite.c (main): Converted to ...
6542         (do_test): ... this.
6543         (TEST_FUNCTION): New macro.
6544         Include test-skeleton.c.
6545         * stdio-common/tst-ferror.c (main): Converted to ...
6546         (do_test): ... this.
6547         (TEST_FUNCTION): New macro.
6548         Include test-skeleton.c.
6549         * stdio-common/tst-printf.c (main): Converted to ...
6550         (do_test): ... this.
6551         (TEST_FUNCTION): New macro.
6552         Include test-skeleton.c.
6553         * stdio-common/tst-printfsz.c (main): Converted to ...
6554         (do_test): ... this.
6555         (TEST_FUNCTION): New macro.
6556         Include test-skeleton.c.
6557         * stdlib/tst-strtod.c (main): Converted to ...
6558         (do_test): ... this.
6559         (TEST_FUNCTION): New macro.
6560         Include test-skeleton.c.
6561         * string/tst-strlen.c (main): Converted to ...
6562         (do_test): ... this.
6563         (TEST_FUNCTION): New macro.
6564         Include test-skeleton.c.
6565         * string/tst-svc.c (main): Converted to ...
6566         (do_test): ... this.
6567         (TEST_FUNCTION): New macro.
6568         Include test-skeleton.c.
6569         * time/tst-strptime.c (main): Converted to ...
6570         (do_test): ... this.
6571         (TEST_FUNCTION): New macro.
6572         Include test-skeleton.c.
6573         * timezone/tst-timezone.c (main): Converted to ...
6574         (do_test): ... this.
6575         (TEST_FUNCTION): New macro.
6576         Include test-skeleton.c.
6578 2015-08-05  Zack Weinberg  <zackw@panix.com>
6580         * misc/regexp.h: Update comments.
6582 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
6584         [BZ #18635]
6585         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
6586         before return label.
6588 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
6590         [BZ #18661]
6591         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
6592         when calling __errno_location.
6593         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
6594         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
6596 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
6598         [BZ #18661]
6599         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
6600         (__lll_timedwait_tid): Align stack to 16 bytes when calling
6601         __gettimeofday.
6603 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
6605         [BZ #18661]
6606         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6607         (__start_context): Don't use pop to restore %rdi so that stack
6608         is aligned to 16 bytes when calling __setcontext.
6610 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
6612         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
6613         only for libc.
6614         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
6616 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
6618         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
6619         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
6620         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
6622 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
6624         * string/memccpy.c (memccpy):
6625         Improve performance by using memchr/memcpy/__mempcpy.
6627 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
6629         * string/strncpy.c (strncpy):
6630         Improve performance by using __strnlen/memcpy.
6632 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
6634         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6635         Optimize to avoid an unnecessary FPCR read.
6637 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
6639         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
6640         Optimize to reduce FPCR/FPSR accesses.
6642 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
6644         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
6645         dead->data[category] != NULL.
6647 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
6649         [BZ #18647]
6650         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
6651         and |x| close to 1, use absolute value of x when computing log.
6652         * math/auto-libm-test-in: Add more tests of pow.
6653         * math/auto-libm-test-out: Regenerated.
6655 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6657         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
6658         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
6659         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
6661 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
6663         [BZ #18525]
6664         * locales/km_KH: Remove timezone definition.
6665         * locales/lo_LA: Likewise.
6666         * locales/my_MM: Likewise.
6667         * locales/nan_TW@latin: Likewise.
6668         * locales/th_TH: Likewise.
6669         * locales/uk_UA: Likewise.
6671 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
6673         [BZ #18265]
6674         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
6675         (wcsncat): Likewise.
6676         (wcscmp): Likewise.
6677         (wcsncmp): Likewise.
6679 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
6681         * test-skeleton.c (usage): New function.
6682         (main): Call usage when opt is '?'.
6684 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
6686         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
6687         before first use.
6689 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
6691         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
6692         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
6693         in there too.
6695 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
6697         * version.h (RELEASE): Set to "development".
6698         (VERSION): Set to "2.22.90"
6700         * version.h (RELEASE): Set to "stable".
6701         (VERSION): Set to "2.22"
6702         * include/features.h (__GLIBC_MINOR__): Set to 22.
6704 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
6706         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
6707         Restructure macro to avoid "value computed is not used" warning.
6708         (atomic_compare_and_exchange_val_acq): Likewise.
6710 2015-08-04  Andreas Schwab  <schwab@suse.de>
6712         [BZ #18635]
6713         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
6714         ret.
6715         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
6717 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
6719         * po/pl.po: Updated translation.
6720         * po/uk.po: Likewise.
6721         * po/fi.po: Likewise.
6722         * po/ko.po: Likewise.
6723         * po/ru.po: Likewise.
6724         * po/vi.po: Likewise.
6726 2015-07-31  Zack Weinberg  <zackw@panix.com>
6728         [BZ #18681]
6729         * regexp.h: Add unconditional #warning stating that this header
6730         will be removed soon.  Revise banner comment to match.
6731         (compile): Consistently use ERROR instead of RETURN to report
6732         errors (partial fix for bz#18681).
6733         * regexp.c: Don't include regexp.h. Remove some unnecessary
6734         declarations.
6736 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
6738         * po/libc.pot: Regenerated.
6740 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
6742         [BZ #18740]
6743         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
6744         float-vlen4-arch-ext-cflags): Removed.
6745         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
6746         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
6748 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
6750         [BZ #14113]
6751         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
6752         aligned to __aligned__.
6753         (pthread_cond_t, pthread_rwlock_t): Likewise.
6755 2015-07-30  Torvald Riegel  <triegel@redhat.com>
6757         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
6759 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
6761         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
6762         (struct sigaction): Change sa_flags from a long to an int, and add
6763         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
6765 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
6767         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
6768         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
6769         sysdeps/generic/sysdep.h include.
6770         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
6771         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
6772         sysdeps/hppa/sysdep.h.
6773         (ENTRY, PSEUDO): Undefine before defining.
6775 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
6777         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
6778         from scratch to use INTERNAL_SYSCALL.
6780 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
6782         [BZ #18078]
6783         * scripts/check-localplt.awk: Support alternate relocations.
6784         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
6785         sections.
6786         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
6787         malloc entries with + REL R_386_GLOB_DAT.
6788         * sysdeps/x86_64/localplt.data: New file.
6790 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
6792         [BZ #18731]
6793         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
6794         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6795         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6797 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
6799         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
6801 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
6803         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
6804         directly in terms of __sync_fetch_and_add and delete (int) cast.
6806 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
6808         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
6809         the -D_ASM_IA64_CURRENT_H flag.
6811 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
6813         [BZ #18641]
6814         * pwd/pwd.h (putpwent): Delete __nonnull markings.
6816 2015-07-27  Andreas Schwab  <schwab@suse.de>
6818         * conform/conformtest.pl (checknamespace): Filter out string
6819         literals while tokenizing.
6821 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
6823         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
6824         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
6825         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
6827 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
6829         * nptl/tst-join7mod.c: Add #include <string.h>.
6831 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
6833         * sysdeps/nios2/libm-test-ulps: Update.
6835 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
6837         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
6838         Fix order of arguments to the rt_sigprocmask syscall.
6839         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
6840         Likewise.
6842 2015-07-24  Roland McGrath  <roland@hack.frob.com>
6844         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
6846 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6848         [BZ #18457]
6849         * nptl/Makefile (tests): New test case tst-join7.
6850         (modules-names): New test case module tst-join7mod.
6851         * nptl/tst-join7.c: New file.
6852         * nptl/tst-join7mod.c: New file.
6853         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
6854         all translation units in libc.so, libpthread.so and rtld.
6856 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6858         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6860 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
6862         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
6863         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
6864         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
6865         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
6866         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
6867         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
6868         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
6869         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
6870         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
6871         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
6872         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
6873         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
6874         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
6875         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
6876         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
6877         implementation.
6879 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6881         [BZ #17711]
6882         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
6883         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
6884         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
6885         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
6886         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
6887         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
6889 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6891         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
6892         instead of just saying load lock in the comments.
6894 2015-07-23  Roland McGrath  <roland@hack.frob.com>
6896         * sysdeps/unix/Subdirs: Moved ...
6897         * sysdeps/posix/Subdirs: ... here.
6898         * login/pty.h (struct termios, struct winsize): Add forward decls.
6899         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
6900         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
6901         * sysdeps/arm/nacl/libc.abilist: Updated.
6902         * sysdeps/nacl/libutil.abilist: New file.
6904         * bits/signum.h: Update comments to mention 1003.1-2013 too.
6905         (SIGWINCH): New macro.
6907         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
6908         * sysdeps/arm/nacl/libc.abilist: Add it.
6910 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
6912         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
6914 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
6916         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
6917         Swap __glibc_reserved0 and sa_flags order.
6919 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6921         [BZ #18657]
6922         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
6923         are pending TLS destructor calls.
6924         * include/link.h (struct link_map): Add concurrency note for
6925         L_TLS_DTOR_COUNT.
6926         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6927         Don't touch the link map flag.  Atomically increment
6928         l_tls_dtor_count.
6929         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
6930         Avoid taking the load lock and don't touch the link map flag.
6931         * stdlib/tst-tls-atexit-nodelete.c: New test case.
6932         * stdlib/Makefile (tests): Use it.
6933         * stdlib/tst-tls-atexit.c (do_test): dlopen
6934         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
6935         to allow tst-tls-atexit-nodelete test case to use it.
6937 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6939         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
6940         to bits/types.h.
6941         (msgqnum_t): New typedef.
6942         (msglen_t): Likewise.
6943         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
6944         and msg_qbytes type to msglen_t.
6946 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6948         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
6949         pad0 to __glibc_reserved0.
6950         (struct stat64): Likewise.
6952 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6954         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
6955         Change sa_flags from a long to an int and add __glibc_reserved0 before
6956         it for padding.
6958 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
6960         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
6961         anonymous by deleting "siginfo" name.
6963 2015-07-21  Roland McGrath  <roland@hack.frob.com>
6965         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
6966         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
6967         rather than __nacl_irt_filename.
6968         * sysdeps/nacl/xstat.c (__xstat): Likewise.
6970         * NEWS: New item for arm-nacl port.
6971         * sysdeps/arm/nacl/libc.abilist: New file.
6972         * sysdeps/nacl/ld.abilist: New file.
6973         * sysdeps/nacl/libBrokenLocale.abilist: New file.
6974         * sysdeps/nacl/libanl.abilist: New file.
6975         * sysdeps/nacl/libcrypt.abilist: New file.
6976         * sysdeps/nacl/libdl.abilist: New file.
6977         * sysdeps/nacl/libm.abilist: New file.
6978         * sysdeps/nacl/libpthread.abilist: New file.
6979         * sysdeps/nacl/libresolv.abilist: New file.
6980         * sysdeps/nacl/librt.abilist: New file.
6982 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
6984         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
6985         __startcontext to initialize the new context.
6986         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
6987         up CFI directive to forbid further backtracing.
6989 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
6991         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
6992         reference.
6993         * charmaps/ANSI_X3.4-1968: Likewise.
6994         * charmaps/BS_4730: Likewise.
6995         * charmaps/BS_VIEWDATA: Likewise.
6996         * charmaps/CP1250: Likewise.
6997         * charmaps/CP1251: Likewise.
6998         * charmaps/CP1252: Likewise.
6999         * charmaps/CP1253: Likewise.
7000         * charmaps/CP1254: Likewise.
7001         * charmaps/CP1255: Likewise.
7002         * charmaps/CP1256: Likewise.
7003         * charmaps/CSN_369103: Likewise.
7004         * charmaps/EBCDIC-DK-NO: Likewise.
7005         * charmaps/GB_1988-80: Likewise.
7006         * charmaps/GREEK-CCITT: Likewise.
7007         * charmaps/GREEK7: Likewise.
7008         * charmaps/INIS-8: Likewise.
7009         * charmaps/ISIRI-3342: Likewise.
7010         * charmaps/ISO_2033-1983: Likewise.
7011         * charmaps/ISO_5427-EXT: Likewise.
7012         * locales/POSIX: Likewise.
7013         * locales/ar_SA: Likewise.
7014         * locales/be_BY: Likewise.
7015         * locales/be_BY@latin: Likewise.
7016         * locales/ca_ES: Likewise.
7017         * locales/cs_CZ: Likewise.
7018         * locales/da_DK: Likewise.
7019         * locales/de_BE: Likewise.
7020         * locales/de_CH: Likewise.
7021         * locales/de_LU: Likewise.
7022         * locales/en_AU: Likewise.
7023         * locales/en_BW: Likewise.
7024         * locales/en_CA: Likewise.
7025         * locales/en_DK: Likewise.
7026         * locales/en_GB: Likewise.
7027         * locales/en_IE: Likewise.
7028         * locales/en_NZ: Likewise.
7029         * locales/en_ZA: Likewise.
7030         * locales/en_ZW: Likewise.
7031         * locales/es_AR: Likewise.
7032         * locales/es_BO: Likewise.
7033         * locales/es_CL: Likewise.
7034         * locales/es_CO: Likewise.
7035         * locales/es_DO: Likewise.
7036         * locales/es_EC: Likewise.
7037         * locales/es_ES: Likewise.
7038         * locales/es_HN: Likewise.
7039         * locales/es_MX: Likewise.
7040         * locales/es_PA: Likewise.
7041         * locales/es_PE: Likewise.
7042         * locales/es_PY: Likewise.
7043         * locales/es_SV: Likewise.
7044         * locales/es_US: Likewise.
7045         * locales/es_UY: Likewise.
7046         * locales/es_VE: Likewise.
7047         * locales/et_EE: Likewise.
7048         * locales/fa_IR: Likewise.
7049         * locales/fo_FO: Likewise.
7050         * locales/fr_CA: Likewise.
7051         * locales/fr_CH: Likewise.
7052         * locales/gv_GB: Likewise.
7053         * locales/he_IL: Likewise.
7054         * locales/hr_HR: Likewise.
7055         * locales/id_ID: Likewise.
7056         * locales/is_IS: Likewise.
7057         * locales/it_CH: Likewise.
7058         * locales/iw_IL: Likewise.
7059         * locales/kl_GL: Likewise.
7060         * locales/ko_KR: Likewise.
7061         * locales/kw_GB: Likewise.
7062         * locales/lg_UG: Likewise.
7063         * locales/lt_LT: Likewise.
7064         * locales/lv_LV: Likewise.
7065         * locales/mi_NZ: Likewise.
7066         * locales/nhn_MX: Likewise.
7067         * locales/nl_BE: Likewise.
7068         * locales/pl_PL: Likewise.
7069         * locales/sk_SK: Likewise.
7070         * locales/sl_SI: Likewise.
7071         * locales/sv_FI: Likewise.
7072         * locales/tl_PH: Likewise.
7073         * locales/tr_TR: Likewise.
7074         * locales/vi_VN: Likewise.
7076 2015-07-21  Khem Raj  <raj.khem@gmail.com>
7078         [BZ #17475]
7079         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
7080         of tu_IN and bh_IN.
7082 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
7084         [BZ #18694]
7085         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
7086         bits/wordsize.h.
7087         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
7089 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7091         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
7092         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
7093         (spawn_thread): New function.
7094         (load): Rename to reg_dtor_and_close.  Move dlopen to...
7095         (do_test): ... here.  Use IS_LOADED to test for its
7096         availability.
7098 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
7100         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7102 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
7104         [BZ #18696]
7105         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
7106         si_addr_bnd.
7107         (si_lower): New.
7108         (si_upper): Likewise.
7110 2015-07-16  David S. Miller  <davem@davemloft.net>
7112         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
7114 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7116         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
7117         buffer.
7118         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
7119         fail output information.
7121 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7123         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
7124         and strstr-ppc64..
7125         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7126         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
7127         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
7128         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
7129         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
7131 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
7133         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
7134         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
7135         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
7136         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
7138 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
7140         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
7141         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
7142         rtld_hidden_proto.
7143         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
7145 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7147         * tst-nodelete-opened.c (do_test): Add comment to clarify how
7148         the test can fail.
7150         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
7152         [BZ #18676]
7153         * elf/tst-nodelete-opened.c: New test case.
7154         * elf/tst-nodelete-opened-lib.c: New test case module.
7155         * elf/Makefile (tests, modules-names): Use them.
7156         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
7157         early.
7159 2015-07-15  David S. Miller  <davem@davemloft.net>
7161         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
7162         futex-intenal.h
7163         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
7164         * sysdeps/sparc/sparc64/Makefile: Likewise.
7165         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
7166         Remove space from macro define.
7167         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
7169 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
7171         [BZ #17475]
7172         * locale/iso-639.def: Update Bhili and Tulu language codes as
7173         per iso639-3.
7175 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
7177         * elf/tst-leaks1.c (main): Converted to ...
7178         (do_test): ... this.
7179         (TEST_FUNCTION): New macro.
7180         Include test-skeleton.c.
7181         * localedata/tst-langinfo.c (main): Converted to ...
7182         (do_test): ... this.
7183         (TEST_FUNCTION): New macro.
7184         Include test-skeleton.c.
7185         * math/test-fpucw.c (main): Converted to ...
7186         (do_test): ... this.
7187         (TEST_FUNCTION): New macro.
7188         Include test-skeleton.c.
7189         * math/test-tgmath.c (main): Converted to ...
7190         (do_test): ... this.
7191         (TEST_FUNCTION): New macro.
7192         Include test-skeleton.c.
7193         * math/test-tgmath2.c (main): Converted to ...
7194         (do_test): ... this.
7195         (TEST_FUNCTION): New macro.
7196         Include test-skeleton.c.
7197         * setjmp/tst-setjmp.c (main): Converted to ...
7198         (do_test): ... this.
7199         (TEST_FUNCTION): New macro.
7200         Include test-skeleton.c.
7201         * stdio-common/tst-sscanf.c (main): Converted to ...
7202         (do_test): ... this.
7203         (TEST_FUNCTION): New macro.
7204         Include test-skeleton.c.
7205         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
7206         (do_test): ... this.
7207         (TEST_FUNCTION): New macro.
7208         Include test-skeleton.c.
7210         * elf/tst-audit9.c (main): Converted to ...
7211         (do_test): ... this.
7212         (TEST_FUNCTION): New macro.
7213         Include test-skeleton.c.
7215 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
7217         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
7219 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
7221         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
7222         New variable.
7224 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
7226         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7228 2015-07-14  Roland McGrath  <roland@hack.frob.com>
7230         * sysdeps/generic/dl-fileid.h: New file.
7231         * sysdeps/posix/dl-fileid.h: New file.
7232         * sysdeps/nacl/dl-fileid.h: New file.
7233         * include/link.h: Include <dl-fileid.h>.
7234         (struct link_map): Replace l_dev and l_ino with l_file_id.
7235         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
7236         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
7237         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
7239 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7241         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
7243 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7245         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
7246         Add iff $CXX is set.
7247         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
7248         Likewise.
7249         (tst-nodelete-zmodiff): Likewise.
7250         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
7252 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7254         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
7256 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
7258         * sysdeps/aarch64/fpu/math_private.h
7259         (define math_opt_barrier): Add AArch64 version.
7260         (math_force_eval): Likewise.
7262 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
7264         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
7266 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
7268         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
7269         %ld with %jd and cast to intmax_t.
7270         (do_test_length_zero): Likewise.
7272 2015-07-10  Roland McGrath  <roland@hack.frob.com>
7274         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
7276 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
7278         * sysdeps/tile/libm-test-ulps: Regenerated.
7280         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
7281         Comment out the whole function, not just its body.
7283 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7285         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
7286         locks.
7288         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
7290 2015-07-10  Torvald Riegel  <triegel@redhat.com>
7292         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
7293         (sem_assume_only_signals_cause_futex_EINTR): Remove.
7295 2015-07-10  Torvald Riegel  <triegel@redhat.com>
7297         * sysdeps/nptl/futex-internal.h: New file.
7298         * sysdeps/nacl/futex-internal.h: New file.
7299         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
7300         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
7301         error checking.
7302         (setxid_unmark_thread): Likewise.
7303         (__nptl_setxid): Likewise.
7304         (__wait_lookup_done): Likewise.
7305         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
7306         * nptl/nptl-init.c (sighandler_setxid): Likewise.
7307         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
7308         * nptl/pthread_once.c (clear_once_control): Likewise.
7309         (__pthread_once_slow): Likewise.
7310         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
7311         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
7312         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
7313         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
7314         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
7315         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
7316         Likewise.
7317         (__pthread_rwlock_rdlock): Likewise.
7318         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7319         Likewise.
7320         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7321         Likewise.
7322         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
7323         Likewise.
7324         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
7325         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
7326         Likewise.
7327         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
7328         __ASSUME_PRIVATE_FUTEX check.
7329         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
7330         Check that shared futexes are supported.
7331         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
7332         wrappers with error checking.
7333         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
7334         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
7335         * nptl/pthread_barrierattr_setpshared.c
7336         (pthread_barrierattr_setpshared): Check that shared futexes are
7337         supported.
7338         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
7339         Likewise.
7340         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
7341         Likewise.
7342         * nptl/sem_init.c (futex_private_if_supported): Remove.
7343         (__new_sem_init): Adapt and check that shared futexes are supported.
7344         * nptl/sem_open.c (sem_open): Likewise.
7345         * nptl/sem_post.c (futex_wake): Remove.
7346         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
7347         (do_futex_wait): Use futex wrappers with error checking.
7348         * nptl/sem_wait.c: Include lowlevellock.h.
7349         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
7350         Use futex_supports_pshared.
7351         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
7352         Use futex wrappers with error checking.
7353         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
7354         Likewise.
7355         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
7356         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
7357         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
7358         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
7359         (futex_wake): Likewise.
7360         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
7361         (do_futex_wait): Use futex wrappers with error checking.
7362         (__new_sem_wait_slow): Update EINTR handling.
7363         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
7365 2015-07-09  Martin Sebor  <msebor@redhat.com>
7367         [BZ #18435]
7368         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
7369         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
7370         * nptl/Makefile (test-xfail-tst-once5): Define.
7372 2015-07-09  Roland McGrath  <roland@hack.frob.com>
7374         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
7375         * elf/dl-minimal.c: For readability, reorder some definitions and
7376         introduce more page breaks.  Include <stdio.h>.
7377         (__libc_fatal): New function.
7379         * include/unistd.h: Add rtld_hidden_proto for _exit.
7380         * posix/_exit.c: Add rtld_hidden_def.
7381         * sysdeps/mach/hurd/_exit.c: Likewise.
7382         * sysdeps/nacl/_exit.c: Likewise.
7383         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
7384         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
7386 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
7388         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
7389         bndmov encoding with zero displacement.
7391 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
7392             H.J. Lu  <hongjiu.lu@intel.com>
7394         [BZ #18134]
7395         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
7396         * sysdeps/i386/configure: Regenerated.
7397         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
7398         (_dl_runtime_profile): Save and restore Intel MPX return bound
7399         registers when calling _dl_call_pltexit.  Add
7400         PRESERVE_BND_REGS_PREFIX before return.
7401         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
7402         (LRV_BND1_OFFSET): Likewise.
7403         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
7404         lrv_bnd1.
7405         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
7406         typo in bndmov encoding.
7407         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
7408         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
7409         branch instructions to preserve bounds.
7411 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7414         [GLIBC_2.22]: Add fmemopen.
7416 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7418         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
7419         returns an error, also try to use host port from __mach_host_self for
7420         the __vm_wire call.
7421         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
7423 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7425         [BZ #18400]
7426         [BZ #18648]
7427         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
7428         Fix pr_uid and pr_gid members.
7429         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
7430         definition to elf_greg_t.
7432 2015-07-08  Roland McGrath  <roland@hack.frob.com>
7434         [BZ #18383]
7435         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
7436         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
7437         * sysdeps/arm/configure: Regenerated.
7438         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
7439         (test-xfail-tst-tlsalign-static): Variable removed.
7441         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
7442         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
7443         rather than explicit 'ln -s'.
7445         * resolv/rpc/netdb.h: New file.
7446         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
7448 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7450         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
7451         length buffers.
7452         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
7453         test-skeleton.c.
7455         [BZ #6544]
7456         [BZ #11216]
7457         [BZ #12836]
7458         [BZ #13151]
7459         [BZ #13152]
7460         [BZ #14292]
7461         * include/stdio.h (fmemopen): Remove hidden prototype.
7462         (__fmemopen): Add new hidden prototype.
7463         * libio/Makefile: Add oldfmemopen object.
7464         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
7465         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
7466         compliance.
7467         * libio/oldfmemopen.c: New file: old fmemopen implementation for
7468         symbol compatibility.
7469         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
7470         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
7471         fmemopen.
7472         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
7473         on append and read mode.
7474         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
7475         fmemopen.
7476         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
7477         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
7478         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
7479         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
7480         Likewise.
7481         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
7482         [GLIBC_2.22]: Likewise.
7483         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
7484         Likewise.
7485         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
7486         Likewise.
7487         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7488         [GLIBC_2.22]: Likewise.
7489         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7490         [GLIBC_2.22]: Likewise.
7491         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7492         [GLIBC_2.22]: Likewise.
7493         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7494         [GLIBC_2.22]: Likewise.
7495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7496         [GLIBC_2.22]: Likewise.
7497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7498         [GLIBC_2.22]: Likewise.
7499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7500         [GLIBC_2.22]: Likewise.
7501         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
7502         Likewise.
7503         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
7504         Likewise.
7505         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
7506         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
7507         [GLIBC_2.22]: Likewise.
7508         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
7509         [GLIBC_2.22]: Likewise.
7510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
7511         [GLIBC_2.22]: Likewise.
7512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
7513         [GLIBC_2.22]: Likewise.
7514         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
7515         Likewise.
7516         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
7517         Likewise.
7518         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
7519         Likewise.
7520         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
7521         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
7523 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
7525         [BZ #18643]
7526         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
7527         IPV6_PATHMTU, and IPV6_DONTFRAG.
7529 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
7531         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
7532         and _IO_UNBUFFERED.
7533         * libio/oldfileops.c: Likewise.
7534         * libio/wfileops.c: Likewise.
7536 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
7538         * nscd/selinux.c: Delete selinux/flask.h include.
7540 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
7542         [BZ #18641]
7543         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
7544         (putpwent): Likewise.
7545         (getpwnam): Likewise.
7546         (getpwent_r): Likewise.
7547         (getpwuid_r): Likewise.
7548         (getpwnam_r): Likewise.
7549         (fgetpwent_r): Likewise.
7551 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
7553         [BZ #18557]
7554         * inet/rcmd.c (__validuser2_sa): Check user first to
7555         short-circuit host check.
7557 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
7558             Mikhail Ilin  <m.ilin@samsung.com>
7560         [BZ #17833]
7561         * elf/Makefile (tests): Add tst-nodelete.
7562         (modules-names): Add tst-nodelete-uniquemod.
7563         (tst-nodelete-uniquemod.so-no-z-defs): New.
7564         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
7565         (tst-nodelete-zmod.so-no-z-defs): Likewise.
7566         ($(objpfx)tst-nodelete): Likewise.
7567         ($(objpfx)tst-nodelete.out): Likewise.
7568         (LDFLAGS-tst-nodelete): Likewise.
7569         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
7570         * elf/dl-close.c (_dl_close_worker): Add a parameter to
7571         implement forced object deletion.
7572         (_dl_close): Pass false to _dl_close_worker.
7573         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
7574         * elf/tst-nodelete.cc: New file.
7575         * elf/tst-nodeletelib.cc: Likewise.
7576         * elf/tst-znodeletelib.cc: Likewise.
7577         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
7579 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7581         [BZ #18508]
7582         * stdlib/Makefile ($(objpfx)tst-makecontext3):
7583         Depend on $(libdl).
7584         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
7585         is not called infinitely times.
7586         (backtrace_helper): New function.
7587         (trace_arg): New struct.
7588         (st1): Enlarge stack size.
7589         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7590         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
7591         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7592         Likewise.
7594 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7596         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7598 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
7600         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
7601         Include sys/types.h instead of bits/types.h.
7602         Remove inclusion of bits/wordsize.h.
7604 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
7606         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
7607         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
7608         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
7609         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
7610         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
7611         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
7613 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
7615         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
7616         link-defines.sym.
7617         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
7618         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
7619         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
7620         and LR_SIZE.
7621         * sysdeps/i386/link-defines.sym: New file.
7623 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
7625         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
7626         (modules-names): Add tst-auditmod3a tst-auditmod3b.
7627         ($(objpfx)tst-audit3): New rule.
7628         ($(objpfx)tst-audit3.out): Likewise.
7629         * sysdeps/i386/tst-audit3.c: New file.
7630         * sysdeps/i386/tst-audit3.h: Likewise.
7631         * sysdeps/i386/tst-auditmod3a.c: Likewise.
7632         * sysdeps/i386/tst-auditmod3b.c: Likewise.
7634 2015-07-07  Torvald Riegel  <triegel@redhat.com>
7636         [BZ #18633]
7637         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
7638         pointer in C code.
7639         (__strcat_c): Likewise.
7640         (__strcat_g): Likewise.
7642 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
7644         [BZ #18592]
7645         * misc/sbrk.c: Set errno to ENOMEM on overflow.
7647 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
7649         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
7650         New function.  (__ieee754_sqrtf): New function.
7651         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
7652         New function.
7653         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
7654         New function.
7656 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
7658         * sysdeps/ieee754/support.c: Remove unused file.
7660 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7662         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
7663         registers instead of d ones so the layout is kernel abi compatible.
7664         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
7665         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
7666         Likewise.
7668 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7670         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7672 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
7674         [BZ #18619]
7675         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
7676         and return argument in case of subnormal argument.
7678 2015-07-01  Martin Sebor  <msebor@redhat.com>
7680         [BZ #18435]
7681         * nptl/Makefile: Add tst-once5.cc.
7682         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
7683         Remove macro redefinitions.
7684         * nptl/tst-once5.cc: New test.
7686 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
7688         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7690         * sysdeps/arm/libm-test-ulps: Regenerated.
7692         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7693         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7695 2015-06-30  Torvald Riegel  <triegel@redhat.com>
7697         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
7698         lll_lock_wait_private and lll_futex_wake probes.
7700         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
7701         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
7702         Likewise.
7703         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
7704         atomic_spin_nop.
7705         * sysdeps/x86_64/bits/atomic.h: Likewise.
7706         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
7707         to atomic_spin_nop and move ...
7708         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
7709         ... here and ...
7710         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
7711         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
7712         atomic_spin_nop instead of BUSY_WAIT_NOP.
7713         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
7714         Likewise.
7715         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
7716         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
7717         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
7718         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
7719         instead of atomic_delay.
7721 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
7723         [BZ #18613]
7724         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
7725         X_ADJ not X when adjusting exponent.
7726         (__ieee754_gamma_r): Do intermediate computations in
7727         round-to-nearest then adjust overflowing and underflowing results
7728         as needed.
7729         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
7730         of X_ADJ not X when adjusting exponent.
7731         (__ieee754_gammaf_r): Do intermediate computations in
7732         round-to-nearest then adjust overflowing and underflowing results
7733         as needed.
7734         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
7735         log of X_ADJ not X when adjusting exponent.
7736         (__ieee754_gammal_r): Do intermediate computations in
7737         round-to-nearest then adjust overflowing and underflowing results
7738         as needed.  Use 1.0L not 1.0f as numerator of division.
7739         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
7740         log of X_ADJ not X when adjusting exponent.
7741         (__ieee754_gammal_r): Do intermediate computations in
7742         round-to-nearest then adjust overflowing and underflowing results
7743         as needed.  Use 1.0L not 1.0f as numerator of division.
7744         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
7745         of X_ADJ not X when adjusting exponent.
7746         (__ieee754_gammal_r): Do intermediate computations in
7747         round-to-nearest then adjust overflowing and underflowing results
7748         as needed.  Use 1.0L not 1.0f as numerator of division.
7749         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
7750         to auto-libm-test-in.
7751         (tgamma_test): Use ALL_RM_TEST.
7752         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
7753         tests of tgamma with spurious-overflow.
7754         * math/auto-libm-test-out: Regenerated.
7755         * math/gen-libm-have-vector-test.sh: Do not check for START.
7756         * sysdeps/i386/fpu/libm-test-ulps: Update.
7757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7759         [BZ #18612]
7760         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
7761         arguments, just return 0.5 times the argument, with underflow
7762         forced as needed.
7763         * math/auto-libm-test-in: Add more tests of j1.
7764         * math/auto-libm-test-out: Regenerated.
7766         [BZ #16559]
7767         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
7768         (__ieee754_j1): Force underflow exception for small results.
7769         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7770         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
7771         (__ieee754_j1f): Force underflow exception for small results.
7772         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7773         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7774         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7775         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
7776         (__ieee754_j1l): Force underflow exception for small results.
7777         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7778         * math/auto-libm-test-in: Add more tests of j1 and jn.
7779         * math/auto-libm-test-out: Regenerated.
7781         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
7782         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
7783         (PF_MPLS): Likewise.
7784         (AF_IB): Likewise.
7785         (AF_MPLS): Likewise.
7786         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
7787         value and macro.
7788         (MS_RMT_MASK): Include MS_LAZYTIME.
7790 2015-06-26  Mel Gorman  <mgorman@suse.de>
7792         [BZ #18502]
7793         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
7794         already minimal.
7796 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
7798         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
7799         (DT_MIPS_NUM): Update.
7800         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
7801         DT_MIPS_RLD_MAP_REL.
7803 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
7805         [BZ #16559]
7806         [BZ #18602]
7807         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
7808         round-to-nearest internally then recompute results that
7809         underflowed to zero in the original rounding mode.
7810         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7811         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7812         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7813         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
7814         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
7815         * sysdeps/i386/fpu/libm-test-ulps: Update.
7816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7818 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
7820         * NEWS: Fixed description of link with vector math library.
7822 2015-06-25  Andreas Schwab  <schwab@suse.de>
7824         [BZ #18549]
7825         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
7826         * libio/test-fmemopen.c (do_test): Add test for it.
7828 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
7830         [BZ #17841]
7831         * Makeconfig (no-pie-ldflag): New.
7832         (+link): Set to $(+link-pie) if default to PIE.
7833         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
7834         * config.make.in (build-pie-default): New.
7835         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
7836         is default.  AC_SUBST.
7837         * configure: Regenerated.
7838         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
7840 2015-06-24  Roland McGrath  <roland@hack.frob.com>
7842         * nptl/descr.h (struct pthread): Change type of field setxid_futex
7843         to 'unsigned int'.
7845         * resolv/gai_misc.h (struct waitlist): Change type of field
7846         counterp to 'volatile unsigned int *'.
7847         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
7848         FUTEXADDR and OLDVAL.
7849         * resolv/getaddrinfo_a.c (getaddrinfo_a):
7850         Give local variable TOTAL type 'volatile unsigned int'.
7851         (struct async_waitlist): Change type of field counter to 'unsigned int'.
7852         * resolv/gai_suspend.c (gai_suspend):
7853         Give local variable CNTR type 'unsigned int'.
7855         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
7856         counterp to 'volatile unsigned int *'.
7857         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
7858         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
7859         (aio_suspend): Give local variable CNTR type 'unsigned int'.
7860         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
7861         Give local variable TOTAL type 'volatile unsigned int'.
7862         (struct async_waitlist): Change type of field counter to 'unsigned int'.
7864 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
7866         [BZ #18383]
7867         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
7868         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
7869         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
7870         comment for i386/x86-64.
7871         (test-xfail-tst-tlsalign-extern-static): Removed.
7873 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
7875         * math/test-double.h: New file.
7876         * math/test-float.h: Likewise.
7877         * math/test-ldouble.h: Likewise.
7878         * math/test-math-inline.h: Likewise.
7879         * math/test-math-no-inline.h: Likewise.
7880         * math/test-math-scalar.h: Likewise.
7881         * math/test-math-vector.h: Likewise.
7882         * math/test-vec-loop.h: Remove file.  Contents moved into
7883         test-math-vector.h.
7884         * math/libm-test.inc (MATHCONST): Do not document macro.
7885         * math/test-double.c: Include test-double.h, test-math-no-inline.h
7886         and test-math-scalar.h.
7887         (FUNC): Remove macro.
7888         (FUNC_TEST): Likewise.
7889         (FLOAT): Likewise.
7890         (MATHCONST): Likewise.
7891         (PRINTF_EXPR): Likewise.
7892         (PRINTF_XEXPR): Likewise.
7893         (PRINTF_NEXPR): Likewise.
7894         (TEST_DOUBLE): Likewise.
7895         (TEST_MATHVEC): Likewise.
7896         (__NO_MATH_INLINES): Likewise.
7897         * math/test-float.c: Include test-float.h, test-math-no-inline.h
7898         and test-math-scalar.h.
7899         (FUNC): Remove macro.
7900         (FUNC_TEST): Likewise.
7901         (FLOAT): Likewise.
7902         (MATHCONST): Likewise.
7903         (PRINTF_EXPR): Likewise.
7904         (PRINTF_XEXPR): Likewise.
7905         (PRINTF_NEXPR): Likewise.
7906         (TEST_FLOAT): Likewise.
7907         (TEST_MATHVEC): Likewise.
7908         (__NO_MATH_INLINES): Likewise.
7909         * math/test-idouble.c: Include test-double.h, test-math-inline.h
7910         and test-math-scalar.h.
7911         (FUNC): Remove macro.
7912         (FUNC_TEST): Likewise.
7913         (FLOAT): Likewise.
7914         (MATHCONST): Likewise.
7915         (PRINTF_EXPR): Likewise.
7916         (PRINTF_XEXPR): Likewise.
7917         (PRINTF_NEXPR): Likewise.
7918         (TEST_DOUBLE): Likewise.
7919         (TEST_MATHVEC): Likewise.
7920         (TEST_INLINE): Likewise.
7921         (__NO_MATH_INLINES): Likewise.
7922         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
7923         test-math-scalar.h.
7924         (FUNC): Remove macro.
7925         (FUNC_TEST): Likewise.
7926         (FLOAT): Likewise.
7927         (MATHCONST): Likewise.
7928         (PRINTF_EXPR): Likewise.
7929         (PRINTF_XEXPR): Likewise.
7930         (PRINTF_NEXPR): Likewise.
7931         (TEST_FLOAT): Likewise.
7932         (TEST_MATHVEC): Likewise.
7933         (TEST_INLINE): Likewise.
7934         (__NO_MATH_INLINES): Likewise.
7935         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
7936         and test-math-scalar.h.
7937         (FUNC): Remove macro.
7938         (FUNC_TEST): Likewise.
7939         (FLOAT): Likewise.
7940         (MATHCONST): Likewise.
7941         (PRINTF_EXPR): Likewise.
7942         (PRINTF_XEXPR): Likewise.
7943         (PRINTF_NEXPR): Likewise.
7944         (TEST_LDOUBLE): Likewise.
7945         (TEST_MATHVEC): Likewise.
7946         (TEST_INLINE): Likewise.
7947         (__NO_MATH_INLINES): Likewise.
7948         * math/test-ldouble.c: Include test-ldouble.h,
7949         test-math-no-inline.h and test-math-scalar.h.
7950         (FUNC): Remove macro.
7951         (FUNC_TEST): Likewise.
7952         (FLOAT): Likewise.
7953         (MATHCONST): Likewise.
7954         (PRINTF_EXPR): Likewise.
7955         (PRINTF_XEXPR): Likewise.
7956         (PRINTF_NEXPR): Likewise.
7957         (TEST_LDOUBLE): Likewise.
7958         (TEST_MATHVEC): Likewise.
7959         (__NO_MATH_INLINES): Likewise.
7960         * math/test-double-vlen2.h: Include test-double.h,
7961         test-math-no-inline.h and test-math-vector.h.
7962         (FLOAT): Remove macro.
7963         (FUNC): Likewise.
7964         (MATHCONST): Likewise.
7965         (PRINTF_EXPR): Likewise.
7966         (PRINTF_XEXPR): Likewise.
7967         (PRINTF_NEXPR): Likewise.
7968         (TEST_DOUBLE): Likewise.
7969         (TEST_MATHVEC): Likewise.
7970         (__NO_MATH_INLINES): Likewise.
7971         (CNCT): Likewise.
7972         (CONCAT): Likewise.
7973         (WRAPPER_NAME): Likewise.
7974         (WRAPPER_DECL): Likewise.
7975         (WRAPPER_DECL_ff): Likewise.
7976         (WRAPPER_DECL_fFF): Likewise.
7977         (VECTOR_WRAPPER): Likewise.
7978         (VECTOR_WRAPPER_ff): Likewise.
7979         (VECTOR_WRAPPER_fFF): Likewise.
7980         (VEC_LEN): New macro.
7981         * math/test-double-vlen4.h: Include test-double.h,
7982         test-math-no-inline.h and test-math-vector.h.
7983         (FLOAT): Remove macro.
7984         (FUNC): Likewise.
7985         (MATHCONST): Likewise.
7986         (PRINTF_EXPR): Likewise.
7987         (PRINTF_XEXPR): Likewise.
7988         (PRINTF_NEXPR): Likewise.
7989         (TEST_DOUBLE): Likewise.
7990         (TEST_MATHVEC): Likewise.
7991         (__NO_MATH_INLINES): Likewise.
7992         (CNCT): Likewise.
7993         (CONCAT): Likewise.
7994         (WRAPPER_NAME): Likewise.
7995         (WRAPPER_DECL): Likewise.
7996         (WRAPPER_DECL_ff): Likewise.
7997         (WRAPPER_DECL_fFF): Likewise.
7998         (VECTOR_WRAPPER): Likewise.
7999         (VECTOR_WRAPPER_ff): Likewise.
8000         (VECTOR_WRAPPER_fFF): Likewise.
8001         (VEC_LEN): New macro.
8002         * math/test-double-vlen8.h: Include test-double.h,
8003         test-math-no-inline.h and test-math-vector.h.
8004         (FLOAT): Remove macro.
8005         (FUNC): Likewise.
8006         (MATHCONST): Likewise.
8007         (PRINTF_EXPR): Likewise.
8008         (PRINTF_XEXPR): Likewise.
8009         (PRINTF_NEXPR): Likewise.
8010         (TEST_DOUBLE): Likewise.
8011         (TEST_MATHVEC): Likewise.
8012         (__NO_MATH_INLINES): Likewise.
8013         (CNCT): Likewise.
8014         (CONCAT): Likewise.
8015         (WRAPPER_NAME): Likewise.
8016         (WRAPPER_DECL): Likewise.
8017         (WRAPPER_DECL_ff): Likewise.
8018         (WRAPPER_DECL_fFF): Likewise.
8019         (VECTOR_WRAPPER): Likewise.
8020         (VECTOR_WRAPPER_ff): Likewise.
8021         (VECTOR_WRAPPER_fFF): Likewise.
8022         (VEC_LEN): New macro.
8023         * math/test-float-vlen4.h: Include test-float.h,
8024         test-math-no-inline.h and test-math-vector.h.
8025         (FLOAT): Remove macro.
8026         (FUNC): Likewise.
8027         (MATHCONST): Likewise.
8028         (PRINTF_EXPR): Likewise.
8029         (PRINTF_XEXPR): Likewise.
8030         (PRINTF_NEXPR): Likewise.
8031         (TEST_FLOAT): Likewise.
8032         (TEST_MATHVEC): Likewise.
8033         (__NO_MATH_INLINES): Likewise.
8034         (CNCT): Likewise.
8035         (CONCAT): Likewise.
8036         (WRAPPER_NAME): Likewise.
8037         (WRAPPER_DECL): Likewise.
8038         (WRAPPER_DECL_ff): Likewise.
8039         (WRAPPER_DECL_fFF): Likewise.
8040         (VECTOR_WRAPPER): Likewise.
8041         (VECTOR_WRAPPER_ff): Likewise.
8042         (VECTOR_WRAPPER_fFF): Likewise.
8043         (VEC_LEN): New macro.
8044         * math/test-float-vlen8.h: Include test-float.h,
8045         test-math-no-inline.h and test-math-vector.h.
8046         (FLOAT): Remove macro.
8047         (FUNC): Likewise.
8048         (MATHCONST): Likewise.
8049         (PRINTF_EXPR): Likewise.
8050         (PRINTF_XEXPR): Likewise.
8051         (PRINTF_NEXPR): Likewise.
8052         (TEST_FLOAT): Likewise.
8053         (TEST_MATHVEC): Likewise.
8054         (__NO_MATH_INLINES): Likewise.
8055         (CNCT): Likewise.
8056         (CONCAT): Likewise.
8057         (WRAPPER_NAME): Likewise.
8058         (WRAPPER_DECL): Likewise.
8059         (WRAPPER_DECL_ff): Likewise.
8060         (WRAPPER_DECL_fFF): Likewise.
8061         (VECTOR_WRAPPER): Likewise.
8062         (VECTOR_WRAPPER_ff): Likewise.
8063         (VECTOR_WRAPPER_fFF): Likewise.
8064         (VEC_LEN): New macro.
8065         * math/test-float-vlen16.h: Include test-float.h,
8066         test-math-no-inline.h and test-math-vector.h.
8067         (FLOAT): Remove macro.
8068         (FUNC): Likewise.
8069         (MATHCONST): Likewise.
8070         (PRINTF_EXPR): Likewise.
8071         (PRINTF_XEXPR): Likewise.
8072         (PRINTF_NEXPR): Likewise.
8073         (TEST_FLOAT): Likewise.
8074         (TEST_MATHVEC): Likewise.
8075         (__NO_MATH_INLINES): Likewise.
8076         (CNCT): Likewise.
8077         (CONCAT): Likewise.
8078         (WRAPPER_NAME): Likewise.
8079         (WRAPPER_DECL): Likewise.
8080         (WRAPPER_DECL_ff): Likewise.
8081         (WRAPPER_DECL_fFF): Likewise.
8082         (VECTOR_WRAPPER): Likewise.
8083         (VECTOR_WRAPPER_ff): Likewise.
8084         (VECTOR_WRAPPER_fFF): Likewise.
8085         (VEC_LEN): New macro.
8086         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
8087         test-vec-loop.h.
8088         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8089         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8090         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8091         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8092         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8093         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8094         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
8096 2015-06-24  Roland McGrath  <roland@hack.frob.com>
8098         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
8099         (__getlogin_r): ... this.
8101 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
8103         [BZ #18594]
8104         * math/s_ccosh.c (__ccosh): Compare with least normal value
8105         instead of comparing class with FP_SUBNORMAL.
8106         * math/s_ccoshf.c (__ccoshf): Likewise.
8107         * math/s_ccoshl.c (__ccoshl): Likewise.
8108         * math/s_cexp.c (__cexp): Likewise.
8109         * math/s_cexpf.c (__cexpf): Likewise.
8110         * math/s_cexpl.c (__cexpl): Likewise.
8111         * math/s_csin.c (__csin): Likewise.
8112         * math/s_csinf.c (__csinf): Likewise.
8113         * math/s_csinh.c (__csinh): Likewise.
8114         * math/s_csinhf.c (__csinhf): Likewise.
8115         * math/s_csinhl.c (__csinhl): Likewise.
8116         * math/s_csinl.c (__csinl): Likewise.
8117         * math/s_ctan.c (__ctan): Likewise.
8118         * math/s_ctanf.c (__ctanf): Likewise.
8119         * math/s_ctanh.c (__ctanh): Likewise.
8120         * math/s_ctanhf.c (__ctanhf): Likewise.
8121         * math/s_ctanhl.c (__ctanhl): Likewise.
8122         * math/s_ctanl.c (__ctanl): Likewise.
8123         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
8124         csin, csinh, ctan and ctanh.
8125         * math/auto-libm-test-out: Regenerated.
8126         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
8127         * sysdeps/i386/fpu/libm-test-ulps: Update.
8128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8130 2015-06-24  Roland McGrath  <roland@hack.frob.com>
8132         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
8133         return value is wrong, print the expected value too.
8135 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
8137         [BZ #18585]
8138         * elf/readlib.c (is_gdb_python_file): New.
8139         (process_file): Don't issue errors on filenames with -gdb.py
8140         suffix.
8142 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
8144         * math/auto-libm-test-in: Add more tests of csin and csinh.
8145         * math/auto-libm-test-out: Regenerated.
8146         * math/libm-test.inc (csin_test_data): Remove tests moved to
8147         auto-libm-test-in.
8148         (csinh_test_data): Likewise.
8150         [BZ #18593]
8151         * math/s_csin.c (__csin): Negate before rather than after possibly
8152         overflowing multiplication.
8153         * math/s_csinf.c (__csinf): Likewise.
8154         * math/s_csinh.c (__csinh): Likewise.
8155         * math/s_csinhf.c (__csinhf): Likewise.
8156         * math/s_csinhl.c (__csinhl): Likewise.
8157         * math/s_csinl.c (__csinl): Likewise.
8158         * math/auto-libm-test-in: Add some tests of csin and csinh.
8159         * math/auto-libm-test-out: Regenerated.
8160         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
8161         (csinh_test_data): Likewise.
8162         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8164         [BZ #18586]
8165         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
8166         underflow exception for small results.
8168 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
8170         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
8171         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
8172         variable and included header.
8173         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
8174         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
8175         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
8176         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
8177         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
8178         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
8179         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
8180         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
8181         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
8182         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
8183         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
8184         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
8185         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
8186         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
8187         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
8188         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
8190 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
8192         [BZ #16526]
8193         [BZ #16538]
8194         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
8195         (__sin): Force underflow exception for arguments with small
8196         absolute value.
8197         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
8198         (__kernel_sinf): Force underflow exception for arguments with
8199         small absolute value.
8200         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
8201         (__kernel_sincosl): Force underflow exception for arguments with
8202         small absolute value.
8203         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
8204         (__kernel_sinl): Force underflow exception for arguments with
8205         small absolute value.
8206         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
8207         (__kernel_sincosl): Force underflow exception for arguments with
8208         small absolute value.
8209         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
8210         (__kernel_sinl): Force underflow exception for arguments with
8211         small absolute value.
8212         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
8213         (__kernel_sinl): Force underflow exception for arguments with
8214         small absolute value.
8215         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
8216         (__kernel_sinf): Force underflow exception for arguments with
8217         small absolute value.
8218         * math/auto-libm-test-in: Add more tests of sin and sincos.
8219         * math/auto-libm-test-out: Regenerated.
8221         [BZ #18245]
8222         [BZ #18583]
8223         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
8224         (__kernel_standard_l): Use feholdexcept and fesetenv around
8225         conversion to double instead of special-casing overflow and
8226         underflow.
8227         * math/libm-test.inc (fmod_test_data): Add more tests.
8228         (remainder_test_data): Likewise.
8229         (sqrt_test_data): Likewise.
8231 2015-06-23  Torvald Riegel  <triegel@redhat.com>
8233         [BZ #17403]
8234         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
8235         atomic_read_barrier, atomic_write_barrier): Define.
8236         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
8237         atomic_read_barrier, atomic_write_barrier): Define.
8239 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
8241         * math/Makefile [$(PERL) != no]
8242         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
8243         dependency on libm-test.stmp below the inclusion of Rules.
8245 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
8247         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
8248         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
8249         and included header.
8250         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
8251         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
8252         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
8253         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
8254         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
8255         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
8256         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
8257         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
8258         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
8259         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
8260         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
8261         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
8262         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
8263         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
8264         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
8265         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
8266         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
8267         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
8268         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
8270 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
8272         [BZ #18371]
8273         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
8274         intermediate but not final result might underflow.
8275         * math/s_csqrtf.c (__csqrtf): Likewise.
8276         * math/s_csqrtl.c (__csqrtl): Likewise.
8277         * math/auto-libm-test-in: Add more tests of csqrt.
8278         * math/auto-libm-test-out: Regenerated.
8279         * sysdeps/i386/fpu/libm-test-ulps: Update.
8281         [BZ #18219]
8282         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
8283         threshold on absolute value of exponent for which scaling is used.
8284         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
8285         * math/auto-libm-test-in: Add more tests of exp2.
8286         * math/auto-libm-test-out: Regenerated.
8288 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
8290         [BZ #17977]
8291         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
8292         when initializing interface list, based on the bug analysis
8293         and the patch proposed by Eric Newton.
8294         * resolv/tst-res_hconf_reorder.c: New test.
8295         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
8296         tst-res_hconf_reorder.
8297         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
8298         and $(shared-thread-library).
8299         (tst-res_hconf_reorder-ENV): New variable.
8301         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
8302         in comment.
8304 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
8306         [BZ #16353]
8307         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
8308         (__expm1): Force underflow exception for arguments with small
8309         absolute value.
8310         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
8311         (__expm1f): Force underflow exception for arguments with small
8312         absolute value.
8313         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
8314         (__expm1): Force underflow exception for arguments with small
8315         absolute value.
8316         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
8317         (__expm1f): Force underflow exception for arguments with small
8318         absolute value.
8319         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
8320         Check for small arguments before calling __expm1.
8321         * math/auto-libm-test-in: Do not mark underflow exceptions as
8322         possibly missing for bug 16353.
8323         * math/auto-libm-test-out: Regenerated.
8325 2015-06-22  Andreas Schwab  <schwab@suse.de>
8327         [BZ #18513]
8328         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
8329         PTR queries.
8331 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
8333         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
8335         * string/strcoll_l.c: Remove unused struct element idxnow.
8337 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
8339         [BZ #18569]
8340         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
8341         underflow and return argument in case of subnormal argument.
8342         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8343         Likewise.
8344         * math/auto-libm-test-in: Add more tests of expm1.
8345         * math/auto-libm-test-out: Regenerated.
8347         [BZ #16361]
8348         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
8349         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
8350         tiny results.
8351         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
8352         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
8353         tiny results.
8354         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
8355         mark underflow exceptions as possibly missing for bug 16361.
8356         * math/auto-libm-test-out: Regenerated.
8358 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
8360         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
8361         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
8362         Remove variable.
8363         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8364         (test-xfail-XOPEN2K8/utmpx.h/conform).
8366         * conform/conformtest.pl ($xerrors): New variable.
8367         (note_error): New function.
8368         (compiletest): New argument $xfail.  Use not_error.
8369         (runtest): Likewise.
8370         (top level): Handle xfail- lines.  Update calls to compiletest and
8371         runtest.  Handle xfail- and optional- in headers listed with
8372         allow-header.
8373         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
8374         (O_EXEC): Likewise.
8375         (O_SEARCH): Likewise.
8376         * conform/data/stropts.h-data (ioctl): Likewise.
8377         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
8378         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
8379         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
8380         (msghdr.msg_controllen): Likewise.
8381         (cmsghdr.cmsg_len): Likewise.
8382         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
8383         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
8384         variable.
8385         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8386         (test-xfail-XPG4/stropts.h/conform): Likewise.
8387         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8388         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8389         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8390         (test-xfail-UNIX98/stropts.h/conform): Likewise.
8391         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8392         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8393         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8394         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8395         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8396         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8397         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8398         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8399         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8400         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8401         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8402         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8403         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8404         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8405         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8407 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8409         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
8410         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
8411         definitions for proper unfolding of __MATHDECL_VEC.
8413 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8415         * benchtests/bench-strcoll.c:
8416         Include string.h.
8417         (main): Remove unused variable res.
8419 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8421         * timezone/Makefile (%/UTC %/Universal):
8422         Generate test-result files for UTC and Universal.
8424 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8426         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8428 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
8430         [BZ #16350]
8431         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
8432         for arguments with small absolute value.
8433         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
8434         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
8435         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
8436         (__asinh): Force underflow exception for arguments with small
8437         absolute value.
8438         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
8439         (__asinhf): Force underflow exception for arguments with small
8440         absolute value.
8441         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
8442         (__asinhl): Force underflow exception for arguments with small
8443         absolute value.
8444         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
8445         (__asinhl): Force underflow exception for arguments with small
8446         absolute value.
8447         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
8448         (__asinhl): Force underflow exception for arguments with small
8449         absolute value.
8450         * math/auto-libm-test-in: Do not mark underflow exceptions as
8451         possibly missing for bug 16350.
8452         * math/auto-libm-test-out: Regenerated.
8454         * include/bits/ipc.h: Remove file.
8455         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
8456         variable.
8457         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8458         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8459         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8460         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8461         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8462         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8463         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8464         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8465         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8467         * math/auto-libm-test-in: Remove spurious underflow allowance for
8468         tests of cexp.
8469         * math/auto-libm-test-out: Regenerated.
8471         [BZ #18558]
8472         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
8473         unconditional definition.
8474         (MCAST_BLOCK_SOURCE): Likewise.
8475         (MCAST_UNBLOCK_SOURCE): Likewise.
8476         (MCAST_LEAVE_GROUP): Likewise.
8477         (MCAST_JOIN_SOURCE_GROUP): Likewise.
8478         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8479         (MCAST_MSFILTER): Likewise.
8480         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
8481         Remove variable.
8482         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8483         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8484         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8485         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8486         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8488 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
8490         * NEWS: Mention addition of x86_64 vector sincosf.
8491         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
8492         * math/test-float-vlen4.h: Likewise.
8493         * math/test-float-vlen8.h: Likewise.
8494         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8495         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
8496         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8497         * sysdeps/x86_64/fpu/Versions: New versions added.
8498         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8499         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8500         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8501         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
8502         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
8503         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
8504         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
8505         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
8506         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
8507         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
8508         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
8509         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
8510         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
8511         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
8512         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
8513         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
8514         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
8515         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
8516         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8517         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8518         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8519         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8520         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8521         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8523         * NEWS: Mention addition of x86_64 vector sincos.
8524         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
8525         * math/math.h (__MATHDECL_VEC): New macro.
8526         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
8527         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
8528         declaration under condition.
8529         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
8530         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
8531         TEST_VEC_LOOP change.
8532         * math/test-double-vlen4.h: Likewise.
8533         * math/test-double-vlen8.h: Likewise.
8534         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
8535         * math/test-float-vlen4.h: Likewise.
8536         * math/test-float-vlen8.h: Likewise.
8537         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8538         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
8539         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8540         * sysdeps/x86_64/fpu/Versions: New versions added.
8541         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8542         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8543         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8544         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
8545         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
8546         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
8547         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
8548         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
8549         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
8550         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
8551         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
8552         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
8553         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
8554         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
8555         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
8556         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
8557         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
8558         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8559         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8560         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8561         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8562         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8563         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8564         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8566         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8567         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8568         redirections for powf.
8569         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8570         * sysdeps/x86_64/fpu/Versions: New versions added.
8571         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8572         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
8573         Added build of SSE, AVX2 and AVX512 IFUNC versions.
8574         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
8575         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
8576         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
8577         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
8578         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
8579         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
8580         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
8581         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
8582         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
8583         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
8584         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
8585         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
8586         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
8587         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
8588         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8589         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8590         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8591         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8592         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8593         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8594         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8595         * math/test-float-vlen16.h: Fixed 2 argument macro.
8596         * math/test-float-vlen4.h: Likewise.
8597         * math/test-float-vlen8.h: Likewise.
8598         * NEWS: Mention addition of x86_64 vector powf.
8600 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
8602         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8603         and redefine.
8604         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8605         and redefine.
8606         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
8607         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8608         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8610         [BZ #18553]
8611         * resource/getpriority.c (getpriority): Rename to __getpriority
8612         and define as weak alias of __getpriority.
8613         * resource/setpriority.c (setpriority): Rename to __setpriority
8614         and define as weak alias of __setpriority.
8615         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
8616         __getpriority and define as weak alias of __getpriority.
8617         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
8618         __setpriority and define as weak alias of __setpriority.
8619         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
8620         strong name.
8621         (setpriority): Use __setpriority as strong name.
8622         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
8623         __getpriority and define as weak alias of __getpriority.
8624         * include/sys/resource.h (__getpriority): Declare.  Use
8625         libc_hidden_proto.
8626         (__setpriority): Likewise.
8627         (getpriority): Don't use libc_hidden_proto.
8628         (setpriority): Likewise.
8629         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
8630         getpriority.  Call __setpriority instead of setpriority.
8631         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
8632         Remove variable.
8634         [BZ #18547]
8635         * misc/getttyent.c (getttynam): Rename to __getttynam and define
8636         as weak alias of __getttynam.  Use prototype function definition.
8637         Call __setttyent, __getttyent and __endttyent instead of
8638         setttyent, getttyent and endttyent.
8639         (getttyent): Rename to __getttyent and define as weak alias of
8640         __getttyent.  Call __setttyent instead of setttyent.  Call
8641         __fgets_unlocked instead of fgets_unlocked.
8642         (setttyent): Rename to __setttyent and define as weak alias of
8643         __setttyent.
8644         (endttyent): Rename to __endttyent and define as weak alias of
8645         __endttyent.
8646         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
8647         (__setttyent): Likewise.
8648         (__endttyent): Likewise.
8649         (getttyent): Don't use libc_hidden_proto.
8650         (setttyent): Likewise.
8651         (endttyent): Likewise.
8652         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
8653         __endttyent instead of setttyent, getttyent and endttyent.
8654         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
8655         Remove variable.
8657         [BZ #18546]
8658         * socket/recv.c (__recv): Use libc_hidden_def.
8659         * socket/socket.c (__socket): Likewise.
8660         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
8661         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
8662         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
8663         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
8664         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
8665         libc_hidden_def.
8666         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
8667         libc_hidden_weak.
8668         * include/sys/socket.h (__socket): Do not use attribute_hidden.
8669         Use libc_hidden_proto.
8670         (__recv): Likewise.
8671         * socket/Versions (libc): Export __recv and __socket at version
8672         GLIBC_PRIVATE.
8673         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
8674         instead of recv.
8675         (init_mq_netlink): Call __socket instead of socket.
8676         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
8677         Remove variable.
8679         [BZ #18545]
8680         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
8681         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
8682         hidden_weak.
8683         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
8684         define as alias of __mq_timedsend.  Use hidden_weak.
8685         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
8686         __mq_timedsend as strong name.
8687         (mq_timedreceive): Use __mq_timedreceive as strong name.
8688         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
8689         (__mq_timedreceive): Likewise.
8690         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
8691         __mq_timedreceive instead of mq_timedreceive.
8692         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
8693         instead of mq_timedsend.
8694         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
8695         Remove variable.
8697         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
8698         hidden_def and hidden_weak instead of libc_hidden_def and
8699         libc_hidden_weak.
8700         (top level): Refer to hidden_def in comment.
8701         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
8702         macro.  Use it instead of libc_hidden_def.
8703         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
8704         specify __GI_* name explicitly.
8705         (mq_timedreceive): Likewise.
8706         (mq_setattr): Likewise.
8708         [BZ #18544]
8709         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
8710         __pthread_barrier_init and define as weak alias of
8711         __pthread_barrier_init.
8712         * sysdeps/sparc/nptl/pthread_barrier_init.c
8713         (pthread_barrier_init): Likewise.
8714         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
8715         __pthread_barrier_wait and define as weak alias of
8716         __pthread_barrier_wait.
8717         * sysdeps/sparc/nptl/pthread_barrier_wait.c
8718         (pthread_barrier_wait): Likewise.
8719         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
8720         (pthread_barrier_wait): Likewise.
8721         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
8722         (pthread_barrier_wait): Likewise.
8723         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
8724         (pthread_barrier_wait): Likewise.
8725         * nptl/Versions (libpthread): Export __pthread_barrier_init and
8726         __pthread_barrier_wait at version GLIBC_PRIVATE.
8727         * include/pthread.h (__pthread_barrier_init): Declare.
8728         (__pthread_barrier_wait): Likewise.
8729         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
8730         Call __pthread_barrier_wait instead of pthread_barrier_wait.
8731         (helper_thread): Likewise.
8732         (init_mq_netlink): Call __pthread_barrier_init instead of
8733         pthread_barrier_init.
8735         [BZ #18542]
8736         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
8737         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
8738         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
8739         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
8740         vswscanf.
8741         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
8742         Remove variable.
8744         [BZ #18540]
8745         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
8746         strong alias of _IO_fflush.  Use libc_hidden_def.
8747         * libio/iofflush_u.c (fflush_unlocked): Rename to
8748         __fflush_unlocked and define as weak alias of __fflush_unlocked.
8749         Use libc_hidden_weak.
8750         * include/stdio.h (__fflush_unlocked): Declare.  Use
8751         libc_hidden_proto.
8752         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
8753         fflush_unlocked.
8754         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
8755         Remove variable.
8757         [BZ #18539]
8758         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
8759         define as weak alias of __addseverity.
8760         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
8761         Remove variable.
8762         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
8763         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
8764         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
8766         [BZ #18536]
8767         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
8768         (__tfind): Likewise.
8769         (__tdelete): Likewise.
8770         (__twalk): Likewise.
8771         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
8772         __twalk to GLIBC_PRIVATE.
8773         * include/search.h (__tsearch): Use libc_hidden_proto.
8774         (__tfind): Likewise.
8775         (__tdelete): Likewise.
8776         (__twalk): Likewise.
8777         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
8778         Call __tdelete instead of tdelete.
8779         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
8780         tfind.  Call __tsearch instead of tsearch.
8781         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
8782         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
8783         Remove variable.
8784         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
8786         [BZ #18534]
8787         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
8788         (dprintf): Define as a weak alias of __dprintf, not a strong
8789         alias.
8790         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
8791         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
8792         dprintf.
8793         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
8794         Remove variable.
8795         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
8796         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
8798         [BZ #18533]
8799         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
8800         not a strong alias.
8801         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
8802         Remove variable.
8804         [BZ #18532]
8805         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
8806         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
8807         (in6addr_loopback): Rename to __in6addr_loopback and define as
8808         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
8809         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
8810         libc_hidden_proto.
8811         (__in6addr_any): Likewise.
8812         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
8813         in6addr_any.
8814         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
8815         variable.
8816         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
8818 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
8820         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
8821         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
8822         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8823         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8824         redirections for pow.
8825         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8826         * sysdeps/x86_64/fpu/Versions: New versions added.
8827         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8828         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8829         build of SSE, AVX2 and AVX512 IFUNC versions.
8830         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
8831         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
8832         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
8833         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
8834         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
8835         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
8836         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
8837         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
8838         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
8839         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
8840         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
8841         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
8842         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
8843         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
8844         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8845         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8846         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8847         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8848         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8849         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8850         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8851         * NEWS: Mention addition of x86_64 vector pow.
8853         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8854         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8855         redirections for expf.
8856         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8857         * sysdeps/x86_64/fpu/Versions: New versions added.
8858         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8859         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8860         build of SSE, AVX2 and AVX512 IFUNC versions.
8861         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
8862         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
8863         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
8864         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
8865         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
8866         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
8867         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
8868         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
8869         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
8870         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
8871         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
8872         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
8873         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
8874         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8875         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8876         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8877         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8878         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8879         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8880         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8881         * NEWS: Mention addition of x86_64 vector expf.
8883         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
8884         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
8885         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8886         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8887         redirections for exp.
8888         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8889         * sysdeps/x86_64/fpu/Versions: New versions added.
8890         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8891         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8892         build of SSE, AVX2 and AVX512 IFUNC versions.
8893         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
8894         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
8895         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
8896         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
8897         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
8898         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
8899         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
8900         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
8901         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
8902         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
8903         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
8904         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
8905         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
8906         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8907         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8908         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8909         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8910         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8911         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8912         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8913         * NEWS: Mention addition of x86_64 vector exp.
8915         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
8916         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8917         redirections for logf.
8918         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8919         * sysdeps/x86_64/fpu/Versions: New versions added.
8920         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8921         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8922         build of SSE, AVX2 and AVX512 IFUNC versions.
8923         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
8924         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
8925         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
8926         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
8927         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
8928         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
8929         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
8930         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
8931         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
8932         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
8933         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
8934         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
8935         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
8936         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8937         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8938         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8939         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8940         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8941         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8942         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8943         * NEWS: Mention addition of x86_64 vector logf.
8945         * bits/libm-simd-decl-stubs.h: Added stubs for log.
8946         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
8947         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
8948         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
8949         redirections for log.
8950         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
8951         * sysdeps/x86_64/fpu/Versions: New versions added.
8952         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8953         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
8954         build of SSE, AVX2 and AVX512 IFUNC versions.
8955         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
8956         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
8957         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
8958         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
8959         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
8960         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
8961         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
8962         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
8963         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
8964         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
8965         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
8966         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
8967         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
8968         test.
8969         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8970         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8971         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8972         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8973         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8974         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8975         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8976         * NEWS: Mention addition of x86_64 vector log.
8978 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8980         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
8981         cfi_adjust_cfa_offset argument.
8982         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
8983         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
8985         [BZ #18034]
8986         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
8987         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
8988         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
8989         ordering using ldar.
8990         (_dl_tlsdesc_dynamic): Likewise.
8991         (_dl_tlsdesc_return_lazy): Likewise.
8992         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
8993         relaxed atomics instead of volatile and synchronize with release store.
8994         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
8995         volatile.
8996         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8998 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
9000         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9001         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
9002         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9003         * sysdeps/x86_64/fpu/Versions: New versions added.
9004         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9005         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9006         build of SSE, AVX2 and AVX512 IFUNC versions.
9007         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
9008         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
9009         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
9010         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
9011         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
9012         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
9013         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
9014         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
9015         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
9016         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
9017         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
9018         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
9019         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
9020         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
9021         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9022         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9023         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9024         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9025         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9026         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9027         * NEWS: Mention addition of x86_64 vector sinf.
9029 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
9031         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
9032         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
9033         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
9034         Remove variable.
9035         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
9036         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
9038 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
9040         [BZ #18530]
9041         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
9042         strong alias of _IO_fputs.  Use libc_hidden_def.
9043         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
9044         and define as weak alias of __fputs_unlocked.  Use
9045         libc_hidden_weak.
9046         * include/stdio.h (__fputs_unlocked): Declare.  Use
9047         libc_hidden_proto.
9048         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
9049         fputs_unlocked.
9051         [BZ #18529]
9052         * resolv/netdb.h [__USE_POSIX]: Change condition to
9053         [__USE_XOPEN2K].
9054         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
9055         not expect.
9056         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
9057         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
9058         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
9059         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
9060         [XPG4 || UNIX98] (AI_ALL): Likewise.
9061         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
9062         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
9063         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
9064         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
9065         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
9066         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
9067         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
9068         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
9069         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
9070         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
9071         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
9072         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
9073         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
9074         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
9075         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
9076         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
9077         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
9078         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
9079         [XPG4 || UNIX98] (gai_strerror): Likewise.
9080         [XPG4 || UNIX98] (getaddrinfo): Likewise.
9081         [XPG4 || UNIX98] (getnameinfo): Likewise.
9083         [BZ #18528]
9084         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
9085         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
9086         __USE_XOPEN2K8].
9087         (getgrent): Likewise.
9088         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
9089         expect.
9090         [XPG3 || POSIX2008] (endgrent): Likewise.
9091         [XPG3] (setgrent): Likewise.
9092         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
9093         variable.
9094         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
9096         [BZ #18527]
9097         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
9098         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
9099         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
9100         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
9101         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
9102         * include/unistd.h (__getlogin_r): Declare.  Use
9103         libc_hidden_proto.
9104         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
9105         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
9106         variable.
9107         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
9108         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
9109         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
9111 2015-06-12  Martin Sebor  <msebor@redhat.com>
9113         [BZ #18512]
9114         * Makerules (check-install-supported): New target.
9115         (install): Add check-install-supported as a dependency.
9116         * manual/install.texi (Installing the C Library): Document
9117         that overriding prefix and exec_prefix is not supported.
9118         Mention DESTDIR.
9119         * INSTALL: Regenerate from the above.
9121 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
9123         [BZ #18519]
9124         * posix/Versions (libc): Export __libc_pread at version
9125         GLIBC_PRIVATE.
9126         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
9127         instead of pread.
9128         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
9129         variable.
9131         [BZ #18522]
9132         * misc/efgcvt_r.c
9133         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
9134         (cvt_symbol): Use weak_alias instead of strong_alias.
9135         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
9136         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
9137         Remove variable.
9138         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
9139         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
9141         [BZ #18520]
9142         * inet/herrno.c (h_errno): Rename to __h_errno.
9143         (__libc_h_errno): Define as alias of __h_errno not h_errno.
9144         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
9145         to __h_errno instead of h_errno.
9146         * nptl/herrno.c (h_errno): Rename to __h_errno.
9147         (__h_errno_location): Refer to __h_errno not h_errno.
9148         * resolv/Versions (h_errno): Rename to __h_errno.
9149         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
9150         Remove variable.
9151         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
9153 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
9155         * configure.ac: More strict check for AVX512 assembler support.
9156         * configure: Regenerated.
9158         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
9159         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
9160         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9161         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
9162         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9163         * sysdeps/x86_64/fpu/Versions: New versions added.
9164         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9165         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9166         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9167         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
9168         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
9169         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
9170         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
9171         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
9172         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
9173         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
9174         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
9175         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
9176         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
9177         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
9178         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
9179         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
9180         test.
9181         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9182         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9183         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9184         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9185         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9186         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9187         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9188         * NEWS: Mention addition of x86_64 vector sin.
9190 2015-06-11  Florian Weimer  <fweimer@redhat.com>
9192         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
9193         comment.
9195 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
9197         [BZ #18479]
9198         * nptl/pt-interp.c: New file.
9199         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
9200         Add pt-interp.
9201         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
9202         $(common-objpfx)runtime-linker.h.
9204 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
9206         * Makeconfig (+interp): Remove unused variable.
9207         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
9208         only.  Depend on $(common-objpfx)runtime-linker.h instead of
9209         $(elf-objpfx)runtime-linker.h.
9210         ($(elf-objpfx)runtime-linker.h): Rename to
9211         $(common-objpfx)runtime-linker.h and move ...
9212         * Makerules [$(build-shared) = yes]: ... here.
9213         * elf/interp.c: Include <runtime-linker.h> instead of
9214         <elf/runtime-linker.h>.
9216 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9218         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
9219         (__gettimeofday_syscall): Remove vsyscall fallback.
9220         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
9221         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
9222         Add syscall fallback function.
9223         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
9224         if vDSO is not present.
9225         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
9226         fallback function.
9227         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
9228         present.
9229         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
9230         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9232 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
9234         [BZ #18497]
9235         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
9236         of wcscmp.
9237         (wcscmp): Define as weak alias of WCSCMP.
9238         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
9239         wcscoll.
9240         (USE_HIDDEN_DEF): Define.
9241         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
9242         __wcscoll.  Don't use libc_hidden_weak.
9243         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
9244         wcscmp.
9245         * sysdeps/i386/i686/multiarch/wcscmp-c.c
9246         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
9247         __GI_wcscmp.
9248         (weak_alias): Undefine and redefine.
9249         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
9250         __wcscmp and define as weak alias of __wcscmp.
9251         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
9252         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
9253         (__wcscoll): Likewise.
9254         (wcscmp): Don't use libc_hidden_proto.
9255         (wcscoll): Likewise.
9256         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
9257         wcscoll.
9258         * posix/regexec.c (check_node_accept_bytes): Likewise.
9259         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
9260         variable.
9261         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
9262         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
9264         [BZ #18507]
9265         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
9266         __fstatvfs and define as weak alias of __fstatvfs.  Use
9267         libc_hidden_weak.
9268         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
9269         and define as weak alias of __statvfs.  Use libc_hidden_weak.
9270         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
9271         Define as alias of __fstatvfs, not fstatvfs.
9272         (fstatvfs64): Likewise.
9273         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
9274         Define as alias of __statvfs, not statvfs.
9275         (statvfs64): Likewise.
9276         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
9277         Remove variable.
9279 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9282         (HAVE_GETCPU_VSYSCALL): Define.
9283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9284         (HAVE_GETCPU_VSYSCALL): Likewise.
9285         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
9286         * sysdeps/unix/sysv/linux/sched_getcpu.c
9287         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
9288         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
9289         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
9290         prototype.
9291         * sysdeps/unix/sysv/linux/x86_64/init-first.c
9292         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
9293         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
9294         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
9295         Define.
9296         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
9297         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9298         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
9299         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9301 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
9303         * sysdeps/x86_64/fpu/Makefile: New file.
9304         * sysdeps/x86_64/fpu/Versions: New file.
9305         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
9306         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
9307         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
9308         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
9309         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
9310         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
9311         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
9312         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
9313         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
9314         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
9315         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
9316         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
9317         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
9318         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9319         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9320         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
9321         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
9322         * sysdeps/x86_64/configure.ac: Options for libmvec build.
9323         * sysdeps/x86_64/configure: Regenerated.
9324         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
9325         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
9326         * manual/install.texi (Configuring and compiling): Document
9327         --disable-mathvec.
9328         * INSTALL: Regenerated.
9329         * NEWS: Mention addition of libmvec and x86_64 vector cos.
9331         * math/Makefile: Added rules for vector tests.
9332         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
9333         declaration under condition.
9334         * math/test-double-vlen2.h: New file.
9335         * math/test-double-vlen4.h: New file.
9336         * math/test-double-vlen8.h: New file.
9337         * math/test-vec-loop.h: Added initialization macro.
9338         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
9339         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
9340         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
9341         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
9342         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
9343         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
9344         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
9345         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
9346         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
9347         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
9348         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
9350         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9351         * sysdeps/x86_64/fpu/Versions: New versions added.
9352         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
9353         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
9354         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
9355         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
9356         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
9357         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
9358         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
9359         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
9360         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
9361         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
9362         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
9363         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
9364         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
9365         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9366         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9367         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9368         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
9369         * NEWS: Mention addition of x86_64 vector cosf.
9371         * math/Makefile: Added CFLAGS for new tests.
9372         * math/test-float-vlen16.h: New file.
9373         * math/test-float-vlen4.h: New file.
9374         * math/test-float-vlen8.h: New file.
9375         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
9376         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
9377         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9378         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
9379         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
9380         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
9381         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
9382         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
9383         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
9384         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
9385         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
9387 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
9389         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
9390         * locale/programs/ld-ctype.c: Likewise.
9392 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
9394         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
9395         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
9396         bit_ZMM16_31_state): New macro.
9397         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9398         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
9400 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
9402         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
9404 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
9406         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
9408 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
9410         [BZ #18498]
9411         * libio/memstream.c (open_memstream): Rename to __open_memstream
9412         and define as weak alias of __open_memstream.
9413         * include/stdio.h (__open_memstream): Declare.  Use
9414         libc_hidden_proto.
9415         (open_memstream): Don't use libc_hidden_proto.
9416         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
9417         open_memstream.
9418         * posix/getopt.c (_getopt_internal_r): Likewise.
9419         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
9420         variable.
9421         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
9422         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
9423         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
9425         [BZ #18496]
9426         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
9427         instead of wcrtomb.
9429         [BZ #18483]
9430         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
9431         [__USE_XOPEN2K8].  Remove redundant #endif.
9432         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
9433         Remove redundant #if.
9434         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
9435         Remove variable.
9436         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
9437         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
9439         [BZ #18495]
9440         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
9441         (__iswlower): Likewise.
9442         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
9443         (__iswlower): Likewise.
9444         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
9445         instead of towlower.
9446         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
9447         instead of iswlower.  Call __towupper instead of towupper.
9448         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
9449         instead of iswalnum.
9451 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9453         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
9454         errors to stderr.
9456 2015-06-05  Florian Weimer  <fweimer@redhat.com>
9458         [BZ #15661]
9459         [BZ #17322]
9460         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
9461         Check for overflow properly.  Check for O_APPEND.  Ignore large
9462         file system block sizes.  Add comments about problems.
9463         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
9464         * manual/filesys.texi (Storage Allocation): New node.
9466 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9468         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
9469         cancellable syscalls.
9470         (SYS_ify): Add guard to no redefine it.
9471         (INLINE_SYSCALL): Likewise.
9472         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
9473         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
9474         SYSCALL_CANCEL instead.
9475         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
9476         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
9477         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
9478         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
9479         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
9480         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
9481         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
9482         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
9483         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
9484         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
9485         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
9486         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
9487         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
9488         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
9489         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
9490         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
9491         Likewise.
9492         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
9493         (__libc_pread64): Likewise.
9494         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
9495         (__libc_preadv): Likewise.
9496         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
9497         (__libc_readv64): Likewise.
9498         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
9499         (__libc_pwrite): Likewise.
9500         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
9501         (__libc_pwrite64): Likewise.
9502         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
9503         (__libc_pwritev): Likewise.
9504         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
9505         (__libc_pwritev64): Likewise.
9506         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
9507         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
9508         (sync_file_range): Likewise.
9509         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
9510         Likewise.
9511         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
9512         Likewise.
9513         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
9514         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
9515         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
9516         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
9517         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
9518         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
9519         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
9520         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
9521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
9522         Likewise.
9523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9524         (__libc_read64): Likewise.
9525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
9526         Likewise.
9527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
9528         Likewise.
9529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
9530         Likewise.
9531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
9532         Likewise.
9533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9534         (__libc_pread64): Likewise.
9535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
9536         Likewise.
9537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9538         (__libc_pwrite64): Likewise.
9539         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
9540         (sync_file_range): Likewise.
9541         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
9542         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
9543         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
9544         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
9545         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
9546         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9547         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9548         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
9549         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
9550         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9551         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9552         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
9553         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
9554         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
9555         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
9556         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
9557         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
9558         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
9559         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
9560         Likewise.
9561         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
9562         Likewise.
9563         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
9564         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
9565         Likewise.
9566         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
9567         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
9568         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
9569         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
9570         Likewise.
9571         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
9572         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
9573         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
9574         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
9575         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
9577 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
9579         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
9580         Include dl-vdso.
9581         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
9582         Use VDSO routines for gettimeofday, clock_gettime if
9583         available.
9584         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
9585         Declare VDSO symbols.
9586         * sysdeps/unix/sysv/linux/arm/sysdep.h:
9587         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
9588         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
9589         * sysdeps/unix/sysv/linux/arm/Versions: Add
9590         __vdso_clock_gettime.
9592 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9594         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
9595         be an inline implementation regardless of library is built within.
9596         (open_not_cancel_2): Likewise.
9597         (__read_nocancel): Likewise.
9598         (__write_nocancel): Likewise.
9599         (openat_not_cancel): Likewise.
9600         (openat_not_cancel_3): Likewise.
9601         (openat64_not_cancel): Likewise.
9602         (openat64_not_cancel_3): Likewise.
9603         (__close_nocancel): Likewise.
9604         (pause_not_cancel): Likewise.
9605         (nanosleep_not_cancel): Likewise.
9606         (sigsuspend_not_cancel): Likewise.
9608 2015-06-04  Torvald Riegel  <triegel@redhat.com>
9610         [BZ #14958]
9611         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
9612         wake-up.
9613         (__pthread_rwlock_rdlock_slow): Likewise.
9614         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9615         Likewise.
9616         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
9617         Likewise.
9618         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
9619         * nptl/tst-rwlock16.c: New file.
9620         * nptl/Makefile (tests): Add new test.
9622 2015-06-04  Torvald Riegel  <triegel@redhat.com>
9624         [BZ #18324]
9625         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
9626         missing wake-up of readers.
9627         * nptl/tst-rwlock15.c: New file.
9628         * nptl/Makefile (tests): Add new test.
9630 2015-06-03  Roland McGrath  <roland@hack.frob.com>
9632         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
9633         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
9634         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
9635         and __nacl_supply_interface_rtld.
9636         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
9637         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
9638         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
9639         Add __nacl_supply_interface_rtld.
9640         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
9642 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
9644         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
9645         isfinite.
9646         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9647         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
9649 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
9651         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
9652         __signbit* with standard C99 macros.
9653         * math/e_exp10l.c: Likewise.
9654         * math/e_exp2l.c: Likewise.
9655         * math/e_scalb.c: Likewise.
9656         * math/e_scalbf.c: Likewise.
9657         * math/e_scalbl.c: Likewise.
9658         * math/s_ldexp.c: Likewise.
9659         * math/s_ldexpf.c: Likewise.
9660         * math/s_ldexpl.c: Likewise.
9661         * math/w_atan2.c: Likewise.
9662         * math/w_atan2f.c: Likewise.
9663         * math/w_atan2l.c: Likewise.
9664         * math/w_cosh.c: Likewise.
9665         * math/w_coshf.c: Likewise.
9666         * math/w_coshl.c: Likewise.
9667         * math/w_exp10.c: Likewise.
9668         * math/w_exp10f.c: Likewise.
9669         * math/w_exp10l.c: Likewise.
9670         * math/w_exp2.c: Likewise.
9671         * math/w_exp2f.c: Likewise.
9672         * math/w_exp2l.c: Likewise.
9673         * math/w_fmod.c: Likewise.
9674         * math/w_fmodf.c: Likewise.
9675         * math/w_fmodl.c: Likewise.
9676         * math/w_hypot.c: Likewise.
9677         * math/w_hypotf.c: Likewise.
9678         * math/w_hypotl.c: Likewise.
9679         * math/w_jnl.c: Likewise.
9680         * math/w_lgamma.c: Likewise.
9681         * math/w_lgamma_r.c: Likewise.
9682         * math/w_lgammaf.c: Likewise.
9683         * math/w_lgammaf_r.c: Likewise.
9684         * math/w_lgammal.c: Likewise.
9685         * math/w_lgammal_r.c: Likewise.
9686         * math/w_pow.c: Likewise.
9687         * math/w_powf.c: Likewise.
9688         * math/w_powl.c: Likewise.
9689         * math/w_remainder.c: Likewise.
9690         * math/w_remainderf.c: Likewise.
9691         * math/w_remainderl.c: Likewise.
9692         * math/w_scalb.c: Likewise.
9693         * math/w_scalbf.c: Likewise.
9694         * math/w_scalbl.c: Likewise.
9695         * math/w_scalbln.c: Likewise.
9696         * math/w_scalblnf.c: Likewise.
9697         * math/w_scalblnl.c: Likewise.
9698         * math/w_sinh.c: Likewise.
9699         * math/w_sinhf.c: Likewise.
9700         * math/w_sinhl.c: Likewise.
9701         * math/w_tgamma.c: Likewise.
9702         * math/w_tgammaf.c: Likewise.
9703         * math/w_tgammal.c: Likewise.
9704         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9705         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
9706         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9707         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9708         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9709         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9710         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9711         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9712         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9713         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9714         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9715         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9716         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9717         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9718         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9719         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9720         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9721         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9722         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9723         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9724         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9725         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9726         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9727         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9728         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9729         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9730         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
9731         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9732         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9733         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9734         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
9735         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
9736         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
9737         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
9738         * stdio-common/printf_fp.c: Likewise.
9739         * stdio-common/printf_fphex.c: Likewise.
9740         * stdio-common/printf_size.c: Likewise.
9742 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
9744         [BZ #18470]
9745         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
9746         strnlen.
9747         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
9748         Remove variable.
9749         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
9750         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
9751         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
9752         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
9753         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
9754         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
9755         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
9756         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
9757         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
9758         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
9760         [BZ #18468]
9761         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
9762         weak alias of __wmemchr.  Use libc_hidden_weak.
9763         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
9764         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
9765         instead of wmemchr.
9767 2015-06-02  Roland McGrath  <roland@hack.frob.com>
9769         [BZ #18383]
9770         * elf/tst-tlsalign-extern.c: New file.
9771         * elf/tst-tlsalign-extern-static.c: New file.
9772         * elf/tst-tlsalign-vars.c: New file.
9773         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
9774         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
9775         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
9776         ($(objpfx)tst-tlsalign-extern-static): Likewise.
9777         (test-xfail-tst-tlsalign-extern-static): New variable.
9779 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
9781         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
9782         Use variable name _sc_err instead of err.
9783         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
9784         instead of ret.
9785         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
9786         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
9787         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
9788         (INLINE_SYSCALL): Likewise.
9790         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
9791         * include/string.h (__strnlen): Use libc_hidden_proto.
9792         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
9793         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
9794         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
9795         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
9796         (libc_hidden_def): Undefine and redefine.
9797         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
9798         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
9799         __GI_strnlen.
9800         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
9801         libc_hidden_def.
9802         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
9804         [BZ #18469]
9805         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
9806         weak alias of __towlower.  Use libc_hidden_weak.
9807         (towupper): Rename to __towupper and define as weak alias of
9808         __towupper.  Use libc_hidden_weak.
9809         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
9810         (__towupper): Likewise.
9811         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
9812         __towlower instead of towlower.
9814 2015-06-02  Roland McGrath  <roland@hack.frob.com>
9816         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
9817         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
9819 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9821         * sysdeps/aarch64/libm-test-ulps: Update.
9823 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9825         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
9826         Define.
9827         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9828         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9829         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
9830         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9831         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
9832         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
9833         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
9835 2015-06-01  Martin Sebor  <msebor@redhat.com>
9837         [BZ #18116]
9838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9839         (__setcontext): Use extended four-operand version of mtsf whenever
9840         possible.
9841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9842         (__novec_swapcontext): Likewise.
9844 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
9846         * benchtests/scripts/compare_bench.py: New file.
9847         * benchtests/scripts/import_bench.py (mean): New function.
9848         (split_list): Likewise.
9849         (do_for_all_timings): Likewise.
9850         (compress_timings): Likewise.
9852         * benchtests/scripts/import_bench.py: New file.
9853         * benchtests/scripts/validate_benchout.py: Import import_bench
9854         instead of jsonschema.
9855         (validate_bench): Remove function.
9856         (main): Use import_bench.
9858 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
9860         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
9861         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
9863 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9865         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9867 2015-05-28  Roland McGrath  <roland@hack.frob.com>
9869         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
9870         set THREAD_SELF->tid to a magic value and futex-wake it.
9871         Pass its address to the thread_exit system call.
9872         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
9873         bit is clear.
9874         * sysdeps/nacl/lowlevellock.h: New file.
9875         * sysdeps/nacl/lll_timedwait_tid.c: New file.
9877         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
9878         Add TIMEOUT to current time, don't subtract it.
9880 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
9882         [BZ #2981]
9883         [BZ #18422]
9884         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
9885         ($(objpfx)tst-audit2.out): Also depend on
9886         $(objpfx)tst-auditmod9b.so.
9887         * elf/tst-audit2.c: Include <dlfcn.h>.
9888         (calloc_called): New.
9889         (calloc): Allow to be called more than once.
9890         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
9892 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
9894         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
9895         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
9897 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
9899         * stdlib/monetary.h: Fix comment.
9901 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
9903         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
9904         Avoid using variables in #defines that might cause shadowing.
9905         (INTERNAL_VSYSCALL_CALL): Likewise.
9907 2015-05-26  Roland McGrath  <roland@hack.frob.com>
9909         * sysdeps/nacl/lll_timedlock_wait.c: New file.
9911         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
9912         * nptl/lll_timedlock_wait.c: ... to this new file.
9913         * nptl/Makefile (libpthread-routines): Add it.
9914         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
9915         * nptl/lll_timedwait_tid.c: ... to this new file.
9916         * nptl/Makefile (libpthread-routines): Add it.
9917         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
9918         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
9919         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
9920         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
9921         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
9922         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
9923         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
9924         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
9925         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
9926         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
9928 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9930         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
9931         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9932         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
9933         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
9934         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9935         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9936         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9937         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9938         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9939         * sysdeps/unix/sysv/linux/tile/sysdep.h
9940         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
9941         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
9942         using vDSO syscall macro.
9944 2015-05-26  Andriy Rysin  <arysin@gmail.com>
9946         [BZ #17293]
9947         * uk_UA: Fix sorting order for Ukrainian locale
9949 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
9951         * stdlib/monetary.h: Fix comment.
9953 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9955         [BZ #18234]
9956         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
9957         st_mtim and st_ctim members.
9958         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
9959         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
9960         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
9961         (struct stat64): Likewise.
9962         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
9963         (struct stat64): Likewise.
9964         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
9965         (struct stat64): Likewise.
9967 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9969         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
9970         Define and include sysdep-vdso.h.
9971         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
9972         Likewise.
9973         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
9974         Likewise.
9975         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
9976         Define with VDSO_SYMBOL and use PTR_MANGLE.
9977         (__vdso_clock_gettime): Likewise.
9978         (__vdso_clock_getres): Likewise.
9979         (_libc_vdso_platform_setup): Likewise.
9980         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
9981         Likewise.
9982         (_libc_vdso_platform_setup): Likewise.
9983         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
9984         Likewise.
9985         (__vdso_clock_gettime): Likewise.
9986         (__vdso_clock_getres): Likewise.
9987         (__vdso_get_tbfreq): Likewise.
9988         (__vdso_getcpu): Likewise.
9989         (__vdso_time): Likewise.
9990         (__vdso_sigtramp_rt64): Likewise.
9991         (__vdso_signtramp32): Likewise.
9992         (__vdso_sigtramp_rt32): Likewise.
9993         (_libc_vdso_platform_setup): Likewise.
9994         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
9995         Likewise.
9996         (__vdso_clock_gettime): Likewise.
9997         (__vdso_clock_getres): Likewise.
9998         (_libc_vdso_platform_setup): Likewise.
9999         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
10000         Likewise.
10001         (__vdso_clock_gettime): Likewise.
10002         (_libc_vdso_platform_setup): Likewise.
10003         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
10004         Likewise.
10005         (__vdso_getcpu): Likewise.
10006         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
10007         Use VDSO_SYMBOL macro to define.
10008         (__vdso_clock_gettime): Likewise.
10009         (__vdso_clock_getres): Likewise.
10010         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
10011         Likewise.
10012         (__vdso_clock_gettime): Likewise.
10013         (__vdso_clock_getres): Likewise.
10014         (__vdso_get_tbfreq): Likewise.
10015         (__vdso_getcpu): Likewise.
10016         (__vdso_time): Likewise.
10017         (__vdso_sigtramp_rt64): Likewise.
10018         (__vdso_signtramp32): Likewise.
10019         (__vdso_sigtramp_rt32): Likewise.
10020         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
10021         Likewise.
10022         (__vdso_clock_gettime): Likewise.
10023         (__vdso_clock_getres): Likewise.
10024         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
10025         Likewise.
10026         (__vdso_clock_gettime): Likewise.
10027         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
10028         Likewise.
10029         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
10030         macro.
10031         (INTERNAL_VSYSCALL): Likewise.
10032         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
10033         Remove macro.
10034         (INTERNAL_VSYSCALL): Likewise.
10035         (INTERNAL_VSYSCALL_NCS): Likewise.
10036         (INTERNAL_VSYSCALL_CALL): New macro.
10037         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
10038         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
10039         Likewise.
10040         (INTERNAL_VSYSCALL): Likewise.
10041         (INTERNAL_VSYSCALL_NCS): Likewise.
10042         (INTERNAL_VSYSCALL_CALL): New macro.
10043         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
10044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10045         (INLINE_VSYSCALL): Remove macro.
10046         (INTERNAL_VSYSCALL): Remove macro.
10047         (INTERNAL_VSYSCALL_NCS): Remove macro.
10048         (INTERNAL_VSYSCALL_CALL): New macro.
10049         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
10050         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
10051         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
10052         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
10053         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
10054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10055         (INLINE_VSYSCALL): Remove macro.
10056         (INTERNAL_VSYSCALL): Likewise.
10057         (INTERNAL_VSYSCALL_NCS): Likewise.
10058         (INTERNAL_VSYSCALL_CALL): New macro.
10059         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
10060         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
10061         PTR_DEMANGLE on vDSO pointer.
10062         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
10063         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
10064         macro.
10065         (INTERNAL_SYSCALL): Likewise.
10066         (INTERNAL_VSYSCALL_NCS): Remove macro.
10067         (INTERNAL_VSYSCALL_CALL): New macro.
10068         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
10069         Remove macro.
10070         (INTERNAL_VSYSCALL): Likewise.
10071         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
10072         sysdep-vdso.h instead of libc-vdso.h.
10073         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
10074         definition.
10075         (INLINE_VSYSCALL): Likewise.
10076         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
10077         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
10078         definition.
10079         (INLINE_VSYSCALL): Likewise.
10080         (INTERNAL_VSYSCALL): Likewise.
10081         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
10082         * sysdeps/unix/sysv/linux/timespec_get.c
10083         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
10084         (timespec_get): Use ANSI prototype.
10085         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
10086         and definition for Linux.
10088 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
10090         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
10091         * include/libc-symbols.h: libmvec_hidden_* macro series added.
10093 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
10095         [BZ #2981]
10096         [BZ #18410]
10097         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
10098         for missing DT_PLTRELSZ.
10100 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
10102         Remove obsolete aliases that broke 'locale -a'
10103         [BZ #18412]
10104         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
10105         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
10106         breaking some applications that use 'locale -a' output.
10107         Change the encoding of this file from Latin-1 to ASCII to avoid
10108         other potential problems with people grepping this file.
10110 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10112         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
10113         -fasynchronous-unwind-tables.
10114         (CFLAGS-sendto.c): Likewise.
10115         (CFLAGS-sendmsg.c): Likewise.
10116         (CFLAGS-connect.c): Likewise.
10117         (CFLAGS-recvmsg.c): Likewise.
10118         (CFLAGS-recvfrom.c): Likewise.
10119         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
10120         (SOCKETCALL): New macro: non-cancellable socketcall.
10121         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
10122         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
10123         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
10124         * sysdeps/unix/sysv/linux/accept.c: New file.
10125         * sysdeps/unix/sysv/linux/bind.c: Likewise.
10126         * sysdeps/unix/sysv/linux/connect.c: Likewise.
10127         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
10128         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
10129         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
10130         * sysdeps/unix/sysv/linux/listen.c: Likewise.
10131         * sysdeps/unix/sysv/linux/recv.c: Likewise.
10132         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
10133         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
10134         * sysdeps/unix/sysv/linux/send.c: Likewise.
10135         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
10136         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
10137         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
10138         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
10139         * sysdeps/unix/sysv/linux/socket.c: Likewise.
10140         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
10141         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
10142         prototype.
10143         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
10144         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
10145         instead of __internal_xxx function.
10146         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
10147         prototype.
10148         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
10149         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
10150         instead of __internal_xxx function.
10151         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
10152         prototype.
10153         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
10154         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
10155         instead of __internal_xxx function.
10156         * sysdeps/unix/sysv/linux/accept.S: Remove file.
10157         * sysdeps/unix/sysv/linux/bind.S: Likewise.
10158         * sysdeps/unix/sysv/linux/connect.S: Likewise.
10159         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
10160         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
10161         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
10162         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
10163         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
10164         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
10165         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
10166         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
10167         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10168         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
10169         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
10170         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
10171         * sysdeps/unix/sysv/linux/listen.S: Likewise.
10172         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
10173         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
10174         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
10175         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
10176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
10177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
10178         * sysdeps/unix/sysv/linux/recv.S: Likewise.
10179         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
10180         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
10181         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
10182         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
10183         * sysdeps/unix/sysv/linux/send.S: Likewise.
10184         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
10185         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
10186         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
10187         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
10188         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
10189         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
10190         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
10191         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
10192         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
10193         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
10194         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
10195         socketcall is implemented in GLIBC.
10197 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
10199         * soft-fp/fmadf4.c: Include <libc-internal.h>.
10200         (__fma): Ignore uninitialized warnings around packing.
10201         * soft-fp/fmasf4.c: Include <libc-internal.h>.
10202         (__fmaf): Ignore uninitialized warnings around packing.
10203         * soft-fp/fmatf4.c: Include <libc-internal.h>.
10204         (__fmal): Ignore uninitialized warnings around packing.
10206         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
10207         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
10208         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
10209         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
10211         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
10212         switch statement into default case.
10213         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
10215         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
10216         a conditional in forcing "inexact".
10217         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10218         Likewise.
10220 2015-05-22  Roland McGrath  <roland@hack.frob.com>
10222         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10223         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
10224         for each INTERNAL_SYSCALL use.
10226 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
10228         [BZ #438]
10229         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
10230         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
10231         variable.
10233         [BZ #18444]
10234         * string/basename.c (basename): Rename to __basename and define as
10235         weak alias of __basename.  Use libc_hidden_weak.
10236         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
10237         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
10238         __basename instead of basename.
10239         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
10240         Remove variable.
10241         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
10243 2015-05-18  Florian Weimer  <fweimer@redhat.com>
10245         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
10246         (_IO_JUMPS_FILE_plus): New.
10247         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
10248         _IO_CAST_FIELD_ACCESS.
10249         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
10250         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
10251         * libio/freopen.c (freopen): Likewise.
10252         * libio/freopen64.c (freopen64): Likewise.
10253         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
10254         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
10255         * libio/iofwide.c (_IO_fwide): Likewise.
10256         * libio/memstream.c (open_memstream): Likewise.
10257         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10258         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
10259         * libio/oldiopopen.c (_IO_old_popen): Likewise.
10261 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
10263         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
10264         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
10265         NADJ.
10266         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
10267         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
10268         NADJ.
10269         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
10270         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
10271         NADJ.
10273         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
10274         (p == 4) case.
10276         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
10277         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
10278         Remove variable.
10279         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
10280         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
10281         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
10283 2015-05-21  Florian Weimer  <fweimer@redhat.com>
10285         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
10286         Adjust jump table label generation macros.
10288 2015-05-21  Florian Weimer  <fweimer@redhat.com>
10290         * stdio-common/vfprintf.c (vfprintf): Move local variables
10291         args_malloced, specs, specs_malloced, and the code after
10292         do_positional to the printf_positional function.
10293         (printf_positional): New function.
10295 2015-05-21  Florian Weimer  <fweimer@redhat.com>
10297         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
10298         function.
10299         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
10300         STEP4_TABLE, process_arg): Move macro definitions
10301         out of the vfprintf function.  (Cosmetic change only.)
10303 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
10305         * benchtests/Makefile (stdio-common-bench): Define.
10306         (benchset): Add stdio-common-bench.
10307         * sprintf-inputs: New file.
10308         * sprintf-source.c: New file.
10310 2015-05-21  Andreas Schwab  <schwab@suse.de>
10312         [BZ #13028]
10313         [BZ #17053]
10314         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
10315         of struct __res_state.
10316         * resolv/res_send.c (__libc_res_nsend): Likewise.
10317         (get_nsaddr): New function.
10318         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
10319         statp directly.
10321 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
10323         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
10324         -D_POSIX_C_SOURCE=199506L.
10326         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
10328         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
10329         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
10330         Do not mention otherwise.
10331         [POSIX] (_XOPEN_VERSION): Do not expect.
10332         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
10333         [POSIX] (_POSIX2_C_BIND): Likewise.
10334         [POSIX] (_POSIX2_VERSION): Likewise.
10335         [POSIX] (_XOPEN_XPG2): Likewise.
10336         [POSIX] (_XOPEN_XPG3): Likewise.
10337         [POSIX] (_XOPEN_XPG4): Likewise.
10338         [POSIX] (_XOPEN_UNIX): Likewise.
10339         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
10340         [POSIX] (_POSIX_BARRIERS): Likewise.
10341         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
10342         [POSIX] (_POSIX_CPUTIME): Likewise.
10343         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
10344         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
10345         [POSIX] (_POSIX_SHELL): Likewise.
10346         [POSIX] (_POSIX_SPAWN): Likewise.
10347         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
10348         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
10349         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
10350         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
10351         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
10352         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
10353         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
10354         [POSIX] (_XBS5_LP64_OFF64): Likewise.
10355         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
10356         [POSIX] (_POSIX_TIMEOUTS): Likewise.
10357         [POSIX] (_POSIX2_PBS): Likewise.
10358         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
10359         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
10360         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
10361         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
10362         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
10363         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
10364         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
10365         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
10366         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
10367         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
10368         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
10369         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
10370         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
10371         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
10372         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
10373         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
10374         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
10375         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
10376         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
10377         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
10378         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
10379         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
10380         [POSIX] (_SC_2_C_BIND): Likewise.
10381         [POSIX] (_SC_2_C_VERSION): Likewise.
10382         [POSIX] (_SC_2_PBS): Likewise.
10383         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
10384         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
10385         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
10386         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
10387         [POSIX] (_SC_2_PBS_TRACK): Likewise.
10388         [POSIX] (_SC_ATEXIT_MAX): Likewise.
10389         [POSIX] (_SC_BARRIERS): Likewise.
10390         [POSIX] (_SC_BASE): Likewise.
10391         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
10392         [POSIX] (_SC_DEVICE_IO): Likewise.
10393         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
10394         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
10395         [POSIX] (_SC_FD_MGMT): Likewise.
10396         [POSIX] (_SC_FIFO): Likewise.
10397         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
10398         [POSIX] (_SC_FILE_LOCKING): Likewise.
10399         [POSIX] (_SC_FILE_SYSTEM): Likewise.
10400         [POSIX] (_SC_IOV_MAX): Likewise.
10401         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
10402         [POSIX] (_SC_NETWORKING): Likewise.
10403         [POSIX] (_SC_PAGE_SIZE): Likewise.
10404         [POSIX] (_SC_PASS_MAX): Likewise.
10405         [POSIX] (_SC_PIPE): Likewise.
10406         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
10407         [POSIX] (_SC_REGEXP): Likewise.
10408         [POSIX] (_SC_SHELL): Likewise.
10409         [POSIX] (_SC_SIGNALS): Likewise.
10410         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
10411         [POSIX] (_SC_SPIN_LOCKS): Likewise.
10412         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
10413         [POSIX] (_SC_USER_GROUPS): Likewise.
10414         [POSIX] (_SC_USER_GROUPS_R): Likewise.
10415         [POSIX] (_SC_STREAMS): Likewise.
10416         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
10417         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
10418         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
10419         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
10420         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
10421         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
10422         [POSIX] (_PC_FILESIZEBITS): Likewise.
10423         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
10424         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
10425         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
10426         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
10427         [POSIX] (uid_t): Likewise.
10428         [POSIX] (gid_t): Likewise.
10429         [POSIX] (off_t): Likewise.
10430         [POSIX] (pid_t): Likewise.
10431         [POSIX] (cuserid): Allow.
10432         (_SC_2_CHAR_TERM): Require constant.
10433         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
10434         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
10435         variable.
10437 2015-05-20  Roland McGrath  <roland@hack.frob.com>
10439         * sysdeps/nacl/pthread-pids.h: New file.
10440         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
10441         (create_thread): Use __nacl_get_tid to initialize PD->tid.
10443         * nptl/pthread-pids.h: New file.
10444         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
10445         * nptl/nptl-init.c: Include <pthread-pids.h>.
10446         (__pthread_initialize_minimal_internal):
10447         Call __pthread_initialize_pids instead of set_tid_address syscall.
10449         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
10450         * sysdeps/posix/usleep.c: ... here.
10452 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10454         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
10455         call_pselect6 object.
10456         [$(subdir) = io]: Remove call_sync_file_range object.
10457         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
10458         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
10459         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
10460         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
10462 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
10464         * math/s_cproj.c: Add include "math_private.h".
10465         * math/s_cprojf.c: Likewise.
10466         * math/s_cprojl.c: Likewise.
10468 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
10470         [BZ #18244]
10471         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
10472         high mantissa bit when testing whether P is a NaN.
10473         * math/libm-test.inc (remainder_test_data): Add more tests.
10474         (remquo_test_data): Likewise.
10476         [BZ #18049]
10477         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
10478         below -32, return the argument, with underflow if subnormal.
10479         * math/auto-libm-test-in: Add more tests of atanh.
10480         * math/auto-libm-test-out: Regenerated.
10482 2015-05-19  Roland McGrath  <roland@hack.frob.com>
10484         [BZ #18434]
10485         * nptl/tst-sem15.c: New file.
10486         * nptl/Makefile (tests): Add it.
10487         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
10488         s/<</>>/ to fix typo in EOVERFLOW check.
10489         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
10491 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10493         * manual/strings.texi (envz_remove): Fix typo in safety
10494         annotations.
10496 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
10497             Steve Ellcey  <sellcey@imgtec.com>
10499         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
10500         in order to avoid strict alias warnings.
10501         (iruserok_af): Ditto for ra.
10503 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
10505         [BZ #17581]
10506         * malloc/hooks.c
10507         (magicbyte): Convert to a function and avoid returning 0x01.
10508         (mem2mem_check): Avoid using a length byte equal to the magic byte.
10509         (mem2chunk_check): Fix unsigned comparisons to zero.
10510         Hoist defs of sz and magic.
10512 2015-05-19  Richard Henderson  <rth@redhat.com>
10514         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
10516         * sysdeps/alpha/fpu/libm-test-ulps: Update.
10518 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10520         [BZ #16159]
10521         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
10522         * malloc/arena.c (arena_lock): Check if arena is corrupt.
10523         (reused_arena): Find a non-corrupt arena.
10524         (heap_trim): Pass arena to unlink.
10525         * malloc/hooks.c (malloc_check_get_size): Pass arena to
10526         malloc_printerr.
10527         (top_check): Likewise.
10528         (free_check): Likewise.
10529         (realloc_check): Likewise.
10530         * malloc/malloc.c (malloc_printerr): Add arena argument.
10531         (unlink): Likewise.
10532         (munmap_chunk): Adjust.
10533         (ARENA_CORRUPTION_BIT): New macro.
10534         (arena_is_corrupt): Likewise.
10535         (set_arena_corrupt): Likewise.
10536         (sysmalloc): Use mmap if there are no usable arenas.
10537         (_int_malloc): Likewise.
10538         (__libc_malloc): Don't fail if arena_get returns NULL.
10539         (_mid_memalign): Likewise.
10540         (__libc_calloc): Likewise.
10541         (__libc_realloc): Adjust for additional argument to
10542         malloc_printerr.
10543         (_int_free): Likewise.
10544         (malloc_consolidate): Likewise.
10545         (_int_realloc): Likewise.
10546         (_int_memalign): Don't touch corrupt arenas.
10547         * malloc/tst-malloc-backtrace.c: New test case.
10549         * Makefile (summarize-tests): Fix return value on success.
10551         * manual/string.texi (Envz Functions): Add envz_remove.
10553 2015-05-18  Roland McGrath  <roland@hack.frob.com>
10555         * sysdeps/posix/opendir.c: Include <stdbool.h>.
10556         (invalid_name): New function, broken out of ...
10557         (__opendirat): ... here.  Call it.
10558         (need_isdir_precheck): New function, broken out of ...
10559         (__opendirat): ... here.  Call it.
10560         Use __fxstatat64, not __xstatat64.
10561         (opendir_oflags): New function, broken out of ...
10562         (__opendirat): ... here.  Call it.
10563         (opendir_tail): New function, broken out of ...
10564         (__opendirat): ... here.  Call it.
10565         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
10566         opendir_tail, rather than punting to __opendirat.
10567         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
10569 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10571         * .gitignore: Ignore generated *.pyc.
10573 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
10575         * include/stdio.h: Define __need_wint_t.
10576         * test-skeleton.c: Avoid `for' loop initial declaration.
10577         * nptl/tst-initializers1.c: Use test-skeleton.c.
10579 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10581         [BZ #18418]
10582         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
10584 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
10586         [BZ #16352]
10587         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
10588         (__ieee754_atanh): Force underflow exception for results with
10589         small absolute value.
10590         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
10591         (__ieee754_atanhf): Force underflow exception for results with
10592         small absolute value.
10593         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
10594         (__ieee754_atanh): Force underflow exception for results with
10595         small absolute value.
10596         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
10597         (__ieee754_atanhf): Force underflow exception for results with
10598         small absolute value.
10599         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
10600         (__ieee754_atanhl): Force underflow exception for results with
10601         small absolute value.
10602         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
10603         (__ieee754_atanhl): Force underflow exception for results with
10604         small absolute value.
10605         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
10606         (__ieee754_atanhl): Force underflow exception for results with
10607         small absolute value.
10608         * math/auto-libm-test-in: Do not allow missing underflow
10609         exceptions from atanh.
10610         * math/auto-libm-test-out: Regenerated.
10612         [BZ #18221]
10613         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
10614         2**-28 as threshold for returning x or +/- 1/x.
10615         * math/auto-libm-test-in: Add more tests of tan.
10616         * math/auto-libm-test-out: Regenerated.
10618         [BZ #18220]
10619         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10620         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
10621         * math/auto-libm-test-in: Add another test of lgamma.
10622         * math/auto-libm-test-out: Regenerated.
10624 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
10626         * stdio-common/printf_fp.c (___printf_fp): Use abs.
10627         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
10628         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
10629         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
10630         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
10631         (ADD2A): Use fabs.  (SUB2A): Use fabs.
10632         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
10633         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
10634         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
10635         (log1): Use fabs.  (my_log2): Use fabs.
10636         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
10637         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
10638         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
10639         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
10640         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
10641         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
10642         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
10643         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
10644         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
10645         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
10646         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
10648 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
10650         [BZ #18217]
10651         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
10652         as threshold for returning 1 - x.
10653         * math/auto-libm-test-in: Add more tests of erfc.
10654         * math/auto-libm-test-out: Regenerated.
10656 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
10658         [BZ #18196]
10659         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
10660         threshold for large arguments.
10661         * math/auto-libm-test-in: Add another test of atan.
10662         * math/auto-libm-test-out: Regenerated.
10664         [BZ #16339]
10665         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
10666         (__log1p): Force underflow exception for results with small
10667         absolute value.
10668         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
10669         (__log1pf): Force underflow exception for results with small
10670         absolute value.
10671         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
10672         (__log1p): Force underflow exception for results with small
10673         absolute value.
10674         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
10675         (__log1pf): Force underflow exception for results with small
10676         absolute value.
10677         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
10678         (__log1pl): Force underflow exception for results with small
10679         absolute value.
10680         * math/auto-libm-test-in: Do not allow missing underflow
10681         exceptions from log1p.
10682         * math/auto-libm-test-out: Regenerated.
10684 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
10685             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10687         [BZ #16704]
10688         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
10690 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
10692         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
10693         (libmvec): New variable.
10694         * configure.ac: Added option for mathvec build.
10695         * configure: Regenerated.
10696         * mathvec/Depend: New file.
10697         * mathvec/Makefile: New file.
10698         * shlib-versions: Added libmvec.
10699         * math/Makefile: Added rule for libm.so installation.
10701         * bits/math-vector.h: New file.
10702         * bits/libm-simd-decl-stubs.h: New header.
10703         * math/Makefile (headers): Added new header
10704         libm-simd-decl-stubs.h.
10705         * math/math.h (__MATHCALL_VEC): New macro.
10707         * math/gen-libm-have-vector-test.sh: Script generates series of macros
10708         for conditions in testing functions.
10709         * math/Makefile: Added call of libm-have-vector-test.sh.
10710         * math/libm-test.inc (HAVE_VECTOR): New macros.
10712         * math/libm-test.inc: START refactored.
10713         * math/test-double.c (TEST_MATHVEC): Add define.
10714         * math/test-float.c: Likewise.
10715         * math/test-idouble.c: Likewise.
10716         * math/test-ifloat.c: Likewise.
10717         * math/test-ildoubl.c: Likewise.
10718         * math/test-ldouble.c: Likewise.
10719         * sysdeps/generic/math-tests-arch.h
10720         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
10721         architecture check.
10723         * math/test-double.c (FUNC_TEST): New macro.
10724         * math/test-float.c: Likewise.
10725         * math/test-idouble.c: Likewise.
10726         * math/test-ifloat.c: Likewise.
10727         * math/test-ildoubl.c: Likewise.
10728         * math/test-ldouble.c: Likewise.
10729         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
10731 2015-05-13  Roland McGrath  <roland@hack.frob.com>
10733         * sysdeps/nacl/fdopendir.c: New file.
10735         * dirent/scandir-tail.c: New file.
10736         * dirent/scandir64-tail.c: New file.
10737         * dirent/Makefile (routines): Add them.
10738         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
10739         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
10740         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
10741         [!SCANDIR] (SCANDIR_TAIL): New macro.
10742         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
10743         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
10744         (SCANDIRAT): Macro removed.
10745         (SCANDIR_TAIL): New macro.
10746         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
10747         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
10748         (SCANDIRAT): Just call __opendirat and __scandir_tail.
10749         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
10750         (READDIR): Macro removed.
10751         (SCANDIR_TAIL): New macro.
10752         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
10753         (SCANDIR_TAIL): New macro.
10755         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
10756         * dirent/scandir-cancel.c: ... to this new file.
10757         * dirent/Makefile (routines): Add it.
10758         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
10759         * sysdeps/unix/sysv/linux/i386/scandir64.c
10760         (SKIP_SCANDIR_CANCEL): Macro removed.
10761         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
10763         * dirent/tst-scandir.c: New file.
10764         * dirent/tst-scandir64.c: New file.
10765         * dirent/Makefile (tests): Add them.
10767 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
10769         [BZ #18409]
10770         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
10772 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10774         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
10775         list.
10777 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
10779         * benchtests/bench-strcoll.c: New benchmark.
10780         * benchtests/Makefile: Generate locales and run benchmark.
10781         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
10782         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
10783         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
10784         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
10785         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
10786         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
10787         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
10788         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
10789         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
10790         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
10791         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
10792         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
10793         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
10794         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
10795         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
10796         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
10797         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
10798         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
10799         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
10800         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
10801         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
10802         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
10803         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
10804         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
10806 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
10808         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
10809         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10811 2015-05-12  Roland McGrath  <roland@hack.frob.com>
10813         * posix/uname-values.h: New file.
10814         * posix/uname.c: Include that instead of <config-name.h>.
10815         * sysdeps/nacl/uname-values.h: New file.
10816         * sysdeps/arm/nacl/uname-values.h: New file.
10818 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
10820         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
10821         splitting into fields.
10823 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
10825         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
10826         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
10827         * locale/localeinfo.h: Add enum collation_encoding_type.
10828         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
10829         * programs/ld-collate.c (collate_output): Add encoding type info.
10830         * string/strcoll_l.c (STRDIFF): New function.
10831         * (STRCOLL): Use STRDIFF to skip over equal prefix.
10832         * wcsmbs/wcscoll_l.c: Define STRDIFF.
10834 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
10836         [BZ #18397]
10837         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
10838         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
10839         <fpu_control.h> instead of <math/fpu_control.c>.
10840         * sysdeps/mips/mips32/fpu/Makefile: New file.
10842 2015-05-11  Andreas Schwab  <schwab@suse.de>
10844         [BZ #18007]
10845         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
10846         nss_endgrent.
10847         (_nss_compat_endgrent): Call nss_endgrent.
10848         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
10849         nss_endpwent.
10850         (_nss_compat_endpwent): Call nss_endpwent.
10851         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
10852         needent, call nss_setspent only if non-zero.
10853         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
10854         (internal_endspent): Don't call nss_endspent.
10855         (_nss_compat_endspent): Call nss_endspent.
10856         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
10857         Remove.  All uses removed.
10858         (internal_setent): Remove parameter stayopen, add parameter
10859         stream.  Use it instead of global variable.
10860         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
10861         (internal_endent, internal_getent): Add parameter stream.  Use it
10862         instead of global variable.
10863         (CONCAT(_nss_files_end,ENTNAME))
10864         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
10865         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
10866         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
10867         uses removed.
10868         (internal_setent, internal_endent): Add parameter stream.  Use it
10869         instead of global variable.
10870         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
10871         stream.
10872         (get_next_alias): Add parameter stream.
10873         (_nss_files_getaliasent_r): Pass global stream.
10874         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
10875         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
10876         (_nss_files_gethostbyname4_r): Pass local stream to
10877         internal_setent, internal_getent and internal_endent.  Remove
10878         locking.
10880 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10882         * tst-strfmon1.c (tests): Update expected currency symbol.
10884 2015-05-08  Roland McGrath  <roland@hack.frob.com>
10886         * sysdeps/nacl/gethostname.c: New file.
10888 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
10890         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
10891         and sinh.
10892         * math/auto-libm-test-out: Regenerated.
10893         * sysdeps/i386/fpu/libm-test-ulps: Update.
10894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10896 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
10898         [BZ #18125]
10899         * stdlib/tst-setcontext3.c: New file.
10900         * stdlib/tst-setcontext3.sh: New file.
10901         * stdlib/Makefile (tests): Add tst-setcontext3.
10902         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
10903         to verify test program created output file.
10904         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
10905         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
10906         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
10907         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
10909 2015-05-06  Roland McGrath  <roland@hack.frob.com>
10911         [BZ #18383]
10912         * elf/tst-tlsalign.c: New file.
10913         * elf/tst-tlsalign-static.c: New file.
10914         * elf/tst-tlsalign-lib.c: New file.
10915         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
10916         (tests-static): Add tst-tlsalign-static.
10917         (modules-names): Add tst-tlsalign-lib.
10918         (test-xfail-tst-tlsalign): New variable.
10919         (test-xfail-tst-tlsalign-static): New variable.
10921         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
10922         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
10924 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
10926         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
10927         csqrt, erfc, sin and sincos.
10928         * math/auto-libm-test-out: Regenerated.
10929         * sysdeps/i386/fpu/libm-test-ulps: Update.
10930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10932 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10934         * sysdeps/aarch64/libm-test-ulps: Update.
10936 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
10938         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
10939         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
10940         * math/auto-libm-test-out: Regenerated.
10941         * sysdeps/i386/fpu/libm-test-ulps: Update.
10942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10944 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
10946         [BZ #18265]
10947         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
10948         (wcsncpy): Likewise.
10950 2015-05-05  Florian Weimer  <fweimer@redhat.com>
10952         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10953         Assume __ASSUME_FALLOCATE is always true.
10954         * sysdeps/unix/sysv/linux/posix_fallocate64.c
10955         (__posix_fallocate64_l64): Likweise.
10956         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
10957         (posix_fallocate): Likewise.
10958         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
10959         (__posix_fallocate64_l64): Likewise.
10960         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10961         [!__ASSUME_FALLOCATE]: Add comment.
10963 2015-05-05  Florian Weimer  <fweimer@redhat.com>
10965         * sysdeps/unix/sysv/linux/i386/Makefile
10966         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
10967         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
10968         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
10969         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10970         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10971         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
10972         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
10974 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
10976         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
10977         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
10978         tgamma.
10979         * math/auto-libm-test-out: Regenerated.
10980         * sysdeps/i386/fpu/libm-test-ulps: Update.
10981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10983 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
10985         * math/auto-libm-test-in: Add more tests of tgamma.
10986         * math/auto-libm-test-out: Regenerated.
10987         * sysdeps/i386/fpu/libm-test-ulps: Update.
10988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10990         * math/auto-libm-test-in: Add more tests of tanh.
10991         * math/auto-libm-test-out: Regenerated.
10992         * sysdeps/i386/fpu/libm-test-ulps: Update.
10993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10995         * math/auto-libm-test-in: Add more tests of tan.
10996         * math/auto-libm-test-out: Regenerated.
10997         * sysdeps/i386/fpu/libm-test-ulps: Update.
10998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11000         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
11001         * math/auto-libm-test-out: Regenerated.
11002         * sysdeps/i386/fpu/libm-test-ulps: Update.
11003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11005         * math/auto-libm-test-in: Add another test of pow.
11006         * math/auto-libm-test-out: Regenerated.
11007         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11009         * math/auto-libm-test-in: Add more tests of lgamma.
11010         * math/auto-libm-test-out: Regenerated.
11011         * sysdeps/i386/fpu/libm-test-ulps: Update.
11012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11014         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
11015         log1p.
11016         * math/auto-libm-test-out: Regenerated.
11017         * sysdeps/i386/fpu/libm-test-ulps: Update.
11018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11020 2015-05-01  Mark Wielaard  <mjw@redhat.com>
11022         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
11023         Elf64_Chdr structs and ELFCOMPRESS constants.
11025 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
11027         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
11028         expm1.
11029         * math/auto-libm-test-out: Regenerated.
11030         * sysdeps/i386/fpu/libm-test-ulps: Update.
11031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11033         * math/auto-libm-test-in: Add more tests of erf and erfc.
11034         * math/auto-libm-test-out: Regenerated.
11035         * sysdeps/i386/fpu/libm-test-ulps: Update.
11036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11038 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11040         * config.h.in (HAVE_AARCH64_BE): Add.
11042 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
11044         * math/auto-libm-test-in: Add more tests of csqrt.
11045         * math/auto-libm-test-out: Regenerated.
11046         * sysdeps/i386/fpu/libm-test-ulps: Update.
11047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11049         * math/auto-libm-test-in: Add more tests of cosh and sinh.
11050         * math/auto-libm-test-out: Regenerated.
11051         * sysdeps/i386/fpu/libm-test-ulps: Update.
11052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11054         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
11056 2015-04-29  Roland McGrath  <roland@hack.frob.com>
11058         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
11059         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
11061         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
11062         (euidaccess, eaccess): Define as weak aliases.
11064         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
11065         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
11066         but __suseconds_t is often 'long int' so some sources assume that
11067         type is being used (e.g. they use %ld to print tv_usec).
11069 2015-04-29  Florian Weimer  <fweimer@redhat.com>
11071         [BZ #18007]
11072         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
11073         (CVE-2014-8121)
11074         * nss/tst-nss-getpwent.c: New file.
11075         * nss/Makefile (tests): Add new test.
11077 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
11079         [BZ #18346]
11080         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
11081         exponents less than 48 as cases where high part of mantissa needs
11082         examining to determine whether argument is integral.
11083         * math/libm-test.inc (round_test_data): Add more tests.
11085 2015-04-28  Mark Wielaard  <mjw@redhat.com>
11087         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
11089 2015-04-27  David S. Miller  <davem@davemloft.net>
11091         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
11092         __tls_get_addr.
11093         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
11095 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
11097         [BZ#18333]
11098         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
11100 2015-04-27  Florian Weimer  <fweimer@redhat.com>
11102         [BZ#18333]
11103         * time/tzset.c (parse_tzname): Return error on memory allocation
11104         failure.
11105         * test-skeleton.c (struct temp_name_list): Change type of name
11106         member to non-const.
11107         (add_temp_file): Create a copy of the file name.
11108         (delete_temp_files): Deallocate memory.
11109         (create_temp_file): Add comment.
11111 2015-04-24  Florian Weimer  <fweimer@redhat.com>
11113         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
11114         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
11116 2015-04-24  Roland McGrath  <roland@hack.frob.com>
11118         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
11119         * sysdeps/arm/configure: Regenerated.
11121 2015-04-24  Florian Weimer  <fweimer@redhat.com>
11123         [BZ #17715]
11124         * time/tzfile.c (__tzfile_read): Check for large values of
11125         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
11126         * time/tzset.c (__tzstring_len): New function, based on the old
11127         __tzstring function.
11128         (__tzstring): Call __tzstring_len.
11129         (parse_tzname): New helper function extracted from
11130         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
11131         the input string.
11132         (parse_offset): New helper function extracted from
11133         __tzset_parse_tz.  Replace switch with fallthrough with
11134         initialization before sscanf.
11135         (parse_rule): Likewise.
11136         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
11137         new-style function definition.
11138         * timezone/Makefile (tests): Add tst-tzset.
11139         (tst-tzset.out): Dependencies on time zone files.
11140         (tst-tzset-ENV): Set TZDIR.
11141         (testdata/XT%): Copy crafted time zone files.
11142         * timezone/README: Mention crafted time zone files.
11143         * timezone/testdata/XT1, timezone/testdata/XT2,
11144         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
11145         files.
11146         * timezone/tst-tzset.c: New test.
11148 2015-04-24  Florian Weimer  <fweimer@redhat.com>
11150         * Makeconfig (+gccwarn): Remove -Winline.
11152 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11154         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
11156 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11158         * NEWS: Mention sysconf() cache information support for s390.
11159         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
11161 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
11163         * math/k_casinh.c (__kernel_casinh): Use __copysign.
11164         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
11165         (__nearbyint): Likewise.
11166         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
11167         (copysignl): Likewise.
11169 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
11171         [BZ #18287]
11172         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
11173         based on padding.  (CVE-2015-1781)
11175 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11177         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
11178         libc-vdso.h.
11179         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
11180         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
11181         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
11182         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
11183         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
11184         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
11185         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
11186         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
11187         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11188         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
11189         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11190         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11191         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
11192         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
11193         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
11194         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
11195         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
11196         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
11197         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
11198         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
11199         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
11200         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
11201         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
11203 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
11205         * stdlib/setenv.c (__add_to_environ):
11206         Dump core quickly if setenv (..., NULL, ...) is called.
11207         This time, do it the right way, and pacify GCC with a pragma.
11209 2015-04-17  Roland McGrath  <roland@hack.frob.com>
11211         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
11212         IMAP->l_prev cannot be null, and #if out the code for the contrary
11213         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
11214         believe that NS (&_dl_ns[NSID]) could point outside the array.
11216         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
11217         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
11218         before using NSID as an index.
11220 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
11222         [BZ #17825]
11223         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
11224         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
11225         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
11227 2015-04-17  Roland McGrath  <roland@hack.frob.com>
11229         Add preliminary port to Google Native Client on ARM.
11230         * abi-tags (.*-.*-nacl.*): New entry.
11231         * sysdeps/arm/nacl: New directory.
11232         * sysdeps/nacl: New directory.
11234 2015-04-16  David S. Miller  <davem@davemloft.net>
11236         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
11237         lowlevellock-futex.h
11239 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
11241         * sysdeps/tile/configure.ac: New file.
11242         * sysdeps/tile/configure: Regenerated.
11244 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11246         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
11247         conditionals for weak_alias and libc_hidden_weak.
11248         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
11249         libc_hidden_weak and weak_alias.
11250         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
11251         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
11252         and weak_alias for static one.
11254 2015-04-15  David S. Miller  <davem@davemloft.net>
11256         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11258 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11260         [BZ #18206]
11261         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
11262           Use signed comparision instead of substraction to avoid
11263           overflow bug.
11264         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
11265           Take the sign of ret.
11266         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
11267           Do not expect precise return values. Only the sign matters.
11268         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
11269         * wcsmbs/test-wcsncmp.c: New File.
11270         * string/test-strncmp.c: Add wcsncmp support.
11272 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11274         [BZ #6792]
11275         * math/w_log1p.c: New file.
11276         * math/w_log1pf.c: Likewise.
11277         * math/w_log1pl.c: Likewise.
11278         * math/Makefile (libm-calls): Add w_log1p.
11279         * math/s_log1pl.c (log1pl): Remove weak_alias.
11280         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
11281         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
11282         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
11283         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
11284         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
11285         [NO_LONG_DOUBLE] (log1pl): Likewise.
11286         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
11287         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
11288         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
11289         (log1p): Remove long_double_symbol.
11290         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
11291         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
11292         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
11293         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
11294         remove weak_alias for corresponding log1p function.
11295         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
11296         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
11297         * sysdeps/ia64/fpu/w_log1p.c: New file.
11298         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
11299         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
11300         * math/libm-test.inc (log1p_test_data): Add errno expectations.
11302 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
11304         [BZ #18247]
11305         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
11306         decimal exponent by 1.
11307         * stdlib/tst-strtod-round-data: Add more tests.
11308         * stdlib/tst-strtod-round.c (tests): Regenerated.
11310 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
11312         * math/auto-libm-test-in: Add more tests of clog and clog10.
11313         * math/auto-libm-test-out: Regenerated.
11314         * sysdeps/i386/fpu/libm-test-ulps: Update.
11315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11317 2015-04-09  Roland McGrath  <roland@hack.frob.com>
11319         * Makeconfig (module-cppflags): Exclude all .v.i files.
11320         (skip-module-cppflags): Variable removed.
11322         * configure.ac (libc_config_ok): Initialize before reading
11323         preconfigure scripts, not after.
11324         * configure: Regenerated.
11326         * test-skeleton.c (TIMEOUT): Move #define to top level.
11327         (main): Grok environment variable TEST_DIRECT.  If set, print
11328         test expectation details into that file and then behave as if
11329         given --direct.
11331 2015-04-09  Florian Weimer  <fweimer@redhat.com>
11333         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
11334         warning on 32-bit.
11336 2015-04-08  David S. Miller  <davem@davemloft.net>
11338         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11340 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
11342         * math/auto-libm-test-in: Add more tests of atanh.
11343         * math/auto-libm-test-out: Regenerated.
11344         * sysdeps/i386/fpu/libm-test-ulps: Update.
11345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11347         * math/auto-libm-test-in: Add more tests of atan.
11348         * math/auto-libm-test-out: Regenerated.
11349         * sysdeps/i386/fpu/libm-test-ulps: Update.
11350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11352 2015-04-08  Florian Weimer  <fweimer@redhat.com>
11354         * elf/pldd.c (main): Rewrite to use struct
11355         scratch_buffer instead of extend_alloca.
11356         * elf/pldd-xx.c (find_maps): Likewise.
11357         * grp/initgroups.c: Include <scratch_buffer.h> instead of
11358         <alloca.h>.
11359         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
11360         scratch_buffer instead of extend_alloca.
11361         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
11362         grp/compat-initgroups.c.
11363         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
11364         Rewrite to use struct scratch_buffer instead of extend_alloca.
11365         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
11366         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11368 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
11370         * math/auto-libm-test-in: Add more tests of cbrt.
11371         * math/auto-libm-test-out: Regenerated.
11372         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11374         * math/auto-libm-test-in: Add more tests of cabs.
11375         * math/auto-libm-test-out: Regenerated.
11376         * sysdeps/i386/fpu/libm-test-ulps: Update.
11377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11379         [BZ #18210]
11380         [BZ #18211]
11381         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
11382         (__ieee754_atan2): Set FE_TONEAREST mode for internal
11383         computations.
11384         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
11385         clog10.
11386         * math/auto-libm-test-out: Regenerated.
11387         * sysdeps/i386/fpu/libm-test-ulps: Update.
11388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11390         [BZ #18197]
11391         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
11392         (atan): Set FE_TONEAREST mode for internal computations.
11393         * math/auto-libm-test-in: Add more tests of atan.
11394         * math/auto-libm-test-out: Regenerated.
11396 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
11398         [BZ #17930]
11399         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
11401 2015-04-07  Florian Weimer  <fweimer@redhat.com>
11403         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
11405 2015-04-07  Florian Weimer  <fweimer@redhat.com>
11407         * include/scratch_buffer.h: New file.
11408         * malloc/scratch_buffer_grow.c: Likewise.
11409         * malloc/scratch_buffer_grow_preserve.c: Likewise.
11410         * malloc/scratch_buffer_set_array_size.c: Likewise.
11411         * malloc/tst-scratch_buffer.c: Likewise.
11412         * malloc/Makefile (routines): Add scratch_buffer_grow.
11413         (tests): Add test case.
11414         * malloc/Versions (GLIBC_PRIVATE): Export
11415         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
11416         __libc_scratch_buffer_set_array_size.
11418 2015-04-06  Richard Henderson  <rth@redhat.com>
11420         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
11421         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11423         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
11424         unsigned int before printing.
11426 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11428         [BZ #17596]
11429         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
11430         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11432 2015-04-02  Florian Weimer  <fweimer@redhat.com>
11434         * include/libc-internal.h (libc_max_align_t): Define.
11436 2015-04-02  Andreas Schwab  <schwab@suse.de>
11438         [BZ #16850]
11439         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
11441 2015-04-02  Mel Gorman  <mgorman@suse.de>
11443         [BZ #17195]
11444         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
11445         as well as the main arena.
11447 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
11449         [BZ #18185]
11450         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
11451         sharing L2 cache to 2 for Silvermont/Knights Landing.
11453 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
11455         [BZ #17711]
11456         * config.make.in (have-protected-data): New.
11457         * configure.ac: Check linker support for protected data symbol.
11458         * configure: Regenerated.
11459         * elf/Makefile (modules-names): Add tst-protected1moda and
11460         tst-protected1modb if $(have-protected-data) is yes.
11461         (tests): Add tst-protected1a and tst-protected1b if
11462         $(have-protected-data) is yes.
11463         ($(objpfx)tst-protected1a): New.
11464         ($(objpfx)tst-protected1b): Likewise.
11465         (tst-protected1modb.so-no-z-defs): Likewise.
11466         * elf/tst-protected1a.c: New file.
11467         * elf/tst-protected1b.c: Likewise.
11468         * elf/tst-protected1mod.h: Likewise.
11469         * elf/tst-protected1moda.c: Likewise.
11470         * elf/tst-protected1modb.c: Likewise.
11472 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
11474         [BZ #17711]
11475         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
11476         indicates it is called from do_lookup_x on relocation against
11477         protected data, skip the data definion in the executable from
11478         copy reloc.
11479         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
11480         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
11481         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
11482         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
11483         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
11484         otherwise to 0.
11485         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
11486         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
11487         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
11488         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
11489         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
11490         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
11492 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
11494         * sysdeps/nptl/pthread.h: Remove duplicate definition of
11495         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
11497 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
11499         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
11500         THREAD_SETMEM_NC.
11501         * sysdeps/x86_64/nptl/tls.h: Ditto.
11503 2015-03-27  Roland McGrath  <roland@hack.frob.com>
11505         * dlfcn/tststatic.c (main): Converted to ...
11506         (do_test): ... this.
11507         (TEST_FUNCTION): New macro.
11508         Include test-skeleton.c.
11510 2015-03-26  Alan Modra  <amodra@gmail.com>
11512         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
11513         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
11514         zero for undefined weak.
11515         (elf_machine_plt_conflict): Similarly.
11517 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
11519         * math/auto-libm-test-in: Add more tests of acosh, asinh and
11520         atanh.
11521         * math/auto-libm-test-out: Regenerated.
11522         * sysdeps/i386/fpu/libm-test-ulps: Update.
11523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11525         * math/auto-libm-test-in: Add another test of asin.
11526         * math/auto-libm-test-out: Regenerated.
11527         * sysdeps/i386/fpu/libm-test-ulps: Update.
11528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11530         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
11531         Remove macro.
11532         (LLL_EBX_REG): Likewise.
11533         (LLL_ENTER_KERNEL): Likewise.
11535         * math/auto-libm-test-in: Add more tests of asin.
11536         * math/auto-libm-test-out: Regenerated.
11537         * sysdeps/i386/fpu/libm-test-ulps: Update.
11538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11540         [BZ #18138]
11541         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
11542         libc_do_syscall_args): New structure.
11543         (INTERNAL_SYSCALL_MAIN_0): New macro.
11544         (INTERNAL_SYSCALL_MAIN_1): Likewise.
11545         (INTERNAL_SYSCALL_MAIN_2): Likewise.
11546         (INTERNAL_SYSCALL_MAIN_3): Likewise.
11547         (INTERNAL_SYSCALL_MAIN_4): Likewise.
11548         (INTERNAL_SYSCALL_MAIN_5): Likewise.
11549         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
11550         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
11551         Replace conditional definitions by conditional definitions of ....
11552         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
11553         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
11554         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
11555         (libpthread-sysdep_routines): Add libc-do-syscall.
11556         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
11557         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
11558         to __NR_futex not 240.
11560 2015-03-25  Alan Modra  <amodra@gmail.com>
11562         * NEWS: Advertise TLS optimization.
11563         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
11564         (DT_PPC_NUM): Increment.
11565         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
11566         (CHECK_STATIC_TLS): Use here.
11567         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
11568         TLS descriptors.
11569         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11570         * sysdeps/powerpc/dl-tls.c: New file.
11571         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
11572         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
11573         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
11574         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
11575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
11576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
11577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
11579 2015-03-25  Alan Modra  <amodra@gmail.com>
11581         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
11582         for overlapping .opd entries" to "support...".
11583         * sysdeps/powerpc/powerpc64/configure: Regenerate
11585 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
11587         * math/auto-libm-test-in: Add more tests of acos.
11588         * math/auto-libm-test-out: Regenerated.
11589         * sysdeps/i386/fpu/libm-test-ulps: Update.
11590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11592         * math/auto-libm-test-in: Add more tests of expm1.
11593         * math/auto-libm-test-out: Regenerated.
11594         * sysdeps/i386/fpu/libm-test-ulps: Update.
11595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11597 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
11599         * math/auto-libm-test-in: Add more tests of cosh and sinh.
11600         * math/auto-libm-test-out: Regenerated.
11601         * sysdeps/i386/fpu/libm-test-ulps: Update.
11602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11604         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11607         * math/auto-libm-test-in: Add more tests of log2.
11608         * math/auto-libm-test-out: Regenerated.
11609         * sysdeps/i386/fpu/libm-test-ulps: Update.
11610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11612 2015-03-23  Roland McGrath  <roland@hack.frob.com>
11614         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
11615         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
11616         _IO_IS_APPENDING bit in READ_WRITE instead.
11618 2015-03-23  Florian Weimer  <fweimer@redhat.com>
11620         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
11621         (__determine_cpumask_size): Replace extend_alloca with a
11622         variable-length array.  Do not treat res == 0 as an error.
11624 2015-03-23  Florian Weimer  <fweimer@redhat.com>
11626         [BZ #18100]
11627         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
11628         and integer overflow.
11629         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
11630         (main): Add integer overflow tests.
11631         * manual/pattern.texi (Calling Wordexp): Document additional use
11632         for WRDE_SYNTAX.
11634 2015-03-23  Alan Modra  <amodra@gmail.com>
11636         * config.h.in: Remove HAVE_ASM_PPC_REL16.
11637         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
11638         and false branch of conditional.
11639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11640         Likewise.
11642 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
11644         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
11645         libc-modules.h
11646         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
11647         unused declaration of _hurd_intr_rpc_msg_in_trap.
11648         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
11649         defined instead of whether it is non-zero.
11650         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
11651         input constraint instead of both input and output constraint.  Use ecx
11652         clobber instead of %ecx.
11653         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
11654         mutex_unlock): Use a statement expression instead of an expression list.
11655         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
11656         type to vm_size_t instead of vm_address_t.
11657         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
11658         defined instead of whether it is non-zero.
11659         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
11660         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
11661         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
11662         comparisons with mapaddr.
11663         * nscd/nscd-client.h: Include <time.h>.
11664         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
11665         9th parameter to __vm_region instead of int.
11666         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
11667         * scripts/check-local-headers.sh (exclude): Add device/,
11668         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
11669         cthreads.h.
11671 2015-03-19  Roland McGrath  <roland@hack.frob.com>
11673         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
11674         to account for alignment padding.
11675         * sysdeps/arm/memmove.S: Likewise.
11677 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
11679         * sysdeps/unix/sysv/linux/generic/README: New file.
11681 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
11683         [BZ #18138]
11684         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
11685         (futex_abstimed_wait)
11686         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
11687         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
11688         of lll_futex_timed_wait.
11690 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
11692         [BZ #17542]
11693         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
11695 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
11697         [BZ #17090]
11698         [BZ #17620]
11699         [BZ #17621]
11700         [BZ #17628]
11701         * NEWS: Update.
11702         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
11703         entries with Static TLS too.  Skip entries past the end of the
11704         allocated DTV, from Alan Modra.
11705         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
11706         Static TLS DTV entry set up from...
11707         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
11708         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
11709         * nptl/allocatestack.c (init_one_static_tls): ... and here...
11710         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
11711         for Static TLS.
11712         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
11713         that the slot we find is associated with the given map before
11714         using its generation count.
11715         * nptl_db/db_info.c: Include ldsodefs.h.
11716         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
11717         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
11718         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
11719         (link_map::l_tls_offset): New struct field.
11720         (dtv_t::counter): Likewise.
11721         (rtld_global): New struct.
11722         (_rtld_global): New rtld variable.
11723         (dl_tls_dtv_slotinfo_list): New rtld global field.
11724         (dtv_slotinfo_list): New struct.
11725         (dtv_slotinfo): Likewise.
11726         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
11727         (td_lookup): Rename to...
11728         (td_mod_lookup): ... this.  Use new mod parameter instead of
11729         LIBPTHREAD_SO.
11730         * nptl_db/td_thr_tlsbase.c: Include link.h.
11731         (dtv_slotinfo_list, dtv_slotinfo): New functions.
11732         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
11733         addresses even if the DTV is out of date or missing them.
11734         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
11735         index zero-length arrays.
11736         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
11737         (td_lookup): Make it a macro implemented in terms of...
11738         (td_mod_lookup): ... this declaration.
11739         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
11740         (DB_MAIN_VARIABLE): Likewise.
11742 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
11744         [BZ #18134]
11745         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
11747 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
11749         * stdlib/setenv.c (__add_to_environ): Revert previous change.
11751 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
11753         [BZ #18128]
11754         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
11755         (atomic_add, atomic_increment_and_test)
11756         (atomic_decrement_and_test): Fix 64-bit arithmetic.
11758 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
11760         * stdlib/setenv.c (__add_to_environ):
11761         Dump core quickly if setenv (..., NULL, ...) is called.
11763 2015-03-13  Roland McGrath  <roland@hack.frob.com>
11765         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
11766         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
11767         all the necessary asm magic in one place.
11768         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
11769         using those.
11771 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
11773         [BZ #14906]
11774         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
11775         traced file mtime. Use consistent log message.
11776         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
11777         (register_traced_file): Call install_watches. Always set mtime.
11778         (invalidate_cache): Iterate over all trace files. Call install_watches.
11779         (inotify_check_files): Don't inline. Handle watching parent
11780         directories and configuration file movement in and out.
11781         (handle_inotify_events): New function.
11782         (main_loop_poll): Call handle_inotify_events.
11783         (main_loop_epoll): Likewise.
11784         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
11785         (struct traced_file): Use array of inotify fds. Add parent directory,
11786         and basename.
11787         (struct database_dyn): Remove unused file_mtime.
11788         (init_traced_file): New inline function.
11789         (define_traced_file): New macro.
11790         * nss/nss_db/db-init.c: Use define_traced_file.
11791         (_nss_db_init): Use init_traced_file.
11792         * nss/nss_files/files-init.c: Use define_traced_file.
11793         (_nss_files_init): Use init_traced_file.
11795 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
11797         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
11798         [_LIBC]: Do not include <stdlib.h>.
11799         [!_LIBC] (abort): Remove declaration.
11800         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
11801         _FP_STATIC_ASSERT instead of conditionally calling abort.
11802         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
11803         (_FP_EXTEND_CNAN): Likewise.
11804         (FP_TRUNC): Likewise.
11805         (__FP_CLZ): Likewise.
11806         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
11808 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
11810         * manual/string.texi (XPG basename): Fix prototype.
11812 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
11814         [BZ #18080]
11815         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
11816         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
11817         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
11818         (__setcontext): Likewise.
11819         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
11820         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
11821         Call rt_sigprocmask syscall one time to set new signal mask
11822         and retrieve the current signal mask instead of two calls.
11823         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
11824         (__swapcontext): Likewise.
11825         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
11826         * stdlib/tst-setcontext2.c: New file.
11828 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
11830         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11832 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
11834         [BZ #18093]
11835         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
11836         the wrong size.
11838 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11840         [BZ #18043]
11841         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
11843 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
11845         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
11846         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
11847         Remove define.
11848         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
11849         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
11850         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
11851         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
11852         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
11853         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
11854         define.
11855         * nptl_db/td_symbol_list.c (td_lookup): Remove
11856         HAVE_ASM_GLOBAL_DOT_NAME code.
11857         * sysdeps/powerpc/powerpc64/configure.ac: Remove
11858         HAVE_ASM_GLOBAL_DOT_NAME check.
11859         * sysdeps/powerpc/powerpc64/configure: Regenerate.
11860         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
11861         (DOT_LABEL): Remove define.
11862         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
11863         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
11864         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
11865         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
11866         (__TLS_GET_ADDR): Likewise.
11867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
11868         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
11870 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
11872         [BZ #18111]
11873         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
11874         (_FPU_SETCW): Initialize cw from fpsr before storing.
11875         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
11876         (fesetexceptflag): Rewrite using fpu_control.h.
11877         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
11879 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
11881         [BZ #18110]
11882         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
11883         asms.
11884         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
11886 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
11888         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
11889         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
11890         abort.
11891         (_FP_FMA): Likewise.
11892         (_FP_DIV): Likewise.
11894 2015-03-10  Roland McGrath  <roland@hack.frob.com>
11896         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
11897         with 0 in that case.
11898         * Makefile (summarize-tests): New canned sequence, factored out of
11899         commands for targets tests and xtests.  Display summary lines that
11900         don't start with PASS: or XFAIL: rather than ones that do start with
11901         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
11902         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
11903         do start with ERROR: or FAIL:.
11904         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
11905         (except for [$(build-shared) = yes]).
11906         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
11907         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
11908         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
11909         * nptl/Makefile: Revert 2015-03-04 changes.
11910         [$(CXX) empty] (tests-unsupported): New variable.
11911         * debug/Makefile: Likewise.
11913         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
11914         gnulib file.  Replace __attribute with __attribute__ throughout.
11916 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
11918         * sysdeps/hppa/fpu/libm-test-ulps: Update.
11920 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
11922         [BZ #18104]
11923         * math/auto-libm-test-in: Add another test of pow.
11924         * math/auto-libm-test-out: Regenerated.
11926 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11928         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
11929         $(config-cflags-nofma).
11931 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
11933         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
11934         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
11935         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
11936         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
11937         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
11938         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
11939         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
11940         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
11941         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
11942         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
11943         Add comment on closing #endif.
11945 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11947         * posix/wordexp.c (CHAR_IN_SET): New macro.
11948         (parse_param): Use it.
11950 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11952         * sysdeps/powerpc/fpu/libm-test-ulps: update.
11954 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11956         [BZ #18043]
11957         * posix/wordexp.c (parse_param): Fix buffer overflow.
11958         * posix/wordexp-test.c (test_case): Add test case.
11960 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11962         [BZ #18042]
11963         * posix/wordexp.c (parse_backtick): Fix off-by-one.
11964         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
11966 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
11968         [BZ #18043]
11969         * posix/wordexp-test.c (test_case): Add test for BZ #18043
11970         (do_bz18043): Delete.
11971         (at_page_end): New.
11972         (testit): Refactor to have words at the edge of unreadable page.
11974 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11976         [BZ #16734]
11977         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
11978         Cleanup read-only streams as well.
11979         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
11981 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11983         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
11984         <bits/libc-lockP.h>
11986 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
11988         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
11989         on [__KERNEL__].
11990         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
11991         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
11992         * soft-fp/op-common.h (_FP_DECL): Likewise.
11994 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
11996         * elf/ifuncdep2.c (global): Replace
11997         __attribute__((visibility("protected"))) with
11998         asm (".protected global").
11999         * elf/ifuncmod1.c (global): Likewise.
12000         * elf/ifuncmod5.c (global): Likewise.
12002 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
12004         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
12005         <asm/sfp-machine.h> instead of <sfp-machine.h>.
12007 2015-03-06  Roland McGrath  <roland@hack.frob.com>
12009         * manual/install.texi (Configuring and compiling):
12010         Document test-wrapper-env-only.
12011         * INSTALL: Regenerated.
12013 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12015         [BZ #18043]
12016         * posix/wordexp.c (parse_param): Fix buffer overflow.
12017         * posix/wordexp-test.c (do_bz18043): Add test case.
12019 2015-03-06  Vincent Bernat  <vincent@bernat.im>
12021         * time/tst-strptime2.c (do_test): Ensure failing tests are
12022         reported correctly.
12023         * time/tst-strptime3.c (do_test): Likewise.
12025 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
12027         Fix aio_error thread-safety.
12028         * sysdeps/pthread/aio_error.c: New file
12029         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
12030         synchronization.
12032 2015-03-06  Florian Weimer  <fweimer@redhat.com>
12034         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
12035         (group_number, vfprintf): Use it.
12036         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
12037         (JUMP, REF): Use it.
12038         (WORK_BUFFER_SIZE): New enum constant.
12039         (process_arg, vfprintf): Use it.
12041 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
12043         * manual/errno.texi (Error Messages): Complete example function
12044         by adding missing #define.
12045         (program_invocation_name): Add statement indicating GNU
12046         extension and reference which header file declares the variable.
12047         (program_invocation_short_name): Likewise.
12049 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
12051         * manual/errno.texi (Error Messages): Delete strerror ISO C89
12052         compatibility note.
12054 2015-03-05  Roland McGrath  <roland@hack.frob.com>
12056         * Makeconfig (test-wrapper-env-only): New variable.
12057         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
12058         then use that with $(test-wrapper-env-only) rather than using
12059         $(test-wrapper-env) $(run-program-env) $($*-ENV).
12061 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
12063         [BZ #18082]
12064         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
12065         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
12066         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
12067         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
12068         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
12069         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
12070         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
12071         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
12072         Likewise.
12073         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
12074         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
12075         Likewise.
12076         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
12077         Likewise.
12078         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
12079         Likewise.
12080         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
12081         Likewise.
12082         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
12083         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
12084         Likewise.
12085         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
12086         Likewise.
12087         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
12088         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
12090 2015-03-04  Roland McGrath  <roland@hack.frob.com>
12092         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
12093         (ETH_ALEN): New macro.
12094         (struct ether_addr): Use it for length of ether_addr_octet.
12096         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
12097         (setdb): Don't call __nss_configure_lookup for "rpc".
12098         (do_test): Don't call test_rpc.
12099         (output_rpcent, test_rpc): Functions moved ...
12100         * sunrpc/test-rpcent.c: ... to this new file.
12101         * sunrpc/Makefile (tests): Add it.
12103         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
12104         __xpg_sigpause.
12105         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
12106         * nptl/tst-signal6.c: Likewise.
12107         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
12108         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
12110         * configure.ac (libc_cv_cxx_link_ok): New check.
12111         Reset CXX to empty if it fails to link.
12112         * configure: Regenerated.
12113         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
12114         bug-atexit3-lib only if $(CXX) is nonempty.
12115         * nptl/Makefile (tests): Likewise for tst-cancel24.
12116         (tests, tests-static): Likewise for tst-cancel24-static.
12117         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
12118         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
12119         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
12120         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
12122 2015-03-04  Andreas Schwab  <schwab@suse.de>
12124         [BZ #17631]
12125         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
12126         for non-GCC compilers.
12127         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12128         Likewise.
12130 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12132         [BZ #17776]
12133         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
12134         integer before bitwise and assembly operations.
12135         (feclearexcept): Likewise.
12136         * math/test-fenvinline.c: New file.
12137         * math/Makefile: Add test-fenvinline test.
12139 2015-03-03  Alan Modra  <amodra@gmail.com>
12141         [BZ #16512]
12142         * scripts/localplt.awk: Strip off symbol version.
12143         * NEWS: Mention bug fix.
12145 2015-03-02  Roland McGrath  <roland@hack.frob.com>
12147         * sysdeps/pthread/timer_routines.c
12148         (timer_free_list, thread_free_list, thread_active_list): Make static.
12150 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
12152         [BZ #17779]
12153         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12154         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
12155         Undefine.
12156         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12157         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
12158         Likewise.
12159         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12160         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
12161         Likewise.
12163 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
12165         [BZ #18036]
12166         * posix/fnmatch_loop.c (END): Detect invalid pattern.
12167         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
12169 2015-03-02  Andreas Schwab  <schwab@suse.de>
12171         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
12172         variable name.
12174 2015-03-02  Florian Weimer  <fweimer@redhat.com>
12176         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
12177         Return error status.
12179 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
12181         [BZ #15969]
12182         * locale/findlocale.c (_nl_find_locale): Introduce const
12183         version of loc_name and drop unsafe type casts.
12185 2015-02-27  Roland McGrath  <roland@hack.frob.com>
12187         * dlfcn/tststatic2.c (main): Converted to ...
12188         (do_test): ... this.
12189         (TEST_FUNCTION): New macro.
12190         Include test-skeleton.c.
12192 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
12194         [BZ #17711]
12195         * elf/Makefile (tests): Add vismain only if PIE is enabled.
12196         (tests-pie): Add vismain.
12197         (CFLAGS-vismain.c): New.
12198         * elf/vismain.c: Add comments for PIE requirement.
12200 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
12202         [BZ #18046]
12203         [BZ #18047]
12204         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
12205         0x1p-56L as threshold for just returning the argument.
12206         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
12207         0x1p-32L as threshold for just returning the argument.
12208         * math/auto-libm-test-in: Add more tests of atanh.
12209         * math/auto-libm-test-out: Regenerated.
12210         * sysdeps/i386/fpu/libm-test-ulps: Update.
12211         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
12213 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
12215         * string/bcopy.c (bcopy): Call memmove for performance.
12217 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
12219         * string/bzero.c (__bzero): Call memset for performance.
12221 2015-02-27  John David Anglin  <dave.anglin@bell.net>
12223         [BZ #18068]
12224         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
12225         to 00100000.
12227 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
12229         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
12231 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
12233         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
12234         (__kernel_standard): Use CSTR macro when setting exc.name.
12235         * sysdeps/ieee754/Makefile [$(subdir) = math]
12236         (CFLAGS-k_standard.c): Remove variable.
12238         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
12239         setting p and q from "else if" to "else".
12240         (qzero): Likewise.
12241         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
12242         (qone): Likewise.
12243         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
12244         (qzerof): Likewise.
12245         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
12246         (qonef): Likewise.
12247         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
12248         (qzero): Likewise.
12249         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
12250         (qone): Likewise.
12252         [BZ #18038]
12253         [BZ #18039]
12254         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
12255         return pi/2 for arguments below 0x1p-113L.
12256         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
12257         return pi/2 for arguments below 0x1p-106L.
12258         * math/auto-libm-test-in: Add more tests of acos.
12259         * math/auto-libm-test-out: Regenerated.
12261         [BZ #16351]
12262         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
12263         (MO): New macro.
12264         (__ieee754_asin): Force underflow exception for results with small
12265         absolute value.
12266         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
12267         (MO): New macro.
12268         (__ieee754_asinf): Force underflow exception for results with
12269         small absolute value.
12270         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
12271         (__ieee754_asin): Force underflow exception for results with small
12272         absolute value.
12273         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
12274         (__ieee754_asinf): Force underflow exception for results with
12275         small absolute value.
12276         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
12277         (__ieee754_asinl): Force underflow exception for results with
12278         small absolute value.
12279         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
12280         (__ieee754_asinl): Force underflow exception for results with
12281         small absolute value.
12282         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
12283         (__ieee754_asinl): Force underflow exception for results with
12284         small absolute value.
12285         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
12286         Include <math.h>.
12287         * math/auto-libm-test-in: Do not mark underflow exceptions as
12288         possibly missing for bug 16351.
12289         * math/auto-libm-test-out: Regenerated.
12291         [BZ #18030]
12292         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
12293         of power of 2 down when low part has opposite sign.
12294         * math/libm-test.inc (logb_test_data): Add more tests.
12296 2015-02-26  Andreas Schwab  <schwab@suse.de>
12298         [BZ #18032]
12299         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
12300         over collating symbol inside a bracket expression.  Minor cleanup.
12301         * posix/tst-fnmatch3.c (do_test): Add test case.
12303 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
12305         [BZ #18029]
12306         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
12307         Adjust exponent of power of 2 down when low part has opposite
12308         sign.
12309         * math/libm-test.inc (ilogb_test_data): Add more tests.
12311 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
12313         [BZ #15969]
12314         * locale/findlocale.c (_nl_find_locale): Fix constness error in
12315         the previous change.
12317         [BZ #15969]
12318         * locale/findlocale.c (_nl_find_locale): Retry archive search
12319         after alias expansion.
12321 2015-02-25  Roland McGrath  <roland@hack.frob.com>
12323         * iconv/tst-iconv3.c (main): Converted to ...
12324         (do_test): ... this.
12325         (TEST_FUNCTION): New macro.
12326         Include test-skeleton.c.
12328         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
12329         (convert): Make function static.
12330         (test_unalign): Likewise.  Add const to argument pointee types.
12331         (main): Replace with static function do_test.
12332         Print "Succeeded." only if RET is zero.
12333         (TEST_FUNCTION): New macro.
12334         Include test-skeleton.c.
12336         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
12337         returns a null pointer.
12339 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12341         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
12342         to __memcpy_ppc only for static builds.
12344 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
12346         [BZ #18020]
12347         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
12348         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
12349         * math/auto-libm-test-in: Add more tests of asinh.
12350         * math/auto-libm-test-out: Regenerated.
12351         * sysdeps/i386/fpu/libm-test-ulps: Update.
12352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12354 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
12356         [BZ #15850]
12357         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
12358         and ip6_mtuinfo definitions here.
12359         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
12360         in this define too.  Update comment.
12362 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
12364         * elf/sprof.c (load_shobj): Tweak error message to match others.
12366 2015-02-24  Kevin Easton  <kevin@guarana.org>
12368         [BZ #16145] (partial fix)
12369         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
12370         to reduce lock contention.
12372 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
12374         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
12375         (struct timex): Update time comment.
12376         (ADJ_SETOFFSET): Define.
12378 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
12380         [BZ #18019]
12381         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12382         2**56 not 2**28 as threshold for log (2x) formula.
12383         * math/auto-libm-test-in: Add more tests of acosh.
12384         * math/auto-libm-test-out: Regenerated.
12385         * sysdeps/i386/fpu/libm-test-ulps: Update.
12386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12388 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
12390         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
12391         parenthesis around the buf assignment.
12392         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
12394 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
12396         [BZ #16783]
12397         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
12398         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
12399         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
12400         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
12401         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
12402         * math/libm-test.inc (scalb_test_data): Add more tests.
12404 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12406         [BZ #17916]
12407         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
12408         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
12410 2015-02-24  Eric Rannaud  <e@nanocritical.com>
12412         [BZ #17523]
12413         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
12414         * io/bits/fcntl2.h (open): Use it.
12415         (openat): Likewise.
12416         * io/open.c (__libc_open): Likewise.
12417         * io/open64.c (__libc_open64): Likewise.
12418         * io/open64_2.c (__open64_2): Likewise.
12419         * io/open_2.c (__open_2): Likewise.
12420         * io/openat.c (__openat): Likewise.
12421         * io/openat64.c (__openat64): Likewise.
12422         * io/openat64_2.c (__openat64_2): Likewise.
12423         * io/openat_2.c (__openat_2): Likewise.
12424         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
12425         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
12426         * sysdeps/posix/open64.c (__libc_open64): Likewise.
12427         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
12428         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
12429         (__open_nocancel): Likewise.
12430         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
12431         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
12432         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
12434 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12436         [BZ #14841]
12437         * resolv/gethnamaddr.c (getanswer): Skip logging if
12438         RES_USE_DNSSEC is set.
12439         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12441 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
12443         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
12445 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
12447         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
12448         201304L, for Unicode 7.
12450 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
12452         [BZ #17836]
12453         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
12454         shared library.  Add gmon-start.os otherwise.
12455         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
12456         $(objpfx)gmon-start.os if builing shared library.
12457         ($(objpfx)g$(static-start-installed-name)): Likewise.
12459 2015-02-23  Andreas Schwab  <schwab@suse.de>
12461         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
12463 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
12465         [BZ #17269]
12466         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
12467         (enlarge_userbuf): Likewise.
12469 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
12471         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
12472         * math/atest-exp.c (TIMEOUT): Adjust to 200.
12473         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
12474         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
12476 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
12478         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
12479         expression inside statement expression.
12481 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12483         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
12484         <sysdeps/nptl/lowlevellock.h> and remove macros and
12485         functions that are now defined there.
12486         (SYS_futex): Remove.
12487         (lll_compare_and_swap): Remove.
12488         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
12490 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
12492         [BZ #17999]
12493         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
12494         instead of scandirat.
12495         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
12496         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
12497         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
12498         __scandirat.
12499         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
12500         (__scandirat): Declare.  Use libc_hidden_proto.
12501         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
12502         Remove variable.
12503         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
12505 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
12507         [BZ #15319]
12508         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
12509         (MO): New macro.
12510         (__ieee754_atan2): For results with small absolute value, force
12511         underflow exception and remove excess range and precision from
12512         return value.
12513         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
12514         (MO): New macro.
12515         (__ieee754_atan2f): For results with small absolute value, force
12516         underflow exception and remove excess range and precision from
12517         return value.
12518         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
12519         (MO): New macro.
12520         (__atan): For results with small absolute value, force underflow
12521         exception and remove excess range and precision from return value.
12522         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
12523         (MO): New macro.
12524         (__atanf): For results with small absolute value, force underflow
12525         exception and remove excess range and precision from return value.
12526         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
12527         <math.h>.
12528         (__ieee754_atan2): Force underflow exception for results with
12529         small absolute value.
12530         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
12531         <math_private.h>.
12532         (atan): Force underflow exception for results with small absolute
12533         value.
12534         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
12535         (__atanf): Force underflow exception for results with small
12536         absolute value.
12537         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
12538         <math.h>.
12539         (__atanl): Force underflow exception for results with small
12540         absolute value.
12541         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
12542         (__atanl): Force underflow exception for results with small
12543         absolute value.
12544         * sysdeps/x86/fpu/bits/mathinline.h
12545         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
12546         (__ieee754_atan2): Only define inline for long double.
12547         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
12548         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
12549         * math/auto-libm-test-in: Do not mark underflow exceptions as
12550         possibly missing for bug 15319.  Add more tests of atan2.
12551         * math/auto-libm-test-out: Regenerated.
12552         * math/libm-test.inc (casin_test_data): Do not mark underflow
12553         exceptions as possibly missing for bug 15319.
12554         (casinh_test_data): Likewise.
12555         * sysdeps/i386/fpu/libm-test-ulps: Update.
12557 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
12559         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
12560         * sysdeps/mips/bits/endian.h: Fix comments.
12562 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
12564         [BZ #17996]
12565         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
12566         (hdestroy_r): Likewise.
12567         (hsearch_r): Likewise.
12568         (__hcreate_r): Declare and use libc_hidden_proto.
12569         (__hdestroy_r): Likewise.
12570         (__hsearch_r): Likewise.
12571         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
12572         (hcreate): Call __hcreate_r instead of hcreate_r.
12573         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
12574         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
12575         as weak alias of __hcreate_r.
12576         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
12577         __hdestroy_r.
12578         (hsearch_r): Rename to __hsearch_r and define as weak alias of
12579         __hsearch_r.
12580         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
12581         Remove variable.
12582         (test-xfail-XPG4/search.h/linknamespace): Likewise.
12583         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
12584         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
12585         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
12587 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12589         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
12590         arena_lock into a single arena_get.
12592 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
12594         * dl-reloc.c: Inlucde libc-internal.h.
12595         (_dl_try_allocate_static_tls): Call ALIGN_UP.
12596         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
12597         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
12598         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
12599         (grow_heap): Likewise.
12600         * malloc/malloc.c: Include libc-internal.h.
12601         (do_check_malloc): Call powerof2.
12602         (sysmalloc): Use pagesize. Call ALIGN_UP.
12603         (systrim): Use pagesize.
12604         (mremap_chunk): Use pagesize. Call ALIGN_UP.
12605         (__libc_valloc): Use pagesize.
12606         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
12608 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
12610         [BZ #17991]
12611         * include/sys/resource.h (__getrlimit64): Declare.  Use
12612         libc_hidden_proto.
12613         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
12614         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
12615         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
12616         getrlimit64.
12617         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
12618         __getrlimit64.
12619         [!getrlimit64] (getrlimit64): Define as weak alias of
12620         __getrlimit64.  Use libc_hidden_weak.
12621         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
12622         using __getrlimit64 not __new_getrlimit64.
12623         (__GI_getrlimit64): Likewise.
12624         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
12625         Likewise.
12626         (__GI_getrlimit64): Likewise.
12627         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
12628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
12629         (getrlimit): Add __getrlimit64 alias.
12630         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
12631         Likewise.
12632         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
12633         Remove variable.
12634         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
12635         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
12637 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
12639         * libio/fileops.c: Add missing sys/mman.h
12640         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
12642 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
12644         * manual/math.texi (Errors in Math Functions): Clarify goals
12645         regarding inexact and underflow exceptions.
12647 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
12649         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
12650         * sysdeps/mips/memset.S: Ditto.
12652 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
12654         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
12656 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
12658         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
12659         (__v1longjmp): Remove versioned symbol.
12660         (__v1siglongjmp): Remove alias and versioned symbol.
12661         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
12662         (__v2siglongjmp): Likewise.
12664 2015-02-16  Torvald Riegel  <triegel@redhat.com>
12666         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
12668 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
12670         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
12672 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
12674         [BZ #17987]
12675         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
12676         zero result does not depend on the sign resulting from
12677         subtraction.
12678         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
12679         Likewise.
12680         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
12681         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
12682         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12683         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
12684         * math/libm-test.inc (remquo_test_data): Add more tests.
12686 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
12688         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
12689         Problem reported by J William Piggott.
12691 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
12693         [BZ #17978]
12694         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
12695         products 4 * y and 2 * y where those would overflow.
12696         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
12697         Likewise.
12698         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
12699         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
12700         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12701         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
12702         * math/libm-test.inc (remquo_test_data): Add more tests.
12704         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
12706         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
12707         [defined _COMPILING_NEWLIB].
12708         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
12709         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
12711         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
12712         [!defined __mips_isa_rev || __mips_isa_rev < 6].
12714 2015-02-16  Torvald Riegel  <triegel@redhat.com>
12716         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
12717         acquired.
12719 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
12721         [BZ #17792]
12722         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
12723         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
12724         HOST_STACK_END_ADDR): Likewise.
12726 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
12728         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
12729         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
12730         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
12732 2015-02-13  Roland McGrath  <roland@hack.frob.com>
12734         * sysdeps/generic/c++-types.data: New file.
12735         * sysdeps/generic/ld.abilist: New file.
12736         * sysdeps/generic/libBrokenLocale.abilist: New file.
12737         * sysdeps/generic/libanl.abilist: New file.
12738         * sysdeps/generic/libc.abilist: New file.
12739         * sysdeps/generic/libcrypt.abilist: New file.
12740         * sysdeps/generic/libdl.abilist: New file.
12741         * sysdeps/generic/libm.abilist: New file.
12742         * sysdeps/generic/libpthread.abilist: New file.
12743         * sysdeps/generic/libresolv.abilist: New file.
12744         * sysdeps/generic/librt.abilist: New file.
12746 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
12748         [BZ #17569]
12749         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
12750         Compute absolute value of x as modified by fmod, not original
12751         value of x.
12752         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
12753         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
12754         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
12755         RUN_TEST_ffI_f1_mod8.
12756         (remquo_test_data): Add more tests.
12758 2015-02-13  Roland McGrath  <roland@hack.frob.com>
12760         * sysdeps/init_array/pt-crti.S: New file.
12762 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
12764         [BZ #17967]
12765         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
12766         __builtin_fmaf instead of relying on contraction of a * b + c.
12768 2015-02-12  J William Piggott  <elseifthen@gmx.com>
12770         [BZ #17969]
12771         * manual/time.texi: correct the zoneinfo path in the TZ Variable
12772         node.
12774 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
12776         [BZ #17964]
12777         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
12778         __builtin_fma instead of relying on contraction of a * b + c.
12780 2015-02-12  Roland McGrath  <roland@hack.frob.com>
12782         * Makeconfig (ASFLAGS): Add -Werror=undef.
12783         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
12784         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
12785         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
12787         * Makeconfig (after-link): New variable.
12788         (+link-pie, +link-pie-tests): Use it.
12789         (+link-static, +link-static-tests): Likewise.
12790         (+link, +link-tests): Likewise.
12791         * Makerules (build-module, build-module-asneeded): Likewise.
12792         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
12793         Likewise.
12794         * elf/Makefile ($(objpfx)ld.so): Likewise.
12796 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
12798         [BZ #17965]
12799         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
12800         both struct timeval and struct timespec.
12802 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
12804         [BZ #16560]
12805         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12806         and redefine.
12807         (__ieee754_exp2l): Do not multiply small fractional parts by
12808         M_LN2l.
12809         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
12810         small argument.
12811         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12812         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12813         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
12814         * math/auto-libm-test-in: Add more tests of exp2.
12815         * math/auto-libm-test-out: Regenerated.
12817 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12819         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
12820         unaligned path.
12822 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12824         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
12825         little endian.
12827 2015-02-12  Andreas Schwab  <schwab@suse.de>
12829         [BZ #15790]
12830         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
12831         Filter out elision flags from value returned in kind.
12832         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
12833         * nptl/tst-pthread-mutexattr.c: New file.
12835 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12837         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
12838         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
12839         into gnu-gnu, and update comment to refer to abi-tags.
12841 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
12843         [BZ #15467]
12844         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
12845         (__sincos): Set errno to EDOM for infinite argument.
12846         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
12847         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
12848         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
12849         (__sincosl): Set errno to EDOM for infinite argument.
12850         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
12851         (__sincosl): Set errno to EDOM for infinite argument.
12852         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
12853         (__sincosl): Set errno to EDOM for infinite argument.
12854         * math/libm-test.inc (sincos_test_data): Test errno setting.
12856 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
12858         * string/strxfrm_l.c: Remove #define STRCMP.
12859         * string/strcoll_l.c: Remove #define STRLEN.
12860         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
12861         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
12863 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
12865         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
12866         * sysdeps/mips/mips32/sfp-machine.h: ... here.
12867         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
12868         * sysdeps/mips/mips64/Makefile: ... here.
12869         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
12870         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
12871         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
12872         * sysdeps/mips/mips64/sfp-machine.h: ... here.
12873         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
12874         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
12875         * sysdeps/mips/mips64/n64/Implies: Likewise.
12877 2015-02-10  Roland McGrath  <roland@hack.frob.com>
12879         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
12880         <sys/time.h>, <string.h>, and <errno.h>.
12881         (dest_offset, dest_address, value, zero): Remove unused variables.
12882         (ldouble): Remove typedef.
12883         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
12884         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
12885         1).  Fix code style.
12886         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
12887         (check): Function removed.
12888         (CHECK): New macro.
12889         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
12890         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
12891         Don't call set_sigaction_FP and remove_sigaction_FP here.
12892         (ldouble_test): Just use 'long double' as macro argument, no need for
12893         the 'ldouble' typedef.
12894         (do_test): Set up SIGFPE handler at start, using plain signal rather
12895         than sigaction.  Fix code style.
12897 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
12899         [BZ #17949]
12900         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
12901         jump label.
12903 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12905         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
12906         * sysdeps/powerpc/powerpc32/configure: Regenerated.
12908         * sysdeps/powerpc/configure.ac: Remove file.
12909         * sysdeps/powerpc/configure: Likewise.
12911         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
12912         [sysdep_routines]: Remove wordcopy-power6 object.
12913         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
12914         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
12915         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
12916         (__memmove_ppc32): Likewise.
12917         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
12918         file.
12919         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
12920         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
12921         Remove preprocessor.
12923         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
12924         [sysdep_routines]: Remove wide chars objects.
12925         [wcsmbs]: New rule for wide char objects.
12927         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12928         Remove wordcopy-power6 obejct.
12929         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
12930         Use local call for wordcopy and memcpy symbols.
12931         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
12932         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
12933         implementation for loader.
12934         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
12936         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12937         Remove wordcopy-power7 object.
12938         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
12939         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
12940         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
12941         (_wordcopy_fwd_dest_aligned): Likewise.
12942         (_wordcopy_bwd_aligned): Likewise.
12943         (_wordcopy_bwd_dest_aligned): Likewise.
12945         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
12946         Rewrite to call __memmove_ppc instead of include default
12947         implementation.
12949         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12950         Remove wide chars objects.
12951         [wcsmbs]: New rule for wide char objects.
12953 2015-02-09  Andreas Schwab  <schwab@suse.de>
12955         [BZ #17912]
12956         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12957         in terms of __O_DIRECTORY.
12959 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12961         * time/getdate.c: Include <stdbool.h>.
12962         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
12963         call PTR_MANGLE.
12964         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
12965         PTR_DEMANGLE.
12967 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
12969         Add ersatz _Static_assert on older C hosts
12970         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
12971         pre-C11 C platform that is not known to support _Static_assert.
12973 2015-02-07  Richard Braun  <rbraun@sceen.net>
12975         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
12976         sigstate.
12977         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
12979 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12981         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
12982         priority against unexistent AIO_PRIO_DELTA_MAX.
12983         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
12984         instead of int.
12985         * misc/fchflags.c (fchflags): Likewise.
12986         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
12987         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
12988         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
12989         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
12990         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
12991         Declare macros.
12992         [__USE_MISC] (chflags, fchflags): Declare functions.
12993         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
12994         EINVAL when nfds is greater than FD_SETSIZE.
12995         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
12996         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
12997         45.
12998         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
12999         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
13000         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
13001         MACH_RCV_TIMED_OUT.
13002         * hurd/hurd/signal.h (_hurd_self_sigstate,
13003         _hurd_critical_section_lock, _hurd_critical_section_unlock):
13004         Explicit casts from void *.
13005         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
13006         * abi-tags: Rename gnu-gnu os into gnu.
13008         [BZ #4719]
13009         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
13010         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
13011         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
13012         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
13013         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
13014         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
13016         [BZ #17944]
13017         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
13018         duplicates ADDR->sun_path with sockaddr LEN limitation.
13019         * sysdeps/mach/hurd/connect.c: Include <string.h>
13020         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
13021         * sysdeps/mach/hurd/sendmsg.c: Likewise.
13022         * sysdeps/mach/hurd/sendto.c: Likewise.
13023         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
13024         implementing it by hand.
13026 2015-02-06  Roland McGrath  <roland@hack.frob.com>
13028         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
13029         Use sfi_breg on ldr.
13030         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
13031         Likewise.
13033         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
13034         it's defined.
13035         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
13036         Test SIGSETXID only if it's defined.
13038         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
13040         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
13041         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
13043         * nptl/tst-align2.c: Moved ...
13044         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
13045         * nptl/Makefile (tests): Remove tst-align2.
13046         * sysdeps/unix/sysv/linux/Makefile
13047         [$(subdir) = nptl] (tests): Add tst-align-clone.
13048         * nptl/tst-getpid1.c: Moved ...
13049         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
13050         * nptl/tst-getpid2.c: Moved ...
13051         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
13052         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
13053         * sysdeps/unix/sysv/linux/Makefile
13054         [$(subdir) = nptl] (tests): ... here.
13055         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
13056         * sysdeps/unix/sysv/linux/Makefile
13057         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
13059         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
13060         Drop trailing \n from perror argument.  Use return rather than exit.
13062         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
13063         on [SA_SIGINFO].
13064         * nptl/tst-cancel21.c (do_test): Likewise.
13065         * debug/tst-backtrace6.c: Include <signal.h> first thing.
13066         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
13067         [!SA_SIGINFO]: Make it a stub test.
13069         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
13070         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
13072         * posix/tst-getlogin.c: Move to ...
13073         * login/tst-getlogin.c: ... here.
13074         * posix/Makefile (tests): Move tst-getlogin to ...
13075         * login/Makefile (tests): ... here.
13077         * libio/tst-atime.c (do_test): Move local variables SV and E
13078         inside [ST_NOATIME] conditional.
13080         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
13082         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
13084         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
13085         (wait_code): New function replaces macro.
13086         Call nanosleep rather than syscall.
13088         * nptl/pt-system.c: Rewritten.  Put everything under
13089         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
13090         Use IFUNC to redirect when possible.
13092         * nptl/pt-longjmp.c: Rewritten.  Put everything under
13093         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
13094         Use IFUNC to redirect when possible.
13096         * nptl/pt-fork.c: Rewritten.  Put everything under
13097         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
13098         Use IFUNC to redirect when possible.
13099         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
13101         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
13102         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
13103         unconditionally nowadays.  This included the only reference to
13104         __vdso_clock_gettime that appears outside libc proper.
13105         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
13106         Remove version set (containing only __vdso_clock_gettime).
13107         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
13108         Add attribute_hidden.
13109         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
13110         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
13111         libc_hidden_data_def.
13112         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13113         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13115         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
13116         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
13117         setrpcent, and getrpcport to ...
13118         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
13119         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
13120         getrpcbynumber_r, and getrpcent_r to ...
13121         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
13122         * inet/getrpcbyname.c: Moved ...
13123         * sunrpc/getrpcbyname.c: ... here.
13124         * inet/getrpcbyname_r.c: Moved ...
13125         * sunrpc/getrpcbyname_r.c: ... here.
13126         * inet/getrpcbynumber.c: Moved ...
13127         * sunrpc/getrpcbynumber.c: ... here.
13128         * inet/getrpcbynumber_r.c: Moved ...
13129         * sunrpc/getrpcbynumber_r.c: ... here.
13130         * inet/getrpcent.c: Moved ...
13131         * sunrpc/getrpcent.c: ... here.
13132         * inet/getrpcent_r.c: Moved ...
13133         * sunrpc/getrpcent_r.c: ... here.
13134         * inet/Makefile (routines): Move those to ...
13135         * sunrpc/Makefile (routines): ... here.
13136         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
13137         the $(subdirs) list.
13138         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
13139         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
13140         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
13141         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
13143         * elf/Makefile (routines): Include $(all-dl-routines), not just
13144         $(dl-routines).
13145         (rtld-routines): Likewise.  Use = rather than :=.
13146         * sysdeps/aarch64/Makefile [$(subdir) = elf]
13147         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
13148         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
13149         * sysdeps/arm/Makefile: Likewise.
13150         * sysdeps/i386/Makefile: Likewise.
13151         * sysdeps/x86_64/Makefile: Likewise.
13152         * sysdeps/hppa/Makefile [$(subdir) = elf]
13153         (sysdep_routines, sysdep-rtld-routines): Don't add
13154         $(sysdep-dl-routines) to these.
13155         * sysdeps/ia64/Makefile: Likewise.
13156         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
13157         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
13158         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
13159         Don't add dl-static to these; sysdep-dl-routines alone is enough.
13160         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
13161         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
13162         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
13163         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
13164         * sysdeps/powerpc/Makefile [$(subdir) = elf]
13165         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
13166         these; sysdep-dl-routines alone is enough.
13168 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
13170         [BZ #17932]
13171         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
13172         where multiplication results in zero and third argument is finite
13173         and nonzero.
13174         * math/auto-libm-test-in: Add more tests of fma.
13175         * math/auto-libm-test-out: Regenerated.
13177         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
13178         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
13179         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
13180         (_FP_CMP_EQ): Likewise.
13181         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
13183         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
13184         extra argument CHECK_NAN.  Redefine as wrapper around
13185         _FP_EXTEND_CNAN.
13187 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
13189         * version.h (RELEASE): Set to "stable".
13190         (VERSION): Set to "2.21"
13191         * include/features.h (__GLIBC_MINOR__): Set to 21.
13193         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
13195 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13196             Paul Eggert  <eggert@cs.ucla.edu>
13198         [BZ #16618]
13199         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
13200         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
13201         size in bytes. Store needed elements in wpmax. Use needed size
13202         in bytes for extend_alloca.
13204 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
13206         * manual/install.texi: Latest tested versions are GCC 4.9.2,
13207         binutls 2.25, and texinfo 5.2.
13208         * INSTALL: Regenerate.
13209         * sysdeps/nios2/configure: Regenerate.
13210         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
13211         * manual/contrib.texi: Update.
13212         * po/be.po: Update.
13213         * po/bg.po: Update.
13214         * po/ca.po: Update.
13215         * po/cs.po: Update.
13216         * po/da.po: Update.
13217         * po/de.po: Update.
13218         * po/el.po: Update.
13219         * po/eo.po: Update.
13220         * po/es.po: Update.
13221         * po/fi.po: Update.
13222         * po/fr.po: Update.
13223         * po/gl.po: Update.
13224         * po/hr.po: Update.
13225         * po/hu.po: Update.
13226         * po/ia.po: Update.
13227         * po/id.po: Update.
13228         * po/it.po: Update.
13229         * po/ja.po: Update.
13230         * po/ko.po: Update.
13231         * po/lt.po: Update.
13232         * po/nb.po: Update.
13233         * po/nl.po: Update.
13234         * po/pl.po: Update.
13235         * po/pt_BR.po: Update.
13236         * po/ru.po: Update.
13237         * po/rw.po: Update.
13238         * po/sk.po: Update.
13239         * po/sl.po: Update.
13240         * po/sv.po: Update.
13241         * po/tr.po: Update.
13242         * po/uk.po: Update.
13243         * po/vi.po: Update.
13244         * po/zh_CN.po: Update.
13245         * po/zh_TW.po: Update.
13247         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
13248         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
13249         * sysdeps/hppa/dl-irel.h: Remove #warning.
13250         * sysdeps/hppa/entry.h: Provide prototype for
13251         __canonicalize_funcptr_for_compare and cast argument.
13252         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
13253         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
13254         * sysdeps/hppa/sotruss-lib.c: New file.
13255         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
13256         (atomic_compare_and_exchange_val_acq): Use __typeof__.
13257         (atomic_compare_and_exchange_bool_acq): Likewise.
13258         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
13259         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
13261         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
13262         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
13263         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
13265 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
13267         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
13268         called function in non-PIC case.
13270 2015-01-31  David S. Miller  <davem@davemloft.net>
13272         * sysdeps/sparc/sparc32/bits/atomic.h
13273         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
13274         unlock not after it.
13275         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
13276         volatile register usage warnings from the compiler.
13278         * sysdeps/sparc/nptl/sem_init.c: Delete.
13279         * sysdeps/sparc/nptl/sem_post.c: Delete.
13280         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
13281         * sysdeps/sparc/nptl/sem_wait.c: Delete.
13282         * sysdeps/sparc/sparc32/sem_init.c: New file.
13283         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
13284         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
13285         padding explicitly initialized.
13286         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
13287         padding for in-semaphore spinlock.
13288         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
13289         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
13290         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
13291         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
13292         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
13293         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
13294         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
13295         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
13296         version.
13297         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
13298         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
13300 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
13302         [BZ #17801]
13303         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13304         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
13305         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
13306         New.
13307         (index_AVX_Fast_Unaligned_Load): Likewise.
13308         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
13309         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
13310         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
13311         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
13312         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
13313         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
13314         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
13315         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
13316         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
13318 2015-01-29  Andreas Schwab  <schwab@suse.de>
13320         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
13322 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
13324         [BZ #17892]
13325         * nscd/nscd_stat.c (send_stats): Initialize DATA.
13327 2015-01-28  Martin Sebor  <msebor@redhat.com>
13329         * math/README.libm-test: Clarify. Add "How to read the test output."
13331 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
13333         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
13334         Define to 0.
13336 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
13338         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
13339         (__HAVE_64B_ATOMICS): Define to 0.
13341 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13343         [BZ #17885]
13344         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
13345         value to set as new flag.
13347         [BZ #16576]
13348         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
13349         and use _ARCH_PPCSQ instead.
13350         (__ieee754_sqrt): Likewise.
13351         (__ieee754_sqrtf): Likewise.
13352         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
13353         _ARCH_PPCSQ is defined.
13354         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
13355         fsqrt instruction.
13356         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
13357         _ARCH_PPCSQ is defined.
13358         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
13359         fsqrts instruction.
13360         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
13362 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13364         * iconv/loop.c: Suppress array out of bound warning caused by GCC
13365         bug (GCC BZ #64739).
13367 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
13369         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
13370         Mark _retval as used.
13371         (lll_futex_wake_unlock): Likewise.
13372         (lll_futex_timed_wait_requeue_pi): Likewise.
13374         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
13375         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
13376         register variables.
13378         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
13379         libm_hidden_def.
13381         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
13382         (__bswap_64): Mark as __always_inline.
13384 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
13386         [BZ #15378]
13387         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
13388         when none of the search directories exist.
13390 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13392         [BZ #17869]
13393         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
13394         power8 in .machine directive.
13396         [BZ #17868]
13397         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
13398         set dependency from opd value.
13400 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
13402         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13403         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
13404         architecture.
13406 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
13408         [BZ #17870]
13409         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
13410         with uint64_t.
13411         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
13412         (uint64_t) 1.
13413         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
13414         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
13415         Replace 1UL with (uint64_t) 1.
13416         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
13417         int with uint64_t.
13419 2015-01-23  Roland McGrath  <roland@hack.frob.com>
13421         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
13422         (if_freenameindex): Likewise.
13424         * resource/getrlimit64.c: Add missing libc_hidden_def.
13426 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
13428         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
13429         __label__.
13430         (_FP_FMA): Likewise.
13431         (_FP_TO_INT_ROUND): Likewise.
13432         (_FP_FROM_INT): Likewise.
13434 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13436         [BZ #16418]
13437         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
13438         Make code racy and cancel safe.
13440 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
13442         * sysdeps/arm/unwind-resume.h: Fix copyright year.
13443         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
13444         attribution.
13446         * pwd/tst-getpw.c: Rewrite.
13448         [BZ #17702]
13449         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
13450         (modules-names): Add moddummy1 and moddummy2.
13451         ($(objpfx)tst-rec-dlopen): Define.
13452         * dlfcn/moddummy1.c: New file.
13453         * dlfcn/moddummy2.c: New file.
13454         * dlfcn/tst-rec-dlopen.c: New file.
13455         * elf/dl-cache.c (_dl_load_cache_lookup):
13456         Return char*. Copy result with alloca/strcpy/strdup.
13457         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
13458         returns char*. Free cached. If not saving realname
13459         free cached.
13460         * elf/dl-open.c (dl_open_worker): Do not assert that
13461         _r_debug->r_state is RT_CONSISTENT.
13462         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
13463         returns char*.
13465 2015-01-21  Torvald Riegel  <triegel@redhat.com>
13466             Carlos O'Donell  <carlos@redhat.com>
13468         [BZ #12674]
13469         * nptl/sem_waitcommon.c: New file.
13470         * nptl/sem_wait.c: Include sem_waitcommon.c.
13471         (__sem_wait_cleanup, do_futex_wait): Remove.
13472         (__new_sem_wait): Adapt.
13473         (__new_sem_trywait): New function.
13474         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
13475         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
13476         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
13477         (sem_timedwait): Adapt.
13478         * nptl/sem_post.c (__new_sem_post): Adapt.
13479         (futex_wake): New function.
13480         (__old_sem_post): Add release MO fence.
13481         * nptl/sem_open.c (sem_open): Adapt.
13482         * nptl/sem_init.c (__new_sem_init): Adapt.
13483         (futex_private_if_supported): New function.
13484         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
13485         (__old_sem_getvalue): Add using previous code.
13486         * sysdeps/nptl/internaltypes.h: Adapt.
13487         * nptl/tst-sem13.c (do_test): Adapt.
13488         * nptl/tst-sem11.c (main): Adapt.
13489         * nptl/sem_trywait.c: Remove.
13490         * nptl/DESIGN-sem.txt: Remove.
13491         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
13492         (gen-as-const-headers): Remove structsem.sym.
13493         * nptl/structsem.sym: Remove.
13494         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
13495         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
13496         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
13497         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
13498         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
13499         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
13500         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
13501         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
13502         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
13503         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
13504         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
13505         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
13506         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
13507         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
13508         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
13509         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
13510         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
13511         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
13512         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
13513         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
13514         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
13515         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
13517 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
13519         * INSTALL: Regenerated.
13521         * po/libc.pot: Regenerated.
13523 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
13524             Sandra Loosemore  <sandra@codesourcery.com>
13525             Andrew Jenner  <andrew@codesourcery.com>
13526             Joseph Myers  <joseph@codesourcery.com>
13527             Nathan Sidwell  <nathan@codesourcery.com>
13529         * NEWS: Mention new Nios II port.
13530         * sysdeps/nios2/Implies: New file.
13531         * sysdeps/nios2/Makefile: New file.
13532         * sysdeps/nios2/Subdirs: New file.
13533         * sysdeps/nios2/Versions: New file.
13534         * sysdeps/nios2/__longjmp.S: New file.
13535         * sysdeps/nios2/abort-instr.h: New file.
13536         * sysdeps/nios2/backtrace.c: New file.
13537         * sysdeps/nios2/bits/endian.h: New file.
13538         * sysdeps/nios2/bits/fenv.h: New file.
13539         * sysdeps/nios2/bits/link.h: New file.
13540         * sysdeps/nios2/bits/setjmp.h: New file.
13541         * sysdeps/nios2/bsd-_setjmp.S: New file.
13542         * sysdeps/nios2/bsd-setjmp.S: New file.
13543         * sysdeps/nios2/configure: New generated file.
13544         * sysdeps/nios2/configure.ac: New file.
13545         * sysdeps/nios2/crti.S: New file.
13546         * sysdeps/nios2/crtn.S: New file.
13547         * sysdeps/nios2/dl-init.c: New file.
13548         * sysdeps/nios2/dl-machine.h: New file.
13549         * sysdeps/nios2/dl-sysdep.h: New file.
13550         * sysdeps/nios2/dl-tls.h: New file.
13551         * sysdeps/nios2/dl-trampoline.S: New file.
13552         * sysdeps/nios2/gccframe.h: New file.
13553         * sysdeps/nios2/gmp-mparam.h: New file.
13554         * sysdeps/nios2/jmpbuf-offsets.h: New file.
13555         * sysdeps/nios2/jmpbuf-unwind.h: New file.
13556         * sysdeps/nios2/ldsodefs.h: New file.
13557         * sysdeps/nios2/libc-tls.c: New file.
13558         * sysdeps/nios2/libm-test-ulps: New file.
13559         * sysdeps/nios2/machine-gmon.h: New file.
13560         * sysdeps/nios2/math-tests.h: New file.
13561         * sysdeps/nios2/math_private.h: New file.
13562         * sysdeps/nios2/memusage.h: New file.
13563         * sysdeps/nios2/nptl/Makefile: New file.
13564         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
13565         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
13566         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
13567         * sysdeps/nios2/nptl/pthreaddef.h: New file.
13568         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
13569         * sysdeps/nios2/nptl/tls.h: New file.
13570         * sysdeps/nios2/preconfigure: New file.
13571         * sysdeps/nios2/s_fma.c: New file.
13572         * sysdeps/nios2/s_fmaf.c: New file.
13573         * sysdeps/nios2/setjmp.S: New file.
13574         * sysdeps/nios2/sfp-machine.h: New file.
13575         * sysdeps/nios2/sotruss-lib.c: New file.
13576         * sysdeps/nios2/stackguard-macros.h: New file.
13577         * sysdeps/nios2/stackinfo.h: New file.
13578         * sysdeps/nios2/start.S: New file.
13579         * sysdeps/nios2/sysdep.h: New file.
13580         * sysdeps/nios2/tls-macros.h: New file.
13581         * sysdeps/nios2/tst-audit.h: New file.
13582         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
13583         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
13584         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
13585         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
13586         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
13587         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
13588         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
13589         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
13590         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
13591         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
13592         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
13593         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
13594         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
13595         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
13596         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
13597         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
13598         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
13599         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
13600         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
13601         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
13602         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
13603         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
13604         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
13605         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
13606         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
13607         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
13608         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
13609         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
13610         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
13611         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
13612         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
13613         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
13614         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
13615         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
13616         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
13617         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
13618         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
13619         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
13620         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
13621         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
13622         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
13623         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
13624         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
13625         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
13627 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13629         [BZ #17844]
13630         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
13631         (getutent): Use weak_alias in non SHARED case
13632         and default_symbol_version in SHARED case.
13633         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
13634         (getutent_r, pututline): Likewise.
13635         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
13636         (getutid): Likewise.
13637         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
13638         (getutid_r): Likewise.
13639         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
13640         (getutline): Likewise.
13641         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
13642         (getutline_r): Likewise.
13643         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
13644         (updwtmp): Likewise.
13646 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13648         [BZ #17848]
13649         * sysdeps/s390/s390-32/memcmp.S
13650         (memcmp_g5): Rename to __memcmp_g5.
13651         * sysdeps/s390/s390-32/memcpy.S
13652         (memcpy_g5): Rename to __memcpy_g5.
13653         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13654         (memcpy_mvcle) Rename to __memcpy_mvcle.
13655         * sysdeps/s390/s390-32/memset.S
13656         (memset_g5): Rename to __memset_g5.
13657         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13658         (IFUNC_RESOLVE): Prefix ifunc-resolve function
13659         and use prefixed functions.
13660         * sysdeps/s390/s390-32/multiarch/memcmp.S
13661         (memcmp_z196): Rename to __memcmp_z196.
13662         (memcmp_z10): Rename to __memcmp_z10.
13663         (memcmp): Set alias to __memcmp_g5.
13664         (bcmp): Set alias to __memcmp_g5.
13665         * sysdeps/s390/s390-32/multiarch/memcpy.S
13666         (memcpy_z196): Rename to __memcpy_z196.
13667         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13668         (memcpy_z10): Rename to __memcpy_z10.
13669         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13670         (memcpy): Set alias to __memcpy_g5.
13671         * sysdeps/s390/s390-32/multiarch/memset.S
13672         (memset_z196): Rename to __memset_z196.
13673         Jump to __memset_mvcle instead of memset_mvcle.
13674         (memset_z10): Rename to __memset_z10.
13675         Jump to __memset_mvcle instead of memset_mvcle.
13676         (memset_mvcle) Rename to __memset_mvcle.
13677         (memset): Set alias to __memset_g5.
13678         * sysdeps/s390/s390-64/memcmp.S
13679         (memcmp_z900): Rename to __memcmp_z900.
13680         * sysdeps/s390/s390-64/memcpy.S
13681         (memcpy_z900): Rename to __memcpy_z900.
13682         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13683         (memcpy_mvcle) Rename to __memcpy_mvcle.
13684         * sysdeps/s390/s390-64/memset.S
13685         (memset_z900): Rename to __memset_z900.
13686         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
13687         (IFUNC_RESOLVE): Prefix ifunc-resolve function
13688         and use prefixed functions.
13689         * sysdeps/s390/s390-64/multiarch/memcmp.S
13690         (memcmp_z196): Rename to __memcmp_z196.
13691         (memcmp_z10): Rename to __memcmp_z10.
13692         (memcmp): Set alias to __memcmp_z900.
13693         (bcmp): Set alias to __memcmp_z900.
13694         * sysdeps/s390/s390-64/multiarch/memcpy.S
13695         (memcpy_z196): Rename to __memcpy_z196.
13696         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13697         (memcpy_z10): Rename to __memcpy_z10.
13698         Jump to __memcpy_mvcle instead of memcpy_mvcle.
13699         (memcpy): Set alias to __memcpy_z900.
13700         * sysdeps/s390/s390-64/multiarch/memset.S
13701         (memset_z196): Rename to __memset_z196.
13702         Jump to __memset_mvcle instead of memset_mvcle.
13703         (memset_z10): Rename to __memset_z10.
13704         Jump to __memset_mvcle instead of memset_mvcle.
13705         (memset_mvcle) Rename to __memset_mvcle.
13706         (memset): Set alias to __memset_z900.
13708 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
13710         [BZ #17748]
13711         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
13712         __fesetenv instead of fesetenv.
13714 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13716         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
13717         macro.
13719 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13721         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
13722         regression on LE.
13724         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
13725         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
13726         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
13727         strncmp-power8 object.
13728         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13729         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
13730         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
13731         * NEWS: Update.
13733 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13734             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13736         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
13737         trailing byte check.
13739 2015-01-13  David S. Miller  <davem@davemloft.net>
13741         * include/signal.h (__sigreturn): Guard with __USE_MISC.
13743 2015-01-13  Roland McGrath  <roland@hack.frob.com>
13745         * login/logout.c (logout): Use memset rather than bzero.
13746         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
13747         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
13748         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
13749         (_gethtbyaddr): Likewise.
13750         * locale/programs/simple-hash.c (bcopy): Macro removed.
13752 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13754         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13755         Add strcmp-power8 object.
13756         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13757         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
13758         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
13759         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
13760         __strcmp_power8 implementation.
13761         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
13762         * NEWS: Update.
13764         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13765         Add strncpy-power8 and stpncpy-power8 objects.
13766         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13767         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
13768         implementations.
13769         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
13770         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
13771         __stpncpy_power8 implementation.
13772         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
13773         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
13774         __strncpy_power8 implementation.
13775         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
13776         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
13777         * NEWS: Update.
13779         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
13780         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
13781         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
13783         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
13784         strncat-power8 object.
13785         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
13786         __strcat_power8 implementation.
13787         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13788         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
13789         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
13790         optimized strcat for power8.
13792         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
13793         strcpy-power8 and stpcpy-power8 objects.
13794         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13795         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
13796         implementations.
13797         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
13798         multiarch stpcpy implementation for POWER8.
13799         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
13800         multiarch strcpy implementation for POWER8.
13801         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
13802         __strcpy_power8 function.
13803         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
13804         stpcpy for POWER8.
13805         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
13806         strcpy for POWER8.
13807         * NEWS: Update.
13809 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
13811         [BZ #16009]
13812         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
13813         weights and rules. Use do_xfrm_cached if data fits in cache,
13814         do_xfrm otherwise.  Moved former main loop to...
13815         * (do_xfrm_cached): New function.
13816         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
13817         find_idx, find_position and stack_push.
13818         * (find_idx): New function.
13819         * (find_position): Likewise.
13820         * localedata/sort-test.sh: Added test run for do_xfrm.
13821         * localedata/xfrm-test.c (main): Added command line option
13822         -nocache to run the test with strings that are too large for
13823         the STRXFRM cache.
13825 2015-01-13  Torvald Riegel  <triegel@redhat.com>
13827         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
13828         variable to lll_futex_wake call, not the value itself.
13830 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
13832         [BZ #17803]
13833         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
13834         twom64.  Adjust value to 0x1p-64L.
13835         (__scalblnl): Only return standard underflowing result for K <=
13836         -64 not K <= -63; adjust exponent for underflowing result by 64
13837         not 63.
13838         * math/libm-test.inc (scalbn_test_data): Add more tests.
13839         (scalbln_test_data): Likewise.
13841         [BZ #17834]
13842         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
13843         0x1p63L.
13844         (__scalblnl): Get new exponent of adjusted subnormal value from ES
13845         not HX.
13846         * math/libm-test.inc (scalbn_test_data): Add more tests.
13847         (scalbln_test_data): Likewise.
13849 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13850             Stefani Seibold  <stefani@seibold.net>
13852         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
13853         (sysdep_routines): Add dl-vdso here, ...
13854         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
13855         (sysdep_routines): ... not here.
13856         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
13857         fallback when vDSO is not presented.
13858         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
13859         Define with libc_hidden_proto/libc_hidden_data_def definitions.
13860         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
13861         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
13862         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
13863         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
13864         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
13865         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
13866         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
13867         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
13868         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
13869         fallback configurable symbol when vDSO is not available.
13870         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
13871         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
13872         be able to redefine fallback symbol when vDSO is not available.
13873         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
13874         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
13876 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13878         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
13879         (TLS_INIT_TP): Add tm_capable initialization.
13880         (TLS_DEFINE_INIT_TP): Likewise.
13881         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
13882         TCB.
13883         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
13884         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
13885         calculation.
13886         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
13887         transactoion is lock elision is built and TCB tm_capable is set.
13888         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
13889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13890         (INTERNAL_SYSCALL_NCS): Likewise.
13891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13892         (INTERNAL_SYSCALL_NCS): Likewise.
13893         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
13895         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
13896         for powerpc.
13897         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13898         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
13899         and remove it for 32 bits case.
13900         [pthread_rwlock_t] (__rwelision): New field for lock elision.
13901         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
13902         initialization.
13903         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
13904         Disable lock elision with rdlocks if elision is not available.
13906         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
13907         (sysdep_routines): Add lock elision objects.
13908         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13909         [pthread_mutex_t] (__spins): Rework to add lock elision field.
13910         [pthread_mutex_t] (__elision): Add field.
13911         [__PTHREAD_SPINS]: Adjust to init lock elision field.
13912         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
13913         elision definitions for powerpc.
13914         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
13915         implementation of lock elision for powerpc.
13916         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
13917         implementation of timed lock elision for powerpc.
13918         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
13919         implementation of trylock with lock elision for powerpc.
13920         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
13921         implementaion of unlock for lock elision for powerpc.
13922         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
13923         automatic enable lock elision for mutexes.
13924         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
13925         transaction execution definitions for powerpc.
13926         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
13927         definitions.
13928         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
13929         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
13930         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
13931         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
13932         * NEWS: Update.
13934 2015-01-09  Roland McGrath  <roland@hack.frob.com>
13936         * sysdeps/posix/shm-directory.c: Use <> rather than ""
13937         for #include of <shm-directory.h>.
13939 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
13941         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
13942         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
13944 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
13946         [BZ #17791]
13947         * NEWS: Mention bug fix.
13948         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
13949         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
13950         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
13952 2015-01-09  Torvald Riegel <triegel@redhat.com>
13954         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
13956 2015-01-09  Torvald Riegel <triegel@redhat.com>
13958         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
13960 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
13962         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
13963         pointer and cast to uintptr_t.
13965 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
13967         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
13968         removed.
13969         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
13971 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
13973         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
13974         of 0.
13976 2015-01-08  Roland McGrath  <roland@hack.frob.com>
13978         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
13979         <nptl/pthreadP.h> instead.
13980         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
13982         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
13983         already defined.
13984         [__SIGRTMIN] (init): Function removed.
13985         [__SIGRTMIN] (initialized): Variable removed.
13986         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
13987         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
13988         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
13989         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
13990         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
13991         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
13992         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
13993         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
13994         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
13995         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
13996         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
13997         * sysdeps/nptl/allocrtsig.c: New file.
13998         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
13999         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
14000         * sysdeps/generic/testrtsig.h: File removed.
14002         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
14003         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
14005         * nptl/nptl-init.c (pthread_functions): Conditionalize
14006         .ptr__nptl_setxid initialization on [SIGSETXID].
14008         * sysdeps/nptl/sys/procfs.h: New file.
14009         * nptl_db/Makefile (headers): Add it.
14010         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
14012         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
14013         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
14014         * nptl/pthread_attr_setaffinity.c: Include it.
14015         * nptl/pthread_setattr_default_np.c: Likewise.
14016         * nptl/check-cpuset.h: New file.
14018 2015-01-08  Richard Henderson  <rth@redhat.com>
14020         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
14021         (CFLAGS-tst-execstack-prog.c): Likewise.
14022         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
14024 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
14025             Sandra Loosemore  <sandra@codesourcery.com>
14026             Andrew Jenner  <andrew@codesourcery.com>
14027             Joseph Myers  <joseph@codesourcery.com>
14028             Nathan Sidwell  <nathan@codesourcery.com>
14030         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
14031         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
14032         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
14033         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
14034         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
14035         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
14036         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
14037         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
14038         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
14039         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
14040         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
14041         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
14042         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
14043         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
14044         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
14045         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
14046         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
14048 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14050         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
14051         timespec struct member in syscall macro.
14052         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
14053         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
14054         first timeval struct member in syscall macro.
14055         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
14057 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
14059         [BZ #17748]
14060         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
14061         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
14062         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
14063         __feupdateenv and define as weak alias of __feupdateenv.  Use
14064         libm_hidden_weak.
14065         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
14066         libm_hidden_def.
14067         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
14068         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
14069         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
14070         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
14071         libm_hidden_def.
14072         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
14073         __feupdateenv and define as weak alias of __feupdateenv.  Use
14074         libm_hidden_weak.
14075         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
14076         libm_hidden_def.
14077         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
14078         __feupdateenv and define as weak alias of __feupdateenv.  Use
14079         libm_hidden_weak.
14080         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
14081         libm_hidden_def.
14082         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14083         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
14084         (__feupdateenv): Likewise.
14085         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
14086         __feupdateenv and define as weak alias of __feupdateenv.  Use
14087         libm_hidden_weak.
14088         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14089         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
14090         libm_hidden_def.
14091         * sysdeps/tile/math_private.h (__feupdateenv): New inline
14092         function.
14093         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
14094         libm_hidden_def.
14095         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
14096         __feupdateenv instead of feupdateenv.
14097         (default_libc_feupdateenv_test): Likewise.
14098         (libc_feresetround_ctx): Likewise.
14100 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14102         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
14103         prototype.
14105 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
14107         * posix/regcomp.c (parse_bracket_exp): Initialize type to
14108         COLL_SYM in a couple of places to avoid uninitialized variable
14109         wanings on tilegx gcc 4.8.2.
14111 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
14113         * sysdeps/aarch64/strcpy.S: New file.
14114         * sysdeps/aarch64/stpcpy.S: New file.
14115         * NEWS: Updated.
14117 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
14119         * sysdeps/aarch64/strrchr.S: New file.
14120         * NEWS: Updated.
14122 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
14124         [BZ #17658]
14125         * stdlib/setenv.c: Fix memory leak when setting large,
14126         duplicate string.
14128 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
14130         [BZ #17273]
14131         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
14132         and tabs from buffer before parsing fstab entry.
14133         * misc/tst-mntent.c (main): Add test for mount entry with
14134         trailing spaces and tabs.
14136 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
14138         [BZ #17748]
14139         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
14140         * math/fesetround.c (fesetround): Rename to __fesetround and
14141         define as weak alias of __fesetround.  Use libm_hidden_weak.
14142         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
14143         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
14144         * sysdeps/arm/fesetround.c (fesetround): Likewise.
14145         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
14146         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
14147         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
14148         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
14149         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
14150         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
14151         __fesetround_inline.
14152         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
14153         __fesetround_inline instead of __fesetround.
14154         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
14155         __fesetround and define as weak alias of __fesetround.  Use
14156         libm_hidden_weak.  Call __fesetround_inline instead of
14157         __fesetround.
14158         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
14159         __fesetround and define as weak alias of __fesetround.  Use
14160         libm_hidden_weak.
14161         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
14162         Likewise.
14163         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
14164         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14165         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
14166         * sysdeps/tile/math_private.h (__fesetround): New inline function.
14167         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
14168         __fesetround and define as weak alias of __fesetround.  Use
14169         libm_hidden_weak.
14170         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
14171         __fesetround instead of fesetround.
14172         (default_libc_feholdexcept_setround): Likewise.
14173         (libc_feholdsetround_ctx): Likewise.
14174         (libc_feholdsetround_noex_ctx): Likewise.
14176         [BZ #17748]
14177         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
14178         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
14179         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
14180         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
14181         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
14182         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
14183         define as weak alias of __fesetenv.  Use libm_hidden_weak.
14184         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
14185         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
14186         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
14187         define as weak alias of __fesetenv.  Use libm_hidden_weak.
14188         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
14189         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
14190         define as weak alias of __fesetenv.  Use libm_hidden_weak.
14191         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
14192         libm_hidden_def.
14193         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
14194         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
14195         Likewise.
14196         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
14197         define as weak alias of __fesetenv.  Use libm_hidden_weak.
14198         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
14199         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
14200         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
14201         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
14202         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
14203         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
14204         __fesetenv instead of fesetenv.
14205         (libc_feresetround_noex_ctx): Likewise.
14206         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
14207         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
14208         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
14209         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
14210         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
14211         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
14212         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14213         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
14214         (__feupdateenv): Likewise.
14215         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14216         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14217         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14218         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
14220 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
14222         [BZ #17806]
14223         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
14224         addresses have been freed.
14226 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
14228         * resolv/res_init.c (__res_vinit): Improve comments about nserv
14229         and nservall.
14231 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
14233         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
14234         Clean up check_pf allocation pattern. addresses
14236 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14238         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
14239         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
14240         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
14241         * nptl/pthread_exit.c (__pthread_exit): Likewise.
14242         * nptl/pthread_join.c (pthread_join): Likewise.
14243         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
14244         * sysdeps/posix/waitid.c (__waitid): Likewise.
14245         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
14246         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
14247         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
14248         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
14249         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
14250         Likewise.
14251         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
14252         (__libc_pread64): Likewise.
14253         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
14254         (__libc_pwrite): Likewise.
14255         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
14256         (__libc_pwrite64): Likewsie.
14257         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
14258         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
14259         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
14260         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
14261         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
14262         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
14263         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
14264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
14265         Likewise.
14266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14267         (__libc_pread64): Likewise.
14268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
14269         Likewise.
14270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14271         (__libc_pwrite64): Likewise.
14272         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
14273         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
14274         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
14275         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
14276         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
14277         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
14278         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
14279         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
14280         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
14281         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
14282         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
14283         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
14284         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
14285         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
14286         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
14287         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
14288         Likewise.
14290 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
14292         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
14293         (CFLAGS-test-double.c): Likewise.
14294         (CFLAGS-test-ldouble.c): Likewise.
14295         (CPPFLAGS-test-ifloat.c): Likewise.
14296         (CPPFLAGS-test-idouble.c): Likewise.
14297         (CPPFLAGS-test-ildoubl.c): Likewise.
14298         (CFLAGS-test-test-fenv.c): Remove variable.
14299         (CFLAGS-test-misc.c): Likewise.
14301 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
14303         [BZ #17797]
14304         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
14305         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
14306         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
14307         CLOCKS_PER_SEC == 1000000.
14308         * time/clocktest.c (main): Replace %ld with %jd and cast to
14309         intmax_t.
14311 2015-01-05  Roland McGrath  <roland@hack.frob.com>
14313         * sysdeps/generic/unwind-resume.h: New file.
14314         * sysdeps/gnu/unwind-resume.c: Include it.
14315         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
14316         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
14317         argument list.
14318         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
14319         global rather than static.
14320         (_Unwind_Resume): Update user.
14321         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
14322         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
14323         rather than static.  Add __attribute__ ((cold)).
14324         (_Unwind_Resume, __gcc_personality_v0): Update callers.
14325         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
14326         * sysdeps/arm/arm-unwind-resume.S: New file.
14327         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
14328         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
14329         * sysdeps/arm/Makefile [$(subdir) = csu]
14330         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
14331         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14332         Add rt-arm-unwind-resume.
14333         [$(subdir) = nptl]
14334         (libpthread-sysdep_routines, libpthread-shared-only-routines):
14335         Add pt-arm-unwind-resume.
14336         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
14337         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
14339 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
14341         [BZ #17748]
14342         * include/fenv.h (__feholdexcept): Declare.  Use
14343         libm_hidden_proto.
14344         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
14345         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
14346         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14347         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
14348         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
14349         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
14350         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
14351         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14352         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
14353         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
14354         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14355         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
14356         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
14357         (feholdexcept): Likewise.
14358         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14359         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
14360         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14361         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14362         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
14363         __feholdexcept instead of feholdexcept.
14364         (default_libc_feholdexcept_setround): Likewise.
14366 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
14368         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
14369         to avoid using stl/str to align destination.
14371 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
14373         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
14375 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
14377         [BZ #17796]
14378         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
14379         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
14380         Define as weak alias not strong alias.
14382 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
14384         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
14385         bltzal with addiupc.
14386         (RTLD_START): Ditto.
14388 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
14390         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
14391         for __vdso_* functions in declarations.
14392         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
14393         definitions.
14394         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
14395         INTERNAL_VSYSCALL): Use struct return types to check for error.
14397         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
14398         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
14399         function with cast from llround().
14400         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
14401         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
14402         Define.
14404 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
14406         [BZ #17793]
14407         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
14408         Define as weak alias not strong alias.
14410         [BZ #17635]
14411         * ctype/ctype-c99.c: New file.  isblank implementation moved from
14412         ...
14413         * ctype/ctype-extn.c: ... here.
14414         (__isblank_l): Move to ...
14415         * ctype/ctype-c99_l.c: ... here.  New file.
14416         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
14417         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
14418         Remove variable.
14419         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
14420         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
14421         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
14422         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
14423         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
14425         [BZ #17777]
14426         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
14427         (posix_fadvise64): Define as weak alias not strong alias.
14428         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14429         (posix_fallocate64): Likewise.
14430         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
14431         Remove variable.
14432         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
14433         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
14434         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
14435         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
14436         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
14438 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
14440         [BZ #16191]
14441         * NEWS: Mention bug fix.
14442         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
14443         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
14444         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
14445         (HOST_STACK_END_ADDR): Likewise.
14447 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
14449         [BZ #17748]
14450         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
14451         * math/fegetround.c (fegetround): Rename to __fegetround and
14452         define as weak alias of __fegetround.  Use libm_hidden_weak.
14453         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
14454         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
14455         * sysdeps/arm/fegetround.c (fegetround): Likewise.
14456         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
14457         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14458         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
14459         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
14460         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
14461         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14462         Undefine after rather than before function definition; use
14463         parentheses around function name in definition.
14464         (__fegetround): Also undefine macro after function definition.
14465         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
14466         __fegetround and define as weak alias of __fegetround.  Use
14467         libm_hidden_weak.  Do not undefine as macro.
14468         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14469         Likewise.
14470         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
14471         __fegetround and define as weak alias of __fegetround.  Use
14472         libm_hidden_weak.
14473         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14474         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14475         * sysdeps/tile/math_private.h (__fegetround): New inline function.
14476         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
14477         __fegetround and define as weak alias of __fegetround.  Use
14478         libm_hidden_weak.
14479         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
14480         __fegetround instead of fegetround.
14482         [BZ #17782]
14483         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
14484         Condition macro definition on [__USE_MISC].
14486         [BZ #17781]
14487         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
14488         (struct sigaction): Change type of sa_flags field to int.
14490         [BZ #17780]
14491         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
14492         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
14493         __glibc_reserved0.
14495         * nptl/version.c (banner): Use single year in copyright notice.
14497         * NEWS: Update copyright dates.
14498         * catgets/gencat.c (print_version): Likewise.
14499         * csu/version.c (banner): Likewise.
14500         * debug/catchsegv.sh: Likewise.
14501         * debug/pcprofiledump.c (print_version): Likewise.
14502         * debug/xtrace.sh (do_version): Likewise.
14503         * elf/ldconfig.c (print_version): Likewise.
14504         * elf/ldd.bash.in: Likewise.
14505         * elf/pldd.c (print_version): Likewise.
14506         * elf/sotruss.sh: Likewise.
14507         * elf/sprof.c (print_version): Likewise.
14508         * iconv/iconv_prog.c (print_version): Likewise.
14509         * iconv/iconvconfig.c (print_version): Likewise.
14510         * locale/programs/locale.c (print_version): Likewise.
14511         * locale/programs/localedef.c (print_version): Likewise.
14512         * login/programs/pt_chown.c (print_version): Likewise.
14513         * malloc/memusage.sh (do_version): Likewise.
14514         * malloc/memusagestat.c (print_version): Likewise.
14515         * malloc/mtrace.pl: Likewise.
14516         * manual/libc.texinfo: Likewise.
14517         * nptl/version.c (banner): Likewise.
14518         * nscd/nscd.c (print_version): Likewise.
14519         * nss/getent.c (print_version): Likewise.
14520         * nss/makedb.c (print_version): Likewise.
14521         * posix/getconf.c (main): Likewise.
14522         * scripts/test-installation.pl: Likewise.
14523         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
14525 2015-01-02  Will Newton  <will.newton@linaro.org>
14527         * sysdeps/arm/armv7/configure: Removed.
14528         * sysdeps/arm/armv7/configure.ac: Likewise.
14530 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
14532         * All files with FSF copyright notices: Update copyright dates
14533         using scripts/update-copyrights.
14534         * intl/plural.c: Regenerated.
14535         * locale/programs/charmap-kw.h: Likewise.
14536         * locale/programs/locfile-kw.h: Likewise.
14538 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14540         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
14542 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
14544         [BZ #17748]
14545         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
14546         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
14547         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
14548         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
14549         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
14550         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
14551         define as weak alias of __fegetenv.  Use libm_hidden_weak.
14552         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
14553         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
14554         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
14555         define as weak alias of __fegetenv.  Use libm_hidden_weak.
14556         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
14557         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
14558         define as weak alias of __fegetenv.  Use libm_hidden_weak.
14559         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
14560         libm_hidden_def.
14561         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
14562         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
14563         Likewise.
14564         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
14565         define as weak alias of __fegetenv.  Use libm_hidden_weak.
14566         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
14567         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
14568         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
14569         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
14570         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
14571         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
14572         __fegetenv instead of fegetenv.
14573         (libc_feholdsetround_noex_ctx): Likewise.
14575 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
14577         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
14578         (Elf_MIPS_ABIFlags_v0): New structure.
14579         (EF_MIPS_FP64): Define.
14580         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
14581         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
14582         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
14583         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
14584         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
14585         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
14586         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
14587         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
14588         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
14589         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
14590         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
14591         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
14592         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
14593         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
14594         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
14595         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
14596         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
14597         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
14598         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
14599         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
14600         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
14601         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
14602         field.
14603         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
14604         EF_MIPS_FP64.
14605         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
14606         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
14607         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
14608         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
14609         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
14610         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
14611         * sysdeps/mips/tst-abi-interlink.c: Likewise.
14612         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
14613         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
14614         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
14615         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
14616         record the current FP ABI extension.
14617         (mips-mode-switch): Define to show if kernel headers support mode
14618         switching.
14619         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14620         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
14621         supported SYSV ABI version to 3.
14622         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
14623         feature.
14625 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14626             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14628         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
14629         path.
14630         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
14632 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
14634         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
14635         __fegetround and redefine to call __fegetround.  Remove condition
14636         on [!__NO_MATH_INLINES].
14637         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
14638         function.
14639         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
14640         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14641         Remove macro.
14642         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
14643         instead of <fenv_libc.h>.
14644         (__llrintl): Call fegetround instead of __fegetround.
14645         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
14646         instead of <fenv_libc.h>.
14647         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
14648         (__lrintl): Call fegetround instead of __fegetround.
14649         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
14650         instead of <fenv_libc.h>.
14651         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14652         (__rintl): Call fegetround instead of __fegetround.
14654 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
14656         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
14657         arrays.
14659 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
14661         [BZ #17775]
14662         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
14663         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
14664         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
14666 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
14668         * sysdeps/i386/tls-macros.h: Include <features.h>.
14669         (TLS_LE): Use non-PIC version for GCC >= 5.0.
14670         (TLS_IE): Likewise.
14671         (TLS_LD): Likewise.
14672         (TLS_GD): Likewise.
14673         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
14674         define for GCC >= 5.0.
14676 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
14678         * math/test-fenv.c (test_single_exception, set_single_exc,
14679         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
14680         feexcp_mask_test, feenable_test, fe_single_test): Add
14681         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
14682         case where they are not used.
14683         * math/libm-test.inc: Likewise.
14684         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
14685         unused in the absence of FP rounding/exception support.
14686         * stdio-common/tst-printf-round.c: Likewise.
14687         * stdlib/tst-strtod-round.c: Likewise.
14688         * stdlib/tst-strtod-underflow.c: Likewise.
14690 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
14692         [BZ #17723]
14693         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
14694         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
14695         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
14696         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
14697         libm_hidden_weak.
14698         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
14699         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
14700         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
14701         libm_hidden_def.
14702         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
14703         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
14704         libm_hidden_weak.
14705         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
14706         Likewise.
14707         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
14708         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
14709         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
14710         libm_hidden_weak.
14711         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
14712         libm_hidden_def.
14713         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14714         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
14715         (__feraiseexcept): Likewise.
14716         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
14717         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
14718         libm_hidden_weak.
14719         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
14720         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
14721         libm_hidden_def.
14722         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
14723         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
14724         Use libm_hidden_def.
14725         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
14726         libm_hidden_def.
14727         (feraiseexcept): Define as weak not strong alias.  Use
14728         libm_hidden_weak.
14729         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
14730         New inline function.  Factored out of ...
14731         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
14732         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
14733         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
14734         feraiseexcept.
14735         * math/w_acos.c (__acos): Likewise.
14736         * math/w_asin.c (__asin): Likewise.
14737         * math/w_ilogb.c (__ilogb): Likewise.
14738         * math/w_j0.c (y0): Likewise.
14739         * math/w_j1.c (y1): Likewise.
14740         * math/w_jn.c (yn): Likewise.
14741         * math/w_log.c (__log): Likewise.
14742         * math/w_log10.c (__log10): Likewise.
14743         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
14744         * sysdeps/aarch64/fpu/math_private.h
14745         (libc_feupdateenv_test_aarch64): Likewise.
14746         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
14747         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
14748         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
14749         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
14750         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
14751         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
14752         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
14753         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14754         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14755         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14757 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
14759         [BZ #17732]
14760         * io/test-utime.c (main): Replace %ld with %jd and cast to
14761         intmax_t.
14762         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
14763         * nptl/tst-mutex5.c: Include <stdint.h>.
14764         (do_test): Replace %ld with %jd and cast to intmax_t.
14765         * posix/tst-regex.c (run_test): Likewise.
14766         (run_test_backwards): Likewise.
14767         * rt/tst-clock.c: Include <stdint.h>.
14768         (clock_test): Replace %ld with %jd and cast to intmax_t.
14769         * rt/tst-cpuclock1.c: Include <stdint.h>.
14770         (do_test): Replace %lu with %ju and cast to uintmax_t.
14771         * rt/tst-cpuclock2.c: Include <stdint.h>.
14772         (do_test): Replace %lu with %ju and cast to uintmax_t.
14773         * rt/tst-mqueue1.c: Include <stdint.h>.
14774         (check_attrs): Replace %ld with %jd and cast to intmax_t.
14775         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
14776         intmax_t.
14777         * rt/tst-mqueue4.c (do_test): Likewise.
14778         * rt/tst-timer4.c: Include <stdint.h>.
14779         (check_ts): Replace %ld with %jd and cast to intmax_t.
14780         (do_test): Likewise.
14781         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
14782         and cast to intmax_t.
14783         * sysdeps/pthread/tst-timer.c (main): Likewise.
14784         * time/clocktest.c (main): Likewise.
14785         * time/tst-posixtz.c (do_test): Likewise.
14786         * timezone/tst-timezone.c (main): Likewise.
14788 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
14789             H.J. Lu  <hongjiu.lu@intel.com>
14791         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
14792         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
14793         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
14794         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
14795         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
14796         version if bit_Fast_Unaligned_Load is set.
14797         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14798         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14799         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14800         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14801         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14802         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14803         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14804         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
14805         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
14806         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
14807         to 4.
14808         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
14809         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
14810         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
14811         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
14813 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
14815         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
14816         instead of #if to avoid a Wundef warning.
14817         * stdlib/tst-limits.c (do_test): Likewise.
14819         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
14820         parallel other exception macros.
14821         (fegetenv): Convert from macro to extern inline so that it applies
14822         retroactively to inline functions already seen by the compiler.
14823         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
14825         * posix/Makefile (before-compile): Use $(objpfx) for
14826         posix-conf-vars-def.h.
14828 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14830         * posix/getconf.c (main): Use size_t for type of I.
14831         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
14832         NSPEC.
14834         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
14835         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
14836         * posix/posix-envs.def: Likewise.
14837         * sysdeps/posix/sysconf.c: Likewise.
14838         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
14839         (specs): Remove array.
14840         * scripts/gen-posix-conf-vars.awk: Support generation of specs
14841         array.
14843         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
14844         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
14845         (__sysconf): Use CONF_IS_* macros.
14847         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
14848         ($(objpfx)posix-conf-vars-def.h): New target.
14849         * posix/posix-conf-vars.list: New file.
14850         * posix/posix-conf-vars.h: New file.
14851         * posix/confstr.c: Include posix-conf-vars.h.
14852         (confstr): Use CONF_IS_* macros.
14853         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
14854         CONF_IS_* macros.
14855         * scripts/gen-posix-conf-vars.awk: New file.
14857 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
14859         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
14860         fegetround): Add no-op macros to avoid linknamespace issues.
14862         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
14863         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
14865         * sysdeps/unix/sysv/linux/tile/sysdep.h
14866         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
14867         assembly-specific section to avoid a redefinition warning.
14869         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
14870         long before casting to pointer to avoid a cast warning.
14872 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
14874         * sysdeps/tile/tilegx/Implies: New file.
14876 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
14878         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
14880 2014-12-23  Florian Weimer  <fweimer@redhat.com>
14882         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
14884 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
14886         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
14887         not define.
14888         * sysdeps/unix/sysv/linux/utimes.c: Do not include
14889         <kernel-features.h>.
14890         (__utimes) [__NR_utimes]: Make code unconditional.
14891         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
14892         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14893         (__ASSUME_UTIMES): Do not undefine.
14894         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14895         (__ASSUME_UTIMES): Likewise.
14896         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14897         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
14898         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
14899         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
14901 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
14903         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
14905 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
14907         [BZ #17747]
14908         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
14909         alias to weak alias for j0l, y0l.
14910         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
14911         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
14913         [BZ #17746]
14914         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
14915         conversion.
14917 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
14919         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
14920         to zero if not already defined.
14922 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
14924         [BZ #17724]
14925         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
14926         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
14927         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
14928         (char *) casts added.
14929         * sysdeps/ieee754/k_standardf.c: New file.
14930         * sysdeps/ieee754/k_standardl.c: Likewise.
14931         * math/Makefile (libm-support): Remove k_standard.
14932         (libm-calls): Add k_standard.
14934 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14936         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14937         Optimize to avoid an unnecessary FPCR read.
14939 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14941         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
14942         Optimize to reduce FPCR/FPSR accesses.
14944 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14946         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
14947         Call libc_fetestexcept_aarch64.
14949 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
14951         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
14952         Call libc_fesetround_aarch64.
14954 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
14956         [BZ #17733]
14957         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
14958         (__bind): Do not define as weak alias.
14959         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
14960         define.
14961         (__getsockname): Do not define as weak alias.
14963 2014-12-22  Will Newton  <will.newton@linaro.org>
14965         * manual/install.texi: Document that we require bison 2.7
14966         or above.
14967         * INSTALL: Regenerate.
14968         * configure.ac: Use AC_CHECK_PROG_VER instead of
14969         AC_PATH_PROG when checking for bison and check for
14970         version 2.7 or above.
14971         * configure: Regenerate.
14973 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
14975         [BZ #17745]
14976         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
14977         * sysdeps/tile/ffsll.c (ffsll): To here.
14979         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
14981 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
14983         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
14984         if not defined.
14985         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
14986         definition.
14987         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
14988         hidden ___tls_get_addr.
14989         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
14990         hidden __tls_get_addr.
14991         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
14992         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
14993         Likewise.
14995 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
14997         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
14998         _dl_init call.
15000 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
15002         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
15003         from "call _dl_init@PLT".
15004         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
15006 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
15008         * manual/search.texi: (Array Sort Function): Clarify stable sorting
15009         guarantees.
15011 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
15013         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
15015 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
15017         [BZ #17744]
15018         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
15019         strnlen.
15021 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
15023         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
15024         of multu on MIPSr6.
15025         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
15026         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
15027         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
15028         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
15029         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
15031 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
15033         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
15034         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
15035         (PTR_SUBU): Use subu for mips32r6/mips64r6.
15036         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
15037         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
15038         mips32r6/mips64r6.
15039         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
15041 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
15043         * string/strncat.c (STRNCAT): Simplify implementation.
15045 2014-12-19  David S. Miller  <davem@davemloft.net>
15047         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
15048         access the quad as both a long double and as a series of 4 words.
15050         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
15051         link_map->l_info array access.
15053 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
15055         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
15057         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
15058         * math/atest-exp2.c (TIMEOUT): Likewise.
15059         * math/atest-sincos.c (TIMEOUT): Likewise.
15061 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
15063         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
15064         -Wno-error with -fno-builtin-lround.
15066 2014-12-19  Torvald Riegel  <triegel@redhat.com>
15068         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
15069         Contains futex constants and functions moved over from ...
15070         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
15071         <lowlevellock-futex.h>.
15072         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
15073         (lll_timedwait_tid): Add comments and parentheses around macro
15074         arguments.
15076 2014-12-19  Torvald Riegel  <triegel@redhat.com>
15078         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
15079         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
15080         (__lll_private_flag): Remove.
15081         (lll_futex_wait): Likewise.
15082         (lll_futex_timed_wait): Likewise.
15083         (lll_futex_wake): Likewise.
15084         (lll_futex_requeue): Likewise.
15085         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
15086         (__lll_timedwait_tid): Spell out argument names.
15087         (lll_timedwait_tid): Add comments and parentheses around macro
15088         arguments.
15089         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
15090         LLL_SHARED and LLL_PRIVATE usable from assembly code.
15092 2014-12-19  Torvald Riegel  <triegel@redhat.com>
15094         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
15095         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
15096         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15097         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
15098         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
15099         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
15100         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
15101         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
15102         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
15103         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
15104         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
15105         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
15106         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
15107         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
15108         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
15109         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
15110         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
15111         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
15112         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
15114 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
15116         * sysdeps/x86_64/x32/Makefile: New file.
15118 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
15120         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
15121         1L with (mp_limb_t) 1.
15123 2014-12-17  Roland McGrath  <roland@hack.frob.com>
15125         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
15126         * nptl/libc_pthread_init.c: ... here.
15127         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
15128         * nptl/register-atfork.c: ... here.
15130         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
15131         Use pthread_sigmask rather than INTERNAL_SYSCALL.
15132         Use assert_perror to check its return value.
15133         (__gai_create_helper_thread): Likewise.
15135         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
15137         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
15139 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
15141         [BZ #17725]
15142         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
15143         __profil_counter.
15144         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
15145         Likewise.
15146         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
15147         Likewise.
15148         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
15149         Likewise.
15150         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
15151         (profil_counter): Likewise.
15152         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
15153         (profil_counter): Likewise.
15154         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
15155         Likewise.
15156         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
15157         Likewise.
15158         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
15159         (profil_counter): Likewise.
15160         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
15161         Likewise.
15162         [!__profil_counter] (profil_counter): Define as weak alias of
15163         __profil_counter.
15164         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
15165         (profil_counter): Rename to __profil_counter.
15166         [!__profil_counter] (profil_counter): Define as weak alias of
15167         __profil_counter.
15168         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
15169         (profil_counter): Rename to __profil_counter.
15170         [!__profil_counter] (profil_counter): Define as weak alias of
15171         __profil_counter.
15172         * sysdeps/posix/profil.c: Update comment referring to
15173         profil_counter.
15174         (__profil): Use __profil_counter instead of profil_counter.
15175         * sysdeps/posix/sprofil.c (profil_counter): Rename to
15176         __profil_counter.  Use __profil_counter_ushort and
15177         __profil_counter_uint in definitions.
15178         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
15179         instead of profil_counter_uint and profil_counter_ushort.
15181         [BZ #17722]
15182         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
15183         define as weak alias of __inet_makeaddr.
15184         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
15185         as weak alias of __inet_addr.
15186         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
15187         as weak alias of __inet_pton.  Use libc_hidden_weak.
15188         * include/arpa/inet.h (__inet_pton): Declare.  Use
15189         libc_hidden_proto.
15190         (inet_makeaddr): Don't use libc_hidden_proto.
15191         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
15192         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
15193         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
15194         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
15195         Remove variable.
15196         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
15197         (test-xfail-POSIX/time.h/linknamespace): Likewise.
15199 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
15201         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
15203 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15205         * stdio-common/bug-vfprintf-nargs.c (do_test):
15206         Cast value to intptr_t to avoid format warning
15207         for usage with PRIdPTR printing macro.
15209 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15211         * libio/tst-widetext.c (do_test):
15212         Use format type %td instead of %Zd for ptrdiff_t
15213         in order to avoid format warning.
15215 2014-12-17  Andreas Schwab  <schwab@suse.de>
15217         * nscd/mem.c (gc): Add size_t cast to match printf format.
15219 2014-12-16  Roland McGrath  <roland@hack.frob.com>
15221         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
15222         (init): Apply PTR_MANGLE to pointers before storing them.
15223         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
15224         before using them.
15226 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
15228         [BZ #17719]
15229         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
15230         define as weak alias of __memrchr.
15231         (__memrchr): Do not define as strong alias of memrchr.
15232         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
15233         Remove variable.
15234         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
15235         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
15236         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
15238         [BZ #17717]
15239         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
15240         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
15241         (if_indextoname): Rename to __if_indextoname and define as weak
15242         alias of __if_indextoname.  Use libc_hidden_weak.
15243         (if_freenameindex): Rename to __if_freenameindex and define as
15244         weak alias of __if_freenameindex.
15245         (if_nameindex): Rename to __if_nameindex and define as weak alias
15246         of __if_nameindex.
15247         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
15248         __if_nametoindex and define as weak alias of __if_nametoindex.
15249         Use libc_hidden_weak.
15250         (if_freenameindex): Rename to __if_freenameindex and define as
15251         weak alias of __if_freenameindex.
15252         (if_nameindex): Rename to __if_nameindex and define as weak alias
15253         of __if_nameindex.
15254         (if_indextoname): Rename to __if_indextoname and define as weak
15255         alias of __if_indextoname.  Use libc_hidden_weak.
15256         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
15257         __if_nametoindex and define as weak alias of __if_nametoindex.
15258         Use libc_hidden_weak.
15259         (if_freenameindex): Rename to __if_freenameindex and define as
15260         weak alias of __if_freenameindex.  Use libc_hidden_weak.
15261         (if_nameindex_netlink): Use __if_freenameindex instead of
15262         if_freenameindex.
15263         (if_nameindex): Rename to __if_nameindex and define as weak alias
15264         of __if_nameindex.  Use libc_hidden_weak.
15265         (if_indextoname): Rename to __if_indextoname and define as weak
15266         alias of __if_indextoname.  Use libc_hidden_weak.
15267         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
15268         libc_hidden_proto.
15269         [!_ISOMAC] (__if_freenameindex): Likewise.
15270         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
15271         if_nametoindex.
15272         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
15273         variable.
15274         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
15275         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
15276         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
15277         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
15278         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
15279         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
15280         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
15282         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
15283         Remove variable.
15284         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
15285         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
15287 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15289         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
15290         subscript above bounds'
15292         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
15293         bounds.
15295 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
15297         * libio/tst-fopenloc.c: Use test-skeleton.c.
15299         * stdlib/tst-bsearch.c: Use test-skeleton.c.
15300         (entry): Rename to ITEM.
15301         (do_test, comp): Adjust.
15303         * stdio-common/tst-fseek.c: Use test-skeleton.c.
15305 2014-12-16  Torvald Riegel  <triegel@redhat.com>
15307         * string/tester.c: Include <libc-internal.h>.
15308         (test_memset): Ignore -Wmemset-transposed-args.
15310 2014-12-16  Torvald Riegel  <triegel@redhat.com>
15312         * misc/tst-mntent2.c (do_test): Fix warning.
15314 2014-12-16  Torvald Riegel  <triegel@redhat.com>
15316         * elf/tst-unique4lib.cc(a): Mark as used.
15318 2014-12-16  Florian Weimer  <fweimer@redhat.com>
15320         [BZ #17630]
15321         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
15322         names.
15324 2014-12-16  Allan McRae  <allan@archlinux.org>
15326         * stdio-common/Makefile (tests): Re-add bug26.
15328 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
15330         [BZ #17657]
15331         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
15332         static array.
15334 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
15336         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
15337         (__lll_lock_wait): Likewise.
15338         (__lll_timedlock_wait): Likewise.
15339         (__lll_timedwait_tid): Likewise.
15340         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
15341         (__lll_robust_timedlock_wait): Likewise.
15342         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
15343         (lll_cond_trylock): Likewise.
15344         (__lll_lock): Likewise.
15345         (__lll_robust_lock): Likewise.
15346         (__lll_cond_lock): Likewise.
15347         (lll_robust_cond_lock): Likewise.
15348         (__lll_timedlock): Likewise.
15349         (__lll_robust_timedlock): Likewise.
15350         (__lll_unlock): Likewise.
15351         (__lll_robust_unlock): Likewise.
15352         (lll_wait_tid): Likewise.
15353         (lll_timedwait_tid): Likewise.
15355 2014-12-15  Torvald Riegel  <triegel@redhat.com>
15357         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
15359 2014-12-15  Torvald Riegel  <triegel@redhat.com>
15361         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
15363 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
15365         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
15366         * stdio-common/tst-sprintf.c: Likewise.
15368 2014-12-15  Torvald Riegel  <triegel@redhat.com>
15370         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
15372 2014-12-15  Jeff Law  <law@redhat.com>
15374         [BZ #16617]
15375         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
15376         on the heap.  (CVE-2012-3406)
15377         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
15378         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
15379         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
15381 2014-12-15  Will Newton  <will.newton@linaro.org>
15383         * manual/install.texi: Bump required version of texinfo
15384         to 4.7 from 4.5.
15385         * INSTALL: Regenerated.
15386         * configure.ac: Check for makeinfo version 4.7 and above.
15387         * configure: Regenerated.
15389 2014-12-12  Roland McGrath  <roland@hack.frob.com>
15391         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
15392         PREFIX, string constant to insert between directory and name.
15393         * sysdeps/posix/shm_open.c: Update caller.
15394         * sysdeps/posix/shm_unlink.c: Likewise.
15395         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
15396         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
15397         (SEM_SHM_PREFIX): New macro.
15398         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
15399         [$(have-thread-library) = no].
15400         * nptl/Makefile (libpthread-routines): Add shm-directory.
15401         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
15402         * sysdeps/nptl/shm-directory.h: New file.
15403         * sysdeps/posix/shm-directory.c
15404         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
15405         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
15406         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
15407         INTERNAL_SYSCALL.
15408         (__where_is_shmfs): Function removed.
15409         (mountpoint, defaultmount, defaultdir, __namedsem_once):
15410         Variables removed.
15411         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
15412         Use SHM_GET_NAME.
15413         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
15415         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
15416         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
15417         unconditional for use inside libpthread.
15418         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
15420 2014-12-12  Roland McGrath  <roland@hack.frob.com>
15422         * nptl/pthread_getaffinity.c: New file.
15423         * nptl/pthread_setaffinity.c: New file.
15424         * nptl/pthread_getname.c: New file.
15425         * nptl/pthread_setname.c: New file.
15427         * nptl/pthread_create.c (START_THREAD_DEFN)
15428         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
15430 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15431             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15433         * resolv/res_send.c (send_vc): Disable warning resplen may
15434         be used uninitialized.
15436 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15438         * nptl/tst-mutex6.c
15439         (ATTR_NULL): New define checks ATTR against NULL.
15440         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
15441         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
15443 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
15445         [BZ #17581]
15446         * malloc/hooks.c
15447         (mem2mem_check): Revert my previous change.
15448         (malloc_check_get_size): Revert my previous change.
15449         (mem2chunk_check): Revert my previous change.
15451 2014-12-11  Roland McGrath  <roland@hack.frob.com>
15453         * sysdeps/posix/shm-directory.c: New file.
15454         * sysdeps/posix/shm-directory.h: New file.
15455         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
15456         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
15457         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
15458         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
15459         Transmute EPERM to EACCES.
15460         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
15461         from ...
15462         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
15463         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
15465 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15467         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
15468         pointer and cast to uintptr_t.
15469         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
15470         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
15471         Add cast to avoid warning.
15472         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
15474 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
15476         * nptl/semaphore.h: Move to ...
15477         * sysdeps/pthread/semaphore.h: ... here.
15478         * Makefile (installed-headers): Change nptl/semaphore.h to
15479         sysdeps/pthread/semaphore.h.
15481 2014-12-11  Roland McGrath  <roland@hack.frob.com>
15483         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
15484         generated error format strings.
15486         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
15487         -Wformat-extra-args warnings for scanf formats.
15488         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
15489         test of zero-length format (duh).
15490         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
15491         corner-case scanf format test.
15492         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
15493         generated fprintf format string.
15494         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
15495         corner-case sprintf format tests.
15496         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
15497         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
15498         -Wformat-extra-args warnings throughout.
15499         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
15500         (CFLAGS-scanf4.c): Likewise.
15501         (CFLAGS-scanf7.c): Likewise.
15502         (CFLAGS-tst-sprintf.c): Likewise.
15503         (CFLAGS-tst-printf.c): Likewise.
15504         (CFLAGS-tst-printfsz.c): Likewise.
15506 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
15508         * include/cpio.h: New file.
15509         * include/fmtmsg.h: Likewise.
15511         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
15512         corresponding format argument to size_t.
15513         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
15514         arguments.
15515         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
15516         corresponding format argument to size_t.
15517         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
15518         arguments.
15519         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
15520         corresponding format argument to size_t.
15521         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
15522         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
15523         (CFLAGS-tst-mbswcs2.c): Likewise.
15524         (CFLAGS-tst-mbswcs3.c): Likewise.
15525         (CFLAGS-tst-mbswcs4.c): Likewise.
15526         (CFLAGS-tst-mbswcs5.c): Likewise.
15527         (CFLAGS-tst-trans.c): Likewise
15529 2014-12-11  Roland McGrath  <roland@hack.frob.com>
15531         * posix/regexbug1.c (main): Use "%s" format with regerror results,
15532         rather than assuming they won't contain any '%'s.
15534 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
15536         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
15537         inhibit_loop_to_libcall to avoid recursive calls.
15538         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
15539         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
15541 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
15543         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
15544         prototype.
15546 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
15548         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
15549         integer value instead of boolean.
15551 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
15553         * malloc/malloc.c: Fix powerof2 check.
15555 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15557         * locale/programs/locfile.h (maybe_swap_uint32):
15558         Remove inline and add unused attribute.
15560 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15562         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
15563         Truncating assembler expression to a .long expression.
15565 2014-12-11  Andreas Schwab  <schwab@suse.de>
15567         * elf/rtld.c (struct map_args): Constify str member.
15568         (do_preload): Constify fname argument.
15570 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15572         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
15573         constants definition.
15575 2014-12-11  Andreas Schwab  <schwab@suse.de>
15577         [BZ #16657]
15578         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
15579         FORCE_ELISION instead of DO_ELISION.
15580         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
15581         Remove.
15582         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
15583         Likewise.
15585         * iconvdata/gconv-modules: Remove duplicate entry.
15587 2014-12-11  Will Newton  <will.newton@linaro.org>
15589         Merge gettext 0.19.3 into intl/.
15591         This involves a number of cosmetic changes to comments
15592         and ANSI function definitions and prototypes throughout
15593         all the files. The gettext copyright header is used but
15594         with the date ranges taken from the glibc copy.
15596         * NEWS: Add gettext merge to 2.21.
15597         * intl/bindtextdom.c: Switch to gettext copyright.
15598         Use ANSI definitions and prototypes.
15599         Use gl_* locking primitives rather than __libc_* ones.
15600         Use __builtin_expect rather than __glibc_likely/unlikely.
15601         * intl/dcgettext.c: Switch to gettext copyright.
15602         Use ANSI definitions and prototypes.
15603         * intl/dcigettext.c: Switch to gettext copyright.
15604         Use ANSI definitions and prototypes.
15605         (INTDIV0_RAISES_SIGFPE): New define.
15606         Use gl_* locking primitives rather than __libc_* ones.
15607         Include eval-plural.h instead of plural-eval.c.
15608         Use __builtin_expect rather than __glibc_likely/unlikely.
15609         * intl/dcngettext.c: Switch to gettext copyright.
15610         Use ANSI definitions and prototypes.
15611         * intl/dgettext.c: Likewise.
15612         * intl/dngettext.c: Likewise.
15613         * intl/plural-eval.c: Renamed to...
15614         * intl/eval-plural.h: ...this.
15615         * intl/explodename.c: Switch to gettext copyright.
15616         Use ANSI definitions and prototypes.
15617         (_nl_explode_name): Use strchr instead of __rawmemchr.
15618         * intl/finddomain.c: Switch to gettext copyright.
15619         Use ANSI definitions and prototypes.
15620         Use gl_* locking primitives rather than __libc_* ones.
15621         (_nl_find_domain): Use malloc rather than alloca for
15622         allocation of temporary locale name.
15623         * intl/gettext.c: Switch to gettext copyright.
15624         Use ANSI definitions and prototypes.
15625         * intl/gettextP.h: Switch to gettext copyright.
15626         Use ANSI definitions and prototypes.
15627         Use gl_* locking primitives rather than __libc_* ones.
15628         * intl/gmo.h: Switch to gettext copyright.
15629         (struct sysdep_string): Move struct segment_pair outside of
15630         struct definition.
15631         * intl/hash-string.c: Use ANSI definitions and prototypes.
15632         * intl/hash-string.h: Switch to gettext copyright.
15633         Use ANSI definitions and prototypes.
15634         * intl/l10nflist.c: Switch to gettext copyright.
15635         Use ANSI definitions and prototypes.
15636         (_nl_normalize_codeset): Avoid integer overflow.
15637         * intl/loadinfo.h: Switch to gettext copyright.
15638         Use ANSI definitions and prototypes.
15639         (LIBINTL_DLL_EXPORTED): New define.
15640         (PATH_SEPARATOR): New define.
15641         * intl/loadmsgcat.c: Switch to gettext copyright.
15642         * intl/localealias.c: Switch to gettext copyright.
15643         Use ANSI definitions and prototypes.
15644         (_nl_expand_alias): Use PATH_SEPARATOR.
15645         * intl/ngettext.c: Switch to gettext copyright.
15646         Use ANSI definitions and prototypes.
15647         * intl/plural-exp.c: Likewise.
15648         * intl/plural-exp.h: Switch to gettext copyright.
15649         Use ANSI definitions and prototypes.
15650         (struct expression): Move definition of enum operator outside
15651         of struct definition.
15652         * intl/plural.c: Regenerate.
15653         * intl/plural.y: Switch to gettext copyright.
15654         Use ANSI definitions and prototypes.
15655         Port to bison 3.0.
15656         * intl/textdomain.c: Switch to gettext copyright.
15657         Use ANSI definitions and prototypes.
15658         Use gl_* locking primitives rather than __libc_* ones.
15660 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
15662         * debug/warning-nop.c: Add used atrribute.
15664 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
15666         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
15668         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
15669         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
15670         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
15672 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
15673             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15675         [BZ #17634]
15676         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
15677         Undefine after defining function.  Define as weak alias of
15678         __wcschr.  Use libc_hidden_weak.
15679         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
15680         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
15681         (libc_hidden_def): Also define __GI___wcschr alias.
15682         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
15683         __wcschr and define as weak alias of __wcschr.
15684         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
15685         __wcschr.
15686         [!WCSCHR] (DEFAULT_WCSCHR): Define.
15687         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
15688         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
15689         libc_hidden_weak.  Do not use libc_hidden_def.
15690         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
15691         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
15692         __GI___wcschr alias.
15693         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
15694         [IS_IN (libc)] (wcschr): Define as macro expanding to
15695         __redirect_wcschr.
15696         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
15697         [IS_IN (libc)] (__wcschr_power6): Likewise.
15698         [IS_IN (libc)] (__wcschr_power7): Likewise.
15699         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
15700         instead of wcschr.
15701         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
15702         __libc_wcschr.
15703         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
15704         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
15705         __wcschr and define as weak alias of __wcschr.  Use
15706         libc_hidden_builtin_def.
15707         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
15708         as weak alias of __wcschr.  Use libc_hidden_weak.
15709         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
15710         wcschr.
15711         * time/era.c (_nl_init_era_entries): Likewise.
15712         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
15713         variable.
15714         (test-xfail-XPG3/time.h/linknamespace): Likewise.
15715         (test-xfail-XPG4/time.h/linknamespace): Likewise.
15717 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
15719         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
15720         format for long int variable.
15722 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
15724         [BZ #10672]
15725         * manual/search.texi: (Array Sort Function): Remove claim how to make
15726         qsort stable.
15728 2014-12-10  Andreas Schwab  <schwab@suse.de>
15730         [BZ #12847]
15731         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
15732         user-controlled locks.
15734 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
15736         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
15737         register.
15739 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
15741         * configure.ac (--disable-werror): New configure option.
15742         (enable_werror): New AC_SUBST.
15743         * configure: Regenerated.
15744         * config.make.in (enable-werror): New variable.
15745         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
15746         -Wno-error=undef.
15747         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
15748         * manual/install.texi (Configuring and compiling): Document
15749         --disable-werror.
15750         * INSTALL: Regenerated.
15751         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
15752         (CFLAGS-tst-chk2.c): Likewise.
15753         (CFLAGS-tst-chk3.c): Likewise.
15754         (CFLAGS-tst-chk4.cc): Likewise.
15755         (CFLAGS-tst-chk5.cc): Likewise.
15756         (CFLAGS-tst-chk6.cc): Likewise.
15757         (CFLAGS-tst-lfschk1.c): Likewise.
15758         (CFLAGS-tst-lfschk2.c): Likewise.
15759         (CFLAGS-tst-lfschk3.c): Likewise.
15760         (CFLAGS-tst-lfschk4.cc): Likewise.
15761         (CFLAGS-tst-lfschk5.cc): Likewise.
15762         (CFLAGS-tst-lfschk6.cc): Likewise.
15764         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
15765         (main): Disable -Wdeprecated-declarations around calls to
15766         register_printf_function.
15768         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
15769         (do_test): Disable -Wdiv-by-zero around some calls to
15770         fwrite_unlocked and fread_unlocked.
15772         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
15773         (DIAG_POP_NEEDS_COMMENT): Likewise.
15774         (_DIAG_STR1): Likewise.
15775         (_DIAG_STR): Likewise.
15776         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
15777         * stdio-common/bug21.c: Include <libc-internal.h>.
15778         (do_test): Disable -Wformat around call to sscanf.
15779         * stdio-common/scanf14.c: Include <libc-internal.h>.
15780         (main): Disable -Wformat around some calls to scanf functions.
15782 2014-12-09  Torvald Riegel  <triegel@redhat.com>
15784         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
15786 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15788         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
15789         stack variable alignment.
15791 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
15793         [BZ #17682]
15794         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
15795         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
15796         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
15797         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
15798         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
15799         __getrlimit instead of getrlimit.
15800         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
15801         __gettimeofday instead of gettimeofday.
15802         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15803         Likewise.
15804         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
15805         Likewise.
15806         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15807         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
15808         Remove variable.
15809         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
15810         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
15812 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15814         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
15815         for wide-character tests.
15817 2014-12-04  Roland McGrath  <roland@hack.frob.com>
15819         * io/openat64.c: #include <libc-internal.h>
15820         (__openat64): Prototypify.  Use ignore_value on MODE.
15821         * io/openat.c: Likewise.
15822         * misc/reboot.c: #include <libc-internal.h>
15823         (reboot): Prototypify.  Use ignore_value on HOWTO.
15824         * misc/ptrace.c: #include <libc-internal.h>
15825         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
15827 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
15829         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
15830         XPG4, UNIX98 and XOPEN2K.
15831         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
15832         Remove variable.
15833         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
15835 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15837         * libio/fileops.c: Use ISO C style for function definitions.
15838         * libio/iofopen.c: Likewise.
15839         * libio/wfileops.c: Likewise.
15841         [BZ #17653]
15842         * libio/fileops.c (_IO_new_file_underflow): Unset cached
15843         offset on EOF.
15844         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
15845         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
15846         (fgets_func): Function pointer to fgets and fgetws.
15847         (do_ftell_test): Add test to verify ftell value after read
15848         EOF.
15849         (do_test): Set fgets_func.
15851         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
15852         O_TRUNC flag for w and w+ modes.
15853         (do_rewind_test): Likewise.
15854         (do_ftell_test): Likewise.
15855         (do_write_test): Likewise.
15857         [BZ #17647]
15858         * libio/fileops.c (do_ftell): Seek only when there are
15859         unflushed writes.
15860         * libio/wfileops.c (do_ftell_wide): Likewise.
15861         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
15862         test case.
15863         (do_one_test): Call it.
15865 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
15867         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
15868         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
15869         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
15870         Remove variable.
15871         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
15872         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
15873         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
15875 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
15877         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
15878         Remove variable.
15879         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
15881         [BZ #17668]
15882         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
15883         as weak alias of __getifaddrs.  Use libc_hidden_weak.
15884         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
15885         __freeifaddrs.  Use libc_hidden_weak.
15886         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
15887         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
15888         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
15889         __freeifaddrs.  Use libc_hidden_weak.
15890         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
15891         __getifaddrs and define as weak alias of __getifaddrs.  Use
15892         libc_hidden_weak.
15893         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
15894         __freeifaddrs.  Use libc_hidden_weak.
15895         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
15896         Remove variable.
15897         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
15898         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
15900 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
15902         [BZ #17601]
15903         * sysdeps/mips/start.S (__start): Use indirect jump to call
15904         __libc_start_main.
15906 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
15908         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
15910         * nptl/tst-mutex1.c: Include <stdbool.h>.
15911         [!ATTR] (ATTR_NULL): New macro.
15912         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
15913         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
15914         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
15916         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
15917         to char *.
15919         [BZ #17665]
15920         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
15921         Change conditional to [__USE_MISC].
15923         [BZ #17664]
15924         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
15925         fgets_unlocked.
15926         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
15927         __fgets_unlocked.
15928         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
15929         fgets_unlocked.
15930         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
15931         Remove variable.
15932         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
15933         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
15934         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
15935         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
15936         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
15937         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
15938         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
15939         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
15940         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
15942         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
15944 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15946         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15947         Remove strpbrk objects.
15948         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15949         (__libc_ifunc_impl_list): Remove strpbrk implementation.
15950         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
15951         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
15952         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
15953         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
15955         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15956         Remove strcspn objects.
15957         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15958         (__libc_ifunc_impl_list): Remove strcspn implementation.
15959         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
15960         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
15961         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
15962         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
15964         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15965         Remove strspn objetcs.
15966         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15967         (__libc_ifunc_impl_list): Remove strspn implementation.
15968         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
15969         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
15970         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
15971         * sysdeps/powerpc/powerpc64/strspn.S: New file.
15973 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
15975         [BZ #17581]
15976         * malloc/hooks.c
15977         (mem2mem_check): Add a terminator to the chain of checking blocks.
15978         (malloc_check_get_size): Use it here.
15979         (mem2chunk_check): Ditto.
15981 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15983         * sysdeps/powerpc/powerpc64/strtok.S: New file.
15984         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
15986 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
15988         * bits/ioctl-types.h: Indent preprocessor directives correctly.
15990         * nptl/nptl-init.c: Include libc-internal.h.
15991         (__pthread_initialize_minimal_internal): Use ROUND_UP.
15993         * elf/ldconfig.c (search_dir): Expand comment.
15995 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
15997         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
15998         variable.
15999         (linknamespace-symlist-stdlibs-tests): Likewise.
16000         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
16001         instead of $(objpfx)symlist-stdlibs.
16002         (linknamespace-libs-isoc): New variable.
16003         (linknamespace-libs): Use $(linknamespace-libs-isoc).
16004         (linknamespace-libs-ISO): New variable.
16005         (linknamespace-libs-ISO99): Likewise.
16006         (linknamespace-libs-ISO11): Likewise.
16007         (linknamespace-libs-XPG3): Likewise.
16008         (linknamespace-libs-XPG4): Likewise.
16009         (linknamespace-libs-POSIX): Likewise.
16010         (linknamespace-libs-UNIX98): Likewise.
16011         (linknamespace-libs-XOPEN2K): Likewise.
16012         (linknamespace-libs-POSIX2008): Likewise.
16013         (linknamespace-libs-XOPEN2K8): Likewise.
16014         ($(objpfx)symlist-stdlibs): Replace by
16015         $(linknamespace-symlist-stdlibs-tests).  Use
16016         $(linknamespace-libs-$*) as set of libraries.
16017         ($(linknamespace-header-tests)): Update dependencies.  Use
16018         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
16019         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
16020         * conform/linknamespace.pl: Remove comment about considering
16021         definitions of symbols from irrelevant libraries.
16023 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
16025         [BZ #13862]
16026         * elf/dl-tls.c: Include <atomic.h>.
16027         (oom): Remove #ifdef SHARED/#endif.
16028         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
16029         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
16030         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
16031         big enough.
16032         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
16033         * nptl/Makefile (tests): Add tst-stack4.
16034         (modules-names): Add tst-stack4mod.
16035         ($(objpfx)tst-stack4): New.
16036         (tst-stack4mod.sos): Likewise.
16037         ($(objpfx)tst-stack4.out): Likewise.
16038         ($(tst-stack4mod.sos)): Likewise.
16039         (clean): Likewise.
16040         * nptl/tst-stack4.c: New file.
16041         * nptl/tst-stack4mod.c: Likewise.
16043 2014-11-27  J. Brown  <jb999@gmx.de>
16045         * sysdeps/x86/bits/string.h: Add recent CPUs.
16047 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
16049         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
16050         sigblock.
16052         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
16053         feof.
16055         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
16056         variable.
16058 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
16060         * nscd/connections.c: Include libc-internal.h because of macro
16061         usage ignore_value.
16063 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16065         * string/bits/string3.h (__warn_memset_zero_len): Don't
16066         declare for gcc newer than 5.0.
16067         (memset): Don't test for zero-length __LEN for gcc newer than
16068         5.0.
16070 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
16072         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
16073         size_t for %zu format.
16075         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
16076         difference, not %ju.
16078 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
16080         * include/libc-internal.h (ignore_value): New macro.
16081         * nscd/connections.c (restart): Wrap calls to setuid and setgid
16082         with ignore_value.
16084         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
16085         definition.
16087         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
16088         pthread_cleanup_push to void *.
16090         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
16091         Undefine.
16093         [BZ #16619]
16094         [BZ #16740]
16095         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
16096         instead of 1L << 52.
16098         * libio/bug-rewind.c (do_test): Check fwscanf return values.
16099         * libio/bug-rewind2.c (do_test): Likewise.
16101         * debug/test-stpcpy_chk-ifunc.c: Remove file.
16102         * debug/test-strcpy_chk-ifunc.c: Likewise.
16103         * wcsmbs/test-wcschr-ifunc.c: Likewise.
16104         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16105         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16106         * wcsmbs/test-wcslen-ifunc.c: Likewise.
16107         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16108         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16109         * Rules [$(multi-arch) = no] (tests): Do not filter out
16110         $(tests-ifunc).
16111         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
16112         * debug/Makefile (tests-ifunc): Remove variable.
16113         (tests): Do not add $(tests-ifunc).
16114         * wcsmbs/Makefile (tests-ifunc): Remove variable.
16115         (tests): Do not add $(tests-ifunc).
16116         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
16117         [TEST_IFUNC]: Remove conditionals.
16118         * string/test-string.h (TEST_IFUNC): Remove macro.
16119         [TEST_IFUNC]: Remove conditionals.
16121         * string/test-strchr.c [!WIDE] (L): New macro.
16122         [WIDE] (L): Likewise.
16123         (check1): Use CHAR instead of char.  Use L on string and character
16124         constants.
16126 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
16128         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
16129         tests.
16130         * sysdeps/powerpc/bits/atomic.h
16131         (__arch_atomic_exchange_and_add_32_acq): Add definition.
16132         (__arch_atomic_exchange_and_add_32_rel): Likewise.
16133         (atomic_exchange_and_add_acq): Likewise.
16134         (atomic_exchange_and_add_rel): Likewise.
16135         * sysdeps/powerpc/powerpc32/bits/atomic.h
16136         (__arch_atomic_exchange_and_add_64_acq): Add definition.
16137         (__arch_atomic_exchange_and_add_64_rel): Likewise.
16138         * sysdeps/powerpc/powerpc64/bits/atomic.h
16139         (__arch_atomic_exchange_and_add_64_acq): Add definition.
16140         (__arch_atomic_exchange_and_add_64_rel): Likewise.
16142 2014-11-26  Torvald Riegel  <triegel@redhat.com>
16144         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
16145         Change synchronization of __sched_fifo_min_prio and
16146         __sched_fifo_max_prio.
16147         * nptl/pthread_mutexattr_getprioceiling.c
16148         (pthread_mutexattr_getprioceiling): Likewise.
16149         * nptl/pthread_mutexattr_setprioceiling.c
16150         (pthread_mutexattr_setprioceiling): Likewise.
16151         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
16152         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
16153         Likewise.
16155 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
16157         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
16158         void.
16160 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
16162         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
16163         third argument const.
16165 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
16167         fnmatch: work around GCC compiler warning bug with uninit var
16168         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
16169         This works around a bug with x86-64 GCC 4.9.2 and earlier
16170         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
16171         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
16172         used uninitialized in this function [-Wmaybe-uninitialized]".
16174 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
16176         * posix/bug-regex31.c (main): Return RES not 0.
16178 2014-11-25  Anton Blanchard <anton@samba.org>
16180         * sysdeps/powerpc/bits/atomic.h
16181         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
16183 2014-11-24  Sterling Augustine  <saugustine@google.com>
16185         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
16187 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
16189         [BZ #17608]
16190         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
16192 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
16194         [BZ #17633]
16195         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
16196         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
16197         variable.
16198         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
16199         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
16201 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
16203         * string/strncpy.c (strncpy): Improve performance by using memset.
16205 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
16207         * string/strcpy.c (strcpy):
16208         Improve performance by using strlen and memcpy.
16210 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
16212         * string/strcoll_l.c (get_next_seq): __always_inline.
16213         * string/strcoll_l.c (do_compare): __always_inline.
16215 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16217         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
16218         defined.
16219         * include/mqueue.h: Likewise.
16220         * include/stdlib.h: Likewise.
16222         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
16223         (get_null_defines): Adjust.
16224         * sunrpc/Makefile: Adjust comment.
16225         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
16226         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
16227         (CFLAGS-interp.c): Likewise.
16228         (CFLAGS-ldconfig.c): Likewise.
16229         (CPPFLAGS-.os): Likewise.
16230         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16231         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
16232         * extra-modules.mk (extra-modules.mk): Likewise.
16233         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
16234         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
16235         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
16236         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
16237         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
16238         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
16239         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
16240         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
16241         * iconvdata/Makefile (CPPFLAGS): Likewise.
16242         (cpp-srcs-left): Add libof for all iconvdata routines.
16243         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
16244         * include/assert.h: Likewise.
16245         * include/ctype.h: Likewise.
16246         * include/errno.h: Likewise.
16247         * include/libc-symbols.h: Likewise.
16248         * include/math.h: Likewise.
16249         * include/netdb.h: Likewise.
16250         * include/resolv.h: Likewise.
16251         * include/stdio.h: Likewise.
16252         * include/stdlib.h: Likewise.
16253         * include/string.h: Likewise.
16254         * include/sys/stat.h: Likewise.
16255         * include/wctype.h: Likewise.
16256         * intl/l10nflist.c: Likewise.
16257         * libidn/idn-stub.c: Likewise.
16258         * libio/libioP.h: Likewise.
16259         * nptl/libc_multiple_threads.c: Likewise.
16260         * nptl/pthreadP.h: Likewise.
16261         * posix/regex_internal.h: Likewise.
16262         * resolv/res_hconf.c: Likewise.
16263         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
16264         * sysdeps/arm/memmove.S: Likewise.
16265         * sysdeps/arm/sysdep.h: Likewise.
16266         * sysdeps/generic/_itoa.h: Likewise.
16267         * sysdeps/generic/symbol-hacks.h: Likewise.
16268         * sysdeps/gnu/errlist.awk: Likewise.
16269         * sysdeps/gnu/errlist.c: Likewise.
16270         * sysdeps/i386/i586/memcpy.S: Likewise.
16271         * sysdeps/i386/i586/memset.S: Likewise.
16272         * sysdeps/i386/i686/memcpy.S: Likewise.
16273         * sysdeps/i386/i686/memmove.S: Likewise.
16274         * sysdeps/i386/i686/mempcpy.S: Likewise.
16275         * sysdeps/i386/i686/memset.S: Likewise.
16276         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16277         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16278         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
16279         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
16280         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16281         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16282         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
16283         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16284         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16285         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16286         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16287         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16288         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16289         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16290         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16291         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16292         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
16293         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
16294         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
16295         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16296         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16297         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16298         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16299         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16300         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16301         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16302         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
16303         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16304         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
16305         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16306         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16307         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16308         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16309         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16310         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16311         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16312         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16313         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16314         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16315         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16316         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16317         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16318         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16319         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16320         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16321         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16322         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
16323         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
16324         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16325         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
16326         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16327         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
16328         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
16329         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16330         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16331         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
16332         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16333         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
16334         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
16335         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16336         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16337         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16338         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
16339         * sysdeps/nptl/bits/libc-lock.h: Likewise.
16340         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
16341         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
16342         * sysdeps/posix/closedir.c: Likewise.
16343         * sysdeps/posix/opendir.c: Likewise.
16344         * sysdeps/posix/readdir.c: Likewise.
16345         * sysdeps/posix/rewinddir.c: Likewise.
16346         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
16347         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
16348         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16349         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16350         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16351         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
16352         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
16353         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
16354         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
16355         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
16356         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
16357         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
16358         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
16359         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
16360         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
16361         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
16362         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
16363         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
16364         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
16365         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
16366         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
16367         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
16368         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
16369         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
16370         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
16371         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
16372         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
16373         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
16374         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
16375         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
16376         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
16377         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
16378         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
16379         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
16380         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
16381         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
16382         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16383         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16384         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
16385         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
16386         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
16387         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
16388         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
16389         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
16390         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
16391         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
16392         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
16393         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
16394         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
16395         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
16396         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
16397         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
16398         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
16399         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
16400         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
16401         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
16402         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
16403         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
16404         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
16405         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
16406         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
16407         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
16408         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
16409         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
16410         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
16411         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
16412         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
16413         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
16414         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
16415         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
16416         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
16417         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
16418         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
16419         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
16420         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
16421         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
16422         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
16423         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
16424         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
16425         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
16426         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
16427         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
16428         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
16429         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
16430         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16431         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
16432         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
16433         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16434         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16435         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16436         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
16437         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
16438         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
16439         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16440         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16441         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
16442         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16443         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16444         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
16445         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
16446         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16447         * sysdeps/unix/alpha/sysdep.S: Likewise.
16448         * sysdeps/unix/alpha/sysdep.h: Likewise.
16449         * sysdeps/unix/make-syscalls.sh: Likewise.
16450         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
16451         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
16452         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
16453         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
16454         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
16455         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
16456         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
16457         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16458         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
16459         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
16460         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16461         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
16462         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16463         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
16464         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
16465         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16466         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16467         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
16468         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
16469         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
16470         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
16471         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16472         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
16473         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
16474         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
16475         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
16476         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
16478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
16479         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
16480         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16481         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
16482         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16483         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16484         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
16485         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
16486         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16487         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16488         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
16489         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
16490         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16491         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
16492         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16493         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16494         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16495         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
16496         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16497         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16498         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
16499         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16500         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16501         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
16502         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16503         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
16504         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
16505         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16506         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
16507         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16508         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
16509         * sysdeps/x86_64/memcpy.S: Likewise.
16510         * sysdeps/x86_64/memmove.c: Likewise.
16511         * sysdeps/x86_64/memset.S: Likewise.
16512         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
16513         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16514         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
16515         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
16516         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
16517         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16518         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16519         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16520         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16521         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16522         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16523         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16524         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
16525         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16526         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16527         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
16528         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16529         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16530         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16531         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16532         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
16533         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16534         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16535         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16536         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16537         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16538         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16539         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
16540         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16541         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16542         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
16543         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16544         * sysdeps/x86_64/strcmp.S: Likewise.
16546         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
16548         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
16549         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
16550         * elf/rtld-Rules: Likewise.
16551         * elf/setup-vdso.h: Likewise.
16552         * include/assert.h: Likewise.
16553         * include/bits/stdlib-float.h: Likewise.
16554         * include/errno.h: Likewise.
16555         * include/sys/stat.h: Likewise.
16556         * include/unistd.h: Likewise.
16557         * sysdeps/aarch64/setjmp.S: Likewise.
16558         * sysdeps/alpha/setjmp.S: Likewise.
16559         * sysdeps/arm/__longjmp.S: Likewise.
16560         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
16561         * sysdeps/arm/setjmp.S: Likewise.
16562         * sysdeps/arm/sysdep.h: Likewise.
16563         * sysdeps/generic/_itoa.h: Likewise.
16564         * sysdeps/generic/dl-sysdep.h: Likewise.
16565         * sysdeps/generic/ldsodefs.h: Likewise.
16566         * sysdeps/i386/dl-tls.h: Likewise.
16567         * sysdeps/i386/setjmp.S: Likewise.
16568         * sysdeps/m68k/setjmp.c: Likewise.
16569         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
16570         * sysdeps/mach/hurd/opendir.c: Likewise.
16571         * sysdeps/posix/getcwd.c: Likewise.
16572         * sysdeps/posix/opendir.c: Likewise.
16573         * sysdeps/posix/profil.c: Likewise.
16574         * sysdeps/powerpc/dl-procinfo.h: Likewise.
16575         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16576         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16577         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
16578         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16579         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
16580         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
16581         * sysdeps/s390/dl-tls.h: Likewise.
16582         * sysdeps/s390/s390-32/setjmp.S: Likewise.
16583         * sysdeps/s390/s390-64/setjmp.S: Likewise.
16584         * sysdeps/sh/sh3/setjmp.S: Likewise.
16585         * sysdeps/sh/sh4/setjmp.S: Likewise.
16586         * sysdeps/unix/alpha/sysdep.h: Likewise.
16587         * sysdeps/unix/arm/sysdep.S: Likewise.
16588         * sysdeps/unix/i386/sysdep.S: Likewise.
16589         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
16590         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
16591         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16592         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16593         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16594         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
16595         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
16596         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16597         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
16598         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
16599         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
16600         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16601         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16604         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16605         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16606         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16607         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16608         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16609         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16610         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16611         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16612         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16613         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16614         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16615         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16616         * sysdeps/unix/x86_64/sysdep.S: Likewise.
16617         * sysdeps/x86_64/setjmp.S: Likewise.
16619         * include/math.h: Use IS_IN instead of IS_IN_libm.
16620         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
16621         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16622         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
16623         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
16624         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16625         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
16626         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
16627         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16628         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16629         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
16630         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
16631         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
16632         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
16633         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
16634         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
16635         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
16636         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
16637         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
16638         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
16639         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
16640         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
16641         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
16642         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
16643         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
16644         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
16645         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
16646         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
16647         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
16648         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
16649         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
16650         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
16651         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16652         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
16654         Likewise.
16655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
16656         Likewise.
16657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
16658         Likewise.
16659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
16660         Likewise.
16661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
16662         Likewise.
16663         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16664         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
16665         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16666         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16667         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16668         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
16670         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
16671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
16672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
16673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
16674         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
16675         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
16676         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16677         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16678         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16679         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16680         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16681         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16682         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16683         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
16684         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
16685         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
16686         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
16687         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
16688         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16689         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
16691         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
16692         * nptl/pthreadP.h: Likewise.
16693         * nptl_db/structs.def: Likewise.
16694         * sysdeps/arm/sysdep.h: Likewise.
16695         * sysdeps/nptl/bits/libc-lock.h: Likewise.
16696         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
16697         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
16698         * sysdeps/unix/alpha/sysdep.h: Likewise.
16699         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
16700         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
16701         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
16702         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
16703         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
16704         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
16705         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16706         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
16707         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16708         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
16709         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
16710         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
16711         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
16712         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
16713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
16714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
16715         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
16716         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
16717         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
16718         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
16719         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
16720         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
16721         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
16722         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
16723         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
16724         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
16726         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
16727         * nptl/pthreadP.h: Likewise.
16728         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
16729         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
16730         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
16731         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
16732         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
16733         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
16734         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16735         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
16736         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
16737         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
16738         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
16739         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
16740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
16741         Likewise.
16742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
16743         Likewise.
16744         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
16745         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
16746         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
16747         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
16748         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
16749         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
16750         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
16751         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
16753         * dlfcn/dladdr.c: Use IS_IN.
16754         * dlfcn/dladdr1.c: Likewise.
16755         * dlfcn/dlclose.c: Likewise.
16756         * dlfcn/dlerror.c: Likewise.
16757         * dlfcn/dlinfo.c: Likewise.
16758         * dlfcn/dlmopen.c: Likewise.
16759         * dlfcn/dlopen.c: Likewise.
16760         * dlfcn/dlsym.c: Likewise.
16761         * dlfcn/dlvsym.c: Likewise.
16763         * include/ifaddrs.h: Use IS_IN.
16764         * inet/check_pf.c: Likewise.
16765         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16766         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
16768         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
16769         IS_IN_ldconfig.
16770         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
16771         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
16773         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
16774         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
16775         IS_IN (libc).
16777         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
16779         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
16780         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16781         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
16782         * include/libc-symbols.h (IS_IN_LIB): New macro.
16783         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
16784         * include/netdb.h: Likewise.
16785         * include/stap-probe.h: Remove all uses of IN_LIB.
16787         * Makeconfig (module-cppflags-real): Define MODULE_NAME
16788         instead of IN_MODULE.
16789         * include/libc-symbols.h (IN_MODULE): Define using
16790         MODULE_NAME.
16791         (PASTE_NAME, PASTE_NAME1): New macros.
16792         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
16793         of IN_LIB.
16794         (STAP_PROBE_ASM): Likewise.
16796 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16798         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
16799         __mach_init in dlopened libc.
16801 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
16803         * sysdeps/arm/preconfigure.ac: Delete EABI check.
16804         * sysdeps/arm/preconfigure: Regenerate.
16806 2014-11-21  Roland McGrath  <roland@hack.frob.com>
16808         * nptl/pthread_create.c (__pthread_create_2_1): Set
16809         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
16810         when copying values from IATTR into PD.
16812 2014-11-21  Will Newton  <will.newton@linaro.org>
16813             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
16815         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
16816         Refactor inline-asm.  Also add comment.
16818         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
16819         ElfW macro instead of hardcoded Elf64 types.
16820         (la_aarch64_gnu_pltenter): Likewise.
16821         * sysdeps/aarch64/dl-machine.h
16822         (elf_machine_runtime_setup): Use ElfW(Addr).
16824         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
16825         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
16826         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
16827         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
16828         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
16829         (R_AARCH64_TLS_DTPMOD64): Rename to ..
16830         (R_AARCH64_TLS_DTPMOD): This.
16831         (R_AARCH64_TLS_DTPREL64): Rename to ...
16832         (R_AARCH64_TLS_DTPREL): This.
16833         (R_AARCH64_TLS_TPREL64): Rename to ...
16834         (R_AARCH64_TLS_TPREL): This.
16835         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
16836         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
16837         R_AARCH64_TLS_TPREL64.
16838         (elf_machine_rela): Likewise.
16840 2014-11-21  Torvald Riegel  <triegel@redhat.com>
16842         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
16843         by setting it to 0.  64b atomics are not supported currently.
16845 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16847         [BZ #16469]
16848         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
16849         search domain names.
16851 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16853         [BZ #16469]
16854         * NEWS: Update.
16855         * resolv/res_query.c (__libc_res_nquerydomain): Retain
16856         trailing dot.
16857         * posix/tst-getaddrinfo5.c: New.
16858         * posix/Makefile (tests): Add it.
16860 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16862         [BZ #14498]
16863         * NEWS: Fixed.
16864         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
16865         after parsing line but before break_if_match.
16866         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
16867         if there is a protocol mismatch.
16869 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
16871         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
16872         because the potential race is on the user-supplied stream.
16874 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16876         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
16877         string literal if not passed a buffer.
16878         * manual/job.texi (ctermid): Update reasoning, note deviation
16879         from posix, suggest mtasurace when not passed a buffer, for
16880         future non-preliminary safety notes.
16882 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16884         * manual/users.texi (cuserid): Fix MT-Safety note for the case
16885         of not passing it a buffer.
16886         Reported by Peng Haitao.
16888 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
16890         * manual/Makefile ($(objpfx)stamp-summary): Require
16891         check-safety.sh to pass.
16892         * manual/check-safety.sh: Wish for verification that every
16893         @deftypefn and @deftypefun is followed by a @safety remark.
16895 2014-11-20  Roland McGrath  <roland@hack.frob.com>
16897         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
16899         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
16900         PTHREAD_CANCEL_ASYNCHRONOUS.
16901         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
16902         send SIGCANCEL.
16904         * nptl/default-sched.h: New file.
16905         * sysdeps/unix/sysv/linux/default-sched.h: New file.
16906         * nptl/pthread_create.c: Include it.
16907         (__pthread_create_2_1): Use collect_default_sched instead of making
16908         Linux syscalls here directly.
16910 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16912         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
16913         __pthread_once): Use C11 atomics.
16915 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16917         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
16919 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16921         * include/atomic.h (__atomic_link_error, __atomic_check_size,
16922         atomic_thread_fence_acquire, atomic_thread_fence_release,
16923         atomic_thread_fence_seq_cst, atomic_load_relaxed,
16924         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
16925         atomic_compare_exchange_weak_relaxed,
16926         atomic_compare_exchange_weak_acquire,
16927         atomic_compare_exchange_weak_release,
16928         atomic_exchange_acquire, atomic_exchange_release,
16929         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
16930         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
16931         atomic_fetch_and_acquire,
16932         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
16934 2014-11-20  Torvald Riegel  <triegel@redhat.com>
16936         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
16937         USE_ATOMIC_COMPILER_BUILTINS): Define.
16938         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
16939         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16940         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
16941         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16942         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
16943         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16944         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
16945         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16946         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
16947         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16948         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
16949         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16950         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
16951         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16952         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
16953         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16954         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
16955         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16956         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
16957         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16958         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
16959         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16960         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
16961         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16962         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
16963         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16964         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
16965         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16966         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
16967         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16968         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
16969         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16970         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
16971         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16972         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
16973         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16974         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
16975         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16976         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
16977         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
16979 2014-11-19  Roland McGrath  <roland@hack.frob.com>
16981         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
16982         the sched_priority value here.  It was already checked when the user
16983         called pthread_attr_setschedparam.
16985         * nptl/tst-bad-schedattr.c: New file.
16986         * nptl/Makefile (tests): Add it.
16988 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
16989             Florian Weimer  <fweimer@redhat.com>
16990             Joseph Myers  <joseph@codesourcery.com>
16991             Adam Conrad  <adconrad@0c3.net>
16992             Andreas Schwab  <schwab@suse.de>
16993             Brooks  <bmoses@google.com>
16995         [BZ #17625]
16996         * wordexp-test.c (__dso_handle): Add prototype.
16997         (__register_atfork): Likewise.
16998         (__app_register_atfork): New function.
16999         (registered_forks): New global.
17000         (register_fork): New function.
17001         (test_case): Add 3 new tests for WRDE_CMDSUB.
17002         (main): Call __app_register_atfork.
17003         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
17004         fork count is non-zero fail the test.
17005         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
17006         is set.
17007         (parse_dollars): Remove check for WRDE_NOCMD.
17008         (parse_dquote): Likewise.
17010 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17012         * Makeconfig (built-modules): List non-library modules to be
17013         built.
17014         (module-cppflags): Include libc-modules.h for
17015         everything except shlib-versions.v.i.
17016         (CPPFLAGS): Use it.
17017         (before-compile): Add libc-modules.h.
17018         ($(common-objpfx)libc-modules.h,
17019         $(common-objpfx)libc-modules.stmp): New targets.
17020         (common-generated): Add libc-modules.h and libc-modules.stmp.
17021         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
17022         * include/libc-symbols.h: Don't include libc-modules.h.
17023         * include/libc-modules.h: Remove file.
17024         * scripts/gen-libc-modules.awk: New script to generate
17025         libc-modules.h.
17026         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
17027         Depend on libc-modules.stmp.
17029         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
17031         * Makeconfig (in-module): Get value of libof set for the
17032         translation unit.
17033         (CPPFLAGS): Use $(in-module).
17034         * Makerules: Don't suffix routine names for nonlib.
17035         * include/libc-modules.h: New file.
17036         * include/libc-symbols.h: Include libc-modules.h
17037         (IS_IN): New macro to replace IS_IN_* macros.
17038         * elf/Makefile: Set libof-* for each routine.
17039         * elf/rtld-Rules: Likewise.
17040         * extra-modules.mk: Likewise.
17041         * iconv/Makefile: Likewise.
17042         * iconvdata/Makefile: Likewise.
17043         * locale/Makefile: Likewise.
17044         * malloc/Makefile: Likewise.
17045         * nss/Makefile: Likewise.
17046         * sysdeps/gnu/Makefile: Likewise.
17047         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
17048         * sysdeps/unix/sysv/linux/Makefile: Likewise.
17049         * sysdeps/s390/s390-64/Makefile: Likewise.
17050         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
17051         CPPFLAGS for nscd instead of nonlib.
17053 2014-11-18  Roland McGrath  <roland@hack.frob.com>
17055         * nptl/createthread.c: New file.
17057         * nptl/createthread.c: Moved ...
17058         * sysdeps/unix/sysv/linux/createthread.c: ... here.
17060         * nptl/createthread.c: Add proper top-line comment.
17061         (do_clone): Folded into ...
17062         (create_thread): ... here.  Take new arguments STOPPED_START and
17063         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
17064         increment __nptl_threads, do event-reporting logic, do
17065         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
17066         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
17067         resource cleanup if sched_setaffinity or sched_setscheduler fails,
17068         just send SIGCANCEL.
17069         * nptl/pthread_create.c: Forward-declare create_thread before
17070         including createthread.c.
17071         (start_thread): Use new macro START_THREAD_DEFN to replace defining
17072         declaration, and new macro START_THREAD_SELF to replace argument.
17073         Remove return statement.
17074         (report_thread_creation): New function.
17075         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
17076         synchronization logic, and __nptl_nthreads increment here, around
17077         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
17078         PD->parent_cancelhandling here, before create_thread.  When
17079         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
17080         __deallocate_stack, and ENOMEM translation here.
17082 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
17084         [BZ #17616]
17085         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
17086         (mptwo): Rename to __mptwo.
17087         (__inv): Use __mptwo instead of mptwo.
17088         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
17089         (mptwo): Rename to __mptwo.
17090         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
17091         of mpone and __mptwo instead of mptwo.
17092         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
17093         instead of mpone.
17094         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17095         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
17096         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
17097         of mpone and __mptwo instead of mptwo.
17098         (__mpranred): Use __mpone instead of mpone.
17099         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
17100         variable.
17101         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
17102         (test-xfail-ISO99/math.h/linknamespace): Likewise.
17103         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
17104         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
17105         (test-xfail-ISO11/math.h/linknamespace): Likewise.
17106         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
17107         (test-xfail-XPG3/math.h/linknamespace): Likewise.
17108         (test-xfail-XPG4/math.h/linknamespace): Likewise.
17109         (test-xfail-POSIX/math.h/linknamespace): Likewise.
17110         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
17111         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
17112         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
17113         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
17114         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
17115         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
17116         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
17117         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
17118         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
17119         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
17121 2014-11-18  Tom de Vries  <tom@codesoucery.com>
17123         * manual/signal.texi (Primitives Interrupted by Signals): In section,
17124         replace BSD Handler xref with BSD Signal Handling.
17126 2014-11-17  Richard Henderson  <rth@redhat.com>
17128         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
17129         (_FP_PACK_RAW_2): Remove.
17130         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
17131         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
17132         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
17133         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
17134         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
17135         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
17136         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
17137         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
17138         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
17139         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
17140         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
17141         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
17142         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
17143         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
17144         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
17145         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
17147 2014-11-14  Roland McGrath  <roland@hack.frob.com>
17149         * signal/signal.h [__USE_MISC]
17150         (struct sigvec): Remove type.
17151         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
17152         (sigvec): Remove declaration.
17153         * sysdeps/posix/sigvec.c: Moved ...
17154         * signal/sigvec.c: ... here, replacing old file.
17155         (struct sigvec): New type, copied from old signal.h definition.
17156         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
17157         (__sigvec): Convert definition to prototype.
17158         (sigvec): Replace weak_alias with compat_symbol.
17159         * signal/Versions (libc: GLIBC_2.21): New version set.
17160         * include/signal.h: Remove __sigvec declaration.
17161         * sysdeps/unix/bsd/sigvec.c: Remove file.
17162         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
17163         * manual/signal.texi (BSD Handler): Remove subsection.
17164         Move siginterrupt up to ...
17165         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
17166         (Blocking in BSD): Fold subsection into its parent.
17167         * NEWS: Mention sigvec removal.
17169 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
17171         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
17172         (DLA_FMS): Make definition conditional only on [__FMA4__].
17173         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
17174         definition.
17176         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
17177         Make definition conditional only on [PROF].
17178         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
17179         definition.
17180         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
17181         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
17183         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
17184         !__GNUC__].
17185         * include/signal.h (__sigpause): Move declaration above call to
17186         libc_hidden_proto.
17187         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
17188         variable.
17189         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
17190         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
17192 2014-11-14  David S. Miller  <davem@davemloft.net>
17194         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
17195         Define before including <string/memcpy.c> and <string/mempcpy.c>.
17197 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
17199         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
17200         * configure: Regenerated.
17201         * manual/install.texi (Tools for Compilation): Document a
17202         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
17203         compiler verified to work.
17204         * INSTALL: Regenerated.
17206         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
17207         redeclare with asm name.
17208         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
17209         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
17210         including <string.h>.
17211         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
17212         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
17213         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
17214         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
17215         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
17216         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17217         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
17219 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
17221         * stdlib/strtol.c (__strtol): Use prototype definition.
17223         [BZ #17594]
17224         * stdlib/strtol.c (SYM__): New macro.
17225         (SYM__1): Likewise.
17226         (__strtol): Likewise.
17227         (strtol): Rename to __strtol and define as weak alias of
17228         __strtol.  Use libc_hidden_weak.
17230 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17232         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
17233         Use numbered labels in inline assembly.
17235 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17237         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
17238         Add setjmp LIBC_PROBE.
17239         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
17240         Likewise.
17241         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
17242         Add longjmp, longjmp_target LIBC_PROBE.
17243         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
17244         Likewise.
17246 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17248         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17249         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
17250         to get rid of unused variable warning.
17252 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17254         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
17255         Check for unwind_backtrace ==  NULL only in SHARED case.
17256         (__backchain_backtrace): Compile only in SHARED case.
17257         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
17258         Likewise.
17259         (__backchain_backtrace): Declare as static.
17261 2014-11-12  Roland McGrath  <roland@hack.frob.com>
17263         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
17264         (__libc_multiple_threads_ptr): Variable moved ...
17265         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
17267 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
17269         * conform/GlibcConform.pm: New file.
17270         * conform/conformtest.pl: Use GlibcConform module.
17271         * conform/linknamespace.pl: New file.
17272         * conform/list-header-symbols.pl: Likewise.
17273         * conform/Makefile (linknamespace-symlists-base): New variable.
17274         (linknamespace-symlists-tests): Likewise.
17275         (linknamespace-header-base): Likewise.
17276         (linknamespace-header-tests): Likewise.
17277         (tests-special): Add new tests.
17278         ($(linknamespace-symlists-tests)): New rule.
17279         (linknamespace-libs): New variable.
17280         ($(objpfx)symlist-stdlibs): New rule.
17281         ($(linknamespace-header-tests)): Likewise.
17282         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
17283         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
17284         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
17285         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
17286         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
17287         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
17288         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
17289         (test-xfail-ISO/math.h/linknamespace): Likewise.
17290         (test-xfail-ISO/signal.h/linknamespace): Likewise.
17291         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
17292         (test-xfail-ISO/time.h/linknamespace): Likewise.
17293         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
17294         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
17295         (test-xfail-ISO99/math.h/linknamespace): Likewise.
17296         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
17297         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
17298         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
17299         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
17300         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
17301         (test-xfail-ISO11/math.h/linknamespace): Likewise.
17302         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
17303         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
17304         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
17305         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
17306         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
17307         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
17308         (test-xfail-XPG3/math.h/linknamespace): Likewise.
17309         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
17310         (test-xfail-XPG3/search.h/linknamespace): Likewise.
17311         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
17312         (test-xfail-XPG3/time.h/linknamespace): Likewise.
17313         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
17314         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
17315         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
17316         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
17317         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
17318         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
17319         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
17320         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
17321         (test-xfail-XPG4/math.h/linknamespace): Likewise.
17322         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
17323         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
17324         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
17325         (test-xfail-XPG4/search.h/linknamespace): Likewise.
17326         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
17327         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
17328         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
17329         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
17330         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
17331         (test-xfail-XPG4/time.h/linknamespace): Likewise.
17332         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
17333         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
17334         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
17335         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
17336         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
17337         (test-xfail-POSIX/math.h/linknamespace): Likewise.
17338         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
17339         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
17340         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
17341         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
17342         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
17343         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
17344         (test-xfail-POSIX/time.h/linknamespace): Likewise.
17345         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
17346         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
17347         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
17348         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
17349         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
17350         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
17351         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
17352         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
17353         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
17354         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
17355         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
17356         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
17357         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
17358         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
17359         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
17360         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
17361         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
17362         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
17363         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
17364         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
17365         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
17366         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
17367         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
17368         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
17369         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
17370         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
17371         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
17372         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
17373         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
17374         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
17375         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
17376         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
17377         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
17378         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
17379         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
17380         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
17381         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
17382         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
17383         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
17384         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
17385         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
17386         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
17387         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
17388         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
17389         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
17390         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
17391         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
17392         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
17393         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
17394         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
17395         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
17396         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
17397         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
17398         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
17399         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
17400         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
17401         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
17402         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
17403         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
17404         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
17405         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
17406         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
17407         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
17408         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
17409         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
17410         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
17411         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
17412         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
17413         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
17414         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
17415         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
17416         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
17417         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
17418         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
17419         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
17420         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
17421         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
17422         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
17423         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
17424         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
17425         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
17426         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
17427         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
17428         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
17429         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
17430         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
17431         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
17432         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
17433         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
17434         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
17435         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
17436         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
17437         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
17438         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
17439         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
17440         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
17441         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
17442         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
17444         [BZ #17589]
17445         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
17446         of fgets_unlocked.
17448         [BZ #17585]
17449         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
17450         (memmem): Rename to __memmem and define as weak alias of
17451         __memmem.  Use libc_hidden_weak.
17452         (__memmem): Use libc_hidden_def.
17453         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
17454         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
17455         memmem.
17457         [BZ #17582]
17458         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
17459         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
17460         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
17461         and define as weak alias of __fgets_unlocked.  Use
17462         libc_hidden_weak.
17463         (__fgets_unlocked): Use libc_hidden_def.
17464         * include/stdio.h (__fgets_unlocked): Declare.  Use
17465         libc_hidden_proto.
17466         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
17467         __fgets_unlocked instead of fgets_unlocked.
17468         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
17469         (GET_NPROCS_CONF_PARSER): Likewise.
17470         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
17471         (GET_NPROCS_CONF_PARSER): Likewise.
17473         [BZ #17574]
17474         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
17475         weak alias of __wmemset.  Use libc_hidden_weak.
17476         (__wmemset): Use libc_hidden_def.
17477         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
17478         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
17479         of wmemset.
17481         [BZ #17573]
17482         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
17483         with asm name __mempcpy.
17484         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
17486         [BZ #17572]
17487         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
17488         and define as weak alias of __rawmemchr.
17489         (__rawmemchr): Do not define as strong alias of rawmemchr.
17491         [BZ #17571]
17492         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
17493         alias of __qsort_r.
17494         (qsort): Call __qsort_r instead of qsort_r.
17495         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
17496         (__qsort_r): Declare.  Call libc_hidden_proto.
17497         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
17498         instead of qsort_r.
17499         * nscd/gai.c (__qsort_r): Define to qsort_r.
17500         * posix/tst-rfc3484.c (__qsort_r): Likewise.
17501         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
17502         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
17504         [BZ #17570]
17505         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
17506         define as weak alias of __malloc_info.
17508         [BZ #17584]
17509         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
17510         as weak alias of __rewinddir.  Don't use libc_hidden_def.
17511         (__rewinddir): Use libc_hidden_def.
17512         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
17513         as weak alias of __rewinddir.  Don't use libc_hidden_def.
17514         (__rewinddir): Use libc_hidden_def.
17515         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
17516         weak alias of __rewinddir.  Don't use libc_hidden_def.
17517         (__rewinddir): Use libc_hidden_def.
17518         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
17519         (__rewinddir): Use libc_hidden_proto.
17520         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
17521         rewinddir.
17522         (__getcwd): Use __rewinddir instead of rewinddir.
17524         [BZ #17583]
17525         * libio/fileno.c (fileno): Rename to __fileno and define as weak
17526         alias of __fileno.  Use libc_hidden_weak.
17527         (__fileno): Use libc_hidden_def.
17528         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
17529         * libio/ftello.c (ftello): Rename to __ftello and define as weak
17530         alias of __ftello.
17531         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
17532         __ftello.
17533         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
17534         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
17535         libc_hidden_def.
17536         (fread_unlocked): Don't use libc_hidden_ver.
17537         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
17538         and define as weak alias of __fread_unlocked.  Don't use
17539         libc_hidden_def.
17540         (__fread_unlocked): Use libc_hidden_def.
17541         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
17542         (ftello): Don't use libc_hidden_proto.
17543         (__ftello): Declare.  Use libc_hidden_proto.
17544         (fread_unlocked): Don't use libc_hidden_proto.
17545         (__fread_unlocked): Declare.  Use libc_hidden_proto.
17546         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
17547         and __ftello instead of fileno, fread_unlocked and ftello.
17549 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17551         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
17552         GOT12.
17553         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
17554         Likewise.
17555         (_dl_start_user): Likewise.
17556         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
17558 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
17559             Siddhesh Poyarekar  <siddhesh@redhat.com>
17561         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
17562         Move argv and envp down instead of moving argc up.
17563         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
17565 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
17567         [BZ #17506]
17568         * test-skeleton.c (main): Return successful if one of
17569         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
17570         * string/tst-strcoll-overflow.c: Define expected status.
17572 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
17574         [BZ #17475]
17575         * locale/iso-639.def: Define Bhili and Tulu language codes.
17577 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
17579         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
17581 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
17583         [BZ #17555]
17584         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
17586 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
17588         * configure.ac: Updated check of minimal required version to
17589         2.22.
17590         * manual/install.texi (Tools for Compilation): Updated version
17591         number.
17592         * configure: Regenerated.
17593         * INSTALL: Likewise.
17595 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
17597         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
17598         __tls_get_addr.
17600 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
17602         * include/sys/wait.h (__libc_waitpid): Remove declaration.
17603         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
17604         (__waitpid): Don't define as alias.  Use libc_hidden_def not
17605         libc_hidden_weak.
17606         (waitpid): Define as alias of __waitpid.
17607         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
17608         __waitpid.
17609         (__waitpid): Don't define as alias.  Use libc_hidden_def not
17610         libc_hidden_weak.
17611         (waitpid): Define as alias of __waitpid.
17612         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
17613         __libc_waitpid alias.
17614         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
17615         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
17616         Likewise.
17617         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
17618         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
17619         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
17620         alias.
17621         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
17622         __waitpid.
17623         (__waitpid): Don't define as alias.  Use libc_hidden_def not
17624         libc_hidden_weak.
17625         (waitpid): Define as alias of __waitpid.
17627 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
17629         * manual/llio.texi: Add comment that write safety has been
17630         fixed in Linux.
17632         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
17633         (localplt-build-dso): Add elf/ld.so.
17634         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
17635         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
17636         and free for ld.so.
17637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
17638         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
17639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
17640         Likewise.
17641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
17642         Likewise.
17643         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
17644         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
17645         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
17646         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
17647         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
17648         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
17649         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
17650         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
17651         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
17652         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
17653         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
17655 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
17657         [BZ #14132]
17658         * include/libc-symbols.h (INTUSE): Remove macro.
17659         (INTDEF): Likewise.
17660         (INTVARDEF): Likewise.
17661         (_INTVARDEF): Likewise.
17662         (INTDEF2): Likewise.
17663         (INTVARDEF2): Likewise.
17664         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
17665         rtld_hidden_def instead of INTVARDEF.
17666         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
17667         (_dl_starting_up_internal): Remove declaration.
17668         (_dl_starting_up): Use rtld_hidden_proto.
17669         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
17670         declaration.
17671         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
17672         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
17673         _dl_starting_up.
17674         * elf/dl-writev.h (_dl_writev): Likewise.
17675         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
17676         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
17677         _dl_starting_up_internal.
17679 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17681         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
17682         test-skeleton.c.
17684 2014-11-05  Will Newton  <will.newton@linaro.org>
17686         * benchtests/Makefile: (bench-malloc): Add malloc thread
17687         scalability benchmark.
17688         * benchtests/bench-malloc-threads.c: New file.
17690 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
17692         * sysdeps/aarch64/strchrnul.S: New file.
17694 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17696         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
17697         definition.
17698         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
17699         Likwise.
17700         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
17701         Likewise.
17702         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
17703         Likewise.
17704         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
17705         Likewise.
17706         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
17707         Likewise.
17709 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
17711         * catgets/test-gencat.c: Use test-skeleton.c.
17712         * catgets/tst-catgets.c: Likewise.
17713         * csu/tst-empty.c: Likewise.
17714         * elf/tst-audit2.c: Likewise.
17715         * elf/tst-global1.c: Likewise.
17716         * elf/tst-pathopt.c: Likewise.
17717         * elf/tst-piemod1.c: Likewise.
17718         * elf/tst-tls10.c: Likewise.
17719         * elf/tst-tls11.c: Likewise.
17720         * elf/tst-tls12.c: Likewise.
17721         * gnulib/tst-gcc.c: Likewise.
17722         * iconvdata/tst-e2big.c: Likewise.
17723         * iconvdata/tst-loading.c: Likewise.
17724         * iconv/tst-iconv1.c: Likewise.
17725         * iconv/tst-iconv2.c: Likewise.
17726         * inet/test-inet6_opt.c: Likewise.
17727         * inet/tst-gethnm.c: Likewise.
17728         * inet/tst-network.c: Likewise.
17729         * inet/tst-ntoa.c: Likewise.
17730         * intl/tst-codeset.c: Likewise.
17731         * intl/tst-gettext2.c: Likewise.
17732         * intl/tst-gettext3.c: Likewise.
17733         * intl/tst-ngettext.c: Likewise.
17734         * intl/tst-translit.c: Likewise.
17735         * io/test-stat.c: Likewise.
17736         * libio/test-fmemopen.c: Likewise.
17737         * libio/tst-freopen.c: Likewise.
17738         * libio/tst-sscanf.c: Likewise.
17739         * libio/tst-ungetwc1.c: Likewise.
17740         * libio/tst-ungetwc2.c: Likewise.
17741         * libio/tst-widetext.c: Likewise.
17742         * localedata/tst-ctype.c: Likewise.
17743         * localedata/tst-digits.c: Likewise.
17744         * localedata/tst-leaks.c: Likewise.
17745         * localedata/tst-mbswcs1.c: Likewise.
17746         * localedata/tst-mbswcs2.c: Likewise.
17747         * localedata/tst-mbswcs3.c: Likewise.
17748         * localedata/tst-mbswcs4.c: Likewise.
17749         * localedata/tst-mbswcs5.c: Likewise.
17750         * localedata/tst-setlocale.c: Likewise.
17751         * localedata/tst-trans.c: Likewise.
17752         * localedata/tst-wctype.c: Likewise.
17753         * localedata/tst-xlocale1.c: Likewise.
17754         * login/tst-grantpt.c: Likewise.
17755         * malloc/tst-calloc.c: Likewise.
17756         * malloc/tst-malloc.c: Likewise.
17757         * malloc/tst-mallocstate.c: Likewise.
17758         * malloc/tst-mcheck.c: Likewise.
17759         * malloc/tst-mtrace.c: Likewise.
17760         * malloc/tst-obstack.c: Likewise.
17761         * math/atest-exp2.c: Likewise.
17762         * math/atest-exp.c: Likewise.
17763         * math/atest-sincos.c: Likewise.
17764         * math/test-matherr.c: Likewise.
17765         * math/test-misc.c: Likewise.
17766         * math/test-powl.c: Likewise.
17767         * math/tst-definitions.c: Likewise.
17768         * misc/tst-dirname.c: Likewise.
17769         * misc/tst-efgcvt.c: Likewise.
17770         * misc/tst-fdset.c: Likewise.
17771         * misc/tst-hsearch.c: Likewise.
17772         * misc/tst-mntent2.c: Likewise.
17773         * nptl/tst-sem7.c: Likewise.
17774         * nptl/tst-sem8.c: Likewise.
17775         * nptl/tst-sem9.c: Likewise.
17776         * nss/test-netdb.c: Likewise.
17777         * posix/tst-fnmatch.c: Likewise.
17778         * posix/tst-getlogin.c: Likewise.
17779         * posix/tst-gnuglob.c: Likewise.
17780         * posix/tst-mmap.c: Likewise.
17781         * pwd/tst-getpw.c: Likewise.
17782         * resolv/tst-inet_ntop.c: Likewise.
17783         * rt/tst-timer.c: Likewise.
17784         * stdio-common/test-fseek.c: Likewise.
17785         * stdio-common/test-popen.c: Likewise.
17786         * stdio-common/test-vfprintf.c: Likewise.
17787         * stdio-common/tst-cookie.c: Likewise.
17788         * stdio-common/tst-fileno.c: Likewise.
17789         * stdio-common/tst-gets.c: Likewise.
17790         * stdio-common/tst-obprintf.c: Likewise.
17791         * stdio-common/tst-perror.c: Likewise.
17792         * stdio-common/tst-sprintf2.c: Likewise.
17793         * stdio-common/tst-sprintf3.c: Likewise.
17794         * stdio-common/tst-sprintf.c: Likewise.
17795         * stdio-common/tst-swprintf.c: Likewise.
17796         * stdio-common/tst-tmpnam.c: Likewise.
17797         * stdio-common/tst-unbputc.c: Likewise.
17798         * stdio-common/tst-wc-printf.c: Likewise.
17799         * stdlib/tst-environ.c: Likewise.
17800         * stdlib/tst-fmtmsg.c: Likewise.
17801         * stdlib/tst-limits.c: Likewise.
17802         * stdlib/tst-rand48-2.c: Likewise.
17803         * stdlib/tst-rand48.c: Likewise.
17804         * stdlib/tst-random2.c: Likewise.
17805         * stdlib/tst-random.c: Likewise.
17806         * stdlib/tst-strtol.c: Likewise.
17807         * stdlib/tst-strtoll.c: Likewise.
17808         * stdlib/tst-tls-atexit.c: Likewise.
17809         * stdlib/tst-xpg-basename.c: Likewise.
17810         * string/test-ffs.c: Likewise.
17811         * string/tst-bswap.c: Likewise.
17812         * string/tst-inlcall.c: Likewise.
17813         * string/tst-strtok.c: Likewise.
17814         * string/tst-strxfrm.c: Likewise.
17815         * sysdeps/x86_64/tst-audit10.c: Likewise.
17816         * sysdeps/x86_64/tst-audit3.c: Likewise.
17817         * sysdeps/x86_64/tst-audit4.c: Likewise.
17818         * sysdeps/x86_64/tst-audit5.c: Likewise.
17819         * time/tst-ftime_l.c: Likewise.
17820         * time/tst-getdate.c: Likewise.
17821         * time/tst-mktime3.c: Likewise.
17822         * time/tst-mktime.c: Likewise.
17823         * time/tst-posixtz.c: Likewise.
17824         * time/tst-strptime2.c: Likewise.
17825         * time/tst-strptime3.c: Likewise.
17826         * wcsmbs/tst-btowc.c: Likewise.
17827         * wcsmbs/tst-mbrtowc.c: Likewise.
17828         * wcsmbs/tst-mbsrtowcs.c: Likewise.
17829         * wcsmbs/tst-wchar-h.c: Likewise.
17830         * wcsmbs/tst-wcpncpy.c: Likewise.
17831         * wcsmbs/tst-wcrtomb.c: Likewise.
17832         * wcsmbs/tst-wcsnlen.c: Likewise.
17833         * wcsmbs/tst-wcstof.c: Likewise.
17835 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
17837         [BZ #14132]
17838         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
17839         INTDEF.
17840         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
17841         declaration.
17842         (_dl_mcount): Use rtld_hidden_proto.
17843         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
17844         _dl_mcount.
17845         * elf/rtld.c (_rtld_global_ro): Likewise.
17847         [BZ #14132]
17848         * elf/dl-init.c (_dl_init): Don't use INTDEF.
17849         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
17850         of _dl_init_internal.
17851         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
17852         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
17853         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
17854         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
17855         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
17856         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
17857         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
17858         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
17859         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
17860         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
17861         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
17862         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
17863         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
17864         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
17865         * sysdeps/tile/dl-start.S (_start): Likewise.
17866         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
17867         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
17869         [BZ #14132]
17870         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
17871         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
17872         (rtld_progname): Make macro definition unconditional.
17873         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
17874         INTDEF.
17875         (dlmopen_doit): Do not use INTUSE with _dl_argv.
17876         (dl_main): Likewise.
17877         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17878         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
17879         instead of _dl_argv_internal.
17880         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17881         __GI__dl_argv instead of INTUSE(_dl_argv).
17882         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
17883         __GI__dl_argv instead of _dl_argv_internal.
17885         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
17886         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
17887         macro.
17888         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
17889         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
17890         New macro.
17891         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
17892         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
17893         macro.
17894         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
17895         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
17897 2014-11-04  Andreas Schwab  <schwab@suse.de>
17899         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
17901 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17903         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
17904         mtvsrd instruction in binary form.
17906 2014-11-03  Andreas Schwab  <schwab@suse.de>
17908         [BZ #17522]
17909         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
17910         for less than MB_LEN_MAX use a local buffer of that size.
17911         * libio/tst-fputws.c: New file.
17912         * libio/Makefile (tests): Add tst-fputws.
17914 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
17916         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
17917         the size of the fpu_fr.fpu_dregs[] array.
17919 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
17921         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
17922         (__nanosleep): Do not define as alias.
17923         (nanosleep): Define as alias of __nanosleep.
17924         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
17925         __libc_nanosleep name.
17927 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
17929         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
17930         install.texi in comment.
17932 2014-10-31  Torvald Riegel  <triegel@redhat.com>
17934         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
17935         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
17936         ... add here and use lwsync or sync ...
17937         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
17938         ... and add here using lwsync.
17940 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
17942         * elf/dl-machine-reject-phdr.h: New file.
17943         * elf/dl-load.c: #include that.
17944         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
17945         if that returned true.
17947 2014-10-31  Roland McGrath  <roland@hack.frob.com>
17949         [BZ #17496]
17950         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
17951         gen-as-const-headers chunk.  Add a big scare comment after the last
17952         safe place to touch before-compile.
17954 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
17956         * manual/install.texi (Tools for Compilation): Update autoconf
17957         version requirements.
17958         * INSTALL: Regenerated.
17960         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
17961         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
17962         (__libc_pselect): Likewise.
17964         [BZ #14138]
17965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
17966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17970 2014-10-31  Torvald Riegel  <triegel@redhat.com>
17972         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
17973         correct barrier instruction.
17974         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
17975         Likewise.
17976         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
17977         Likewise.
17979 2014-10-30  Roland McGrath  <roland@hack.frob.com>
17981         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
17982         after defining inlines.  Instead, just use parens to defeat macro
17983         expansion of __isctype in its declaration.
17985 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
17987         * include/sys/uio.h (__libc_readv): Remove declaration.
17988         (__libc_writev): Likewise.
17989         * misc/readv.c (__libc_readv): Rename to __readv.
17990         (__readv): Do not define as alias.
17991         (readv): Define as alias of __readv.
17992         * misc/writev.c (__libc_writev): Rename to __writev.
17993         (__writev): Do not define as alias.
17994         (writev): Define as alias of __writev.
17995         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
17996         (__readv): Do not define as alias.
17997         (readv): Define unconditionally as alias of __readv.
17998         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
17999         (__writev): Do not define as alias.
18000         (writev): Define unconditionally as alias of __writev.
18001         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
18002         name.
18003         (writev): Do not define __libc_writev name.
18005 2014-10-30  Roland McGrath  <roland@hack.frob.com>
18007         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
18008         (convert_charseq): New function, broken out of ...
18009         (use_from_charmap): ... here.  Call it.
18010         (use_to_charmap): Use convert_charseq and free instead of duplicating
18011         its code with a variable-length stack struct.
18013 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
18015         * include/fcntl.h (__libc_creat): Remove declaration.
18016         * io/creat.c (__libc_creat): Rename to creat.
18017         (creat): Do not define as alias.
18018         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
18019         of creat instead of __libc_creat.
18020         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
18021         to creat.
18022         (creat): Do not define as alias.
18023         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
18024         __libc_creat.
18025         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
18026         __libc_creat name.
18027         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
18028         Likewise.
18030 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
18032         * manual/llio.texi: Add comments discussing why write() may be
18033         considered MT-unsafe on Linux.
18035 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
18037         * dl-load.c (local_strdup): Remove.
18038         (expand_dynamic_string_token): Use __strdup.
18039         (decompose_rpath): Likewise.
18040         (_dl_map_object): Likewise.
18042 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
18044         [BZ #14132]
18045         * sysdeps/generic/unwind-dw2-fde.c
18046         (__register_frame_info_bases_internal): Do not declare.
18047         (__register_frame_info_table_bases_internal): Likewise.
18048         (__deregister_frame_info_bases_internal): Likewise.
18049         (__register_frame_info_bases): Declare and use hidden_proto before
18050         definition.  Use hidden_def instead of INTDEF.
18051         (__register_frame_info_table_bases): Likewise.
18052         (__deregister_frame_info_bases): Likewise.
18053         (__register_frame_info): Do not use INTUSE.
18054         (__register_frame): Likewise.
18055         (__register_frame_info_table): Likewise.
18056         (__register_frame_table): Likewise.
18057         (__deregister_frame_info): Likewise.
18058         (__deregister_frame): Likewise.
18060 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
18062         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18063         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
18064         not undefine.
18065         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
18066         Likewise.
18067         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
18068         Likewise.
18070 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
18072         [BZ #14138]
18073         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
18074         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
18075         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
18076         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
18077         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
18078         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
18079         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
18080         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
18081         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
18082         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
18083         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
18084         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
18085         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
18086         syscall.
18087         (setfsuid): Likewise.
18088         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
18089         (setfsuid): Likewise.
18090         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
18091         (setfsuid): Likewise.
18092         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
18093         Likewise.
18094         (setfsuid): Likewise.
18095         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
18096         (setfsuid): Likewise.
18097         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
18098         Likewise.
18099         (setfsuid): Likewise.
18101 2014-10-27  Andreas Schwab  <schwab@suse.de>
18103         [BZ #17501]
18104         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
18105         check for Slow_SSE4_2 feature bit.
18106         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
18107         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18108         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
18109         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
18111 2014-10-24  Roland McGrath  <roland@hack.frob.com>
18113         * configure.ac: Validate compiler version with a empirical test of
18114         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
18115         $CC -v output.
18116         * configure: Regenerated.
18118         * inet/htons.c (htons): Prototypify.
18119         * inet/htonl.c (htonl): Likewise.
18121 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
18123         * string/strncat.c (strncat): Improve performance by using strlen.
18125 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
18127         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
18129 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
18131         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
18132         Call libc_fetestexcept_aarch64.
18134 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
18136         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
18137         Call libc_feholdexcept_aarch64.
18139 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
18141         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
18142         Call get_rounding_mode.
18144 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
18146         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
18147         Simplify logic.
18149 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
18151         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
18152         Simplify logic.
18154 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
18156         [BZ #14138]
18157         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
18158         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
18159         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
18160         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
18161         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
18162         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
18163         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
18164         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
18165         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
18166         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
18167         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18168         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
18169         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
18170         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
18171         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
18172         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
18173         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
18174         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
18175         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
18176         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
18177         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
18178         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
18179         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
18180         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
18181         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
18182         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
18183         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
18184         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
18185         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
18186         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
18187         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
18188         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
18189         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
18190         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
18191         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
18192         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
18193         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
18194         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
18195         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
18196         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
18197         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
18198         syscall.
18199         (geteuid): Likewise.
18200         (getgid): Likewise.
18201         (getuid): Likewise.
18202         (getresgid): Likewise.
18203         (getresuid): Likewise.
18204         (getgroups): Likewise.
18205         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
18206         (geteuid): Likewise.
18207         (getgid): Likewise.
18208         (getuid): Likewise.
18209         (getresgid): Likewise.
18210         (getresuid): Likewise.
18211         (getgroups): Likewise.
18212         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
18213         (geteuid): Likewise.
18214         (getgid): Likewise.
18215         (getuid): Likewise.
18216         (getresgid): Likewise.
18217         (getresuid): Likewise.
18218         (getgroups): Likewise.
18219         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
18220         Likewise.
18221         (geteuid): Likewise.
18222         (getgid): Likewise.
18223         (getuid): Likewise.
18224         (getresgid): Likewise.
18225         (getresuid): Likewise.
18226         (getgroups): Likewise.
18227         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
18228         (geteuid): Likewise.
18229         (getgid): Likewise.
18230         (getuid): Likewise.
18231         (getresgid): Likewise.
18232         (getresuid): Likewise.
18233         (getgroups): Likewise.
18234         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
18235         Likewise.
18236         (geteuid): Likewise.
18237         (getgid): Likewise.
18238         (getuid): Likewise.
18239         (getgroups): Likewise.
18241         [BZ #14138]
18242         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
18243         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
18244         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
18245         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
18246         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
18247         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
18248         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
18249         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
18250         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
18251         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
18252         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
18253         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
18254         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
18255         __chown.
18256         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
18257         (lchown): Likewise.
18258         (fchown): Likewise.
18259         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
18260         Likewise.
18261         (lchown): Likewise.
18262         (fchown): Likewise.
18263         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
18264         (lchown): Likewise.
18265         (fchown): Likewise.
18266         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
18267         Likewise.
18268         (lchown): Likewise.
18269         (fchown): Likewise.
18271 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
18273         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
18274         Simplify logic.
18276 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
18278         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
18279         Cleanup logic.
18281 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
18283         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
18284         Remove unused include.
18286 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
18288         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
18289         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
18290         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
18291         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
18293 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
18294             Helge Deller <deller@gmx.de>
18296         [BZ #17508]
18297         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
18298         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
18299         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
18301 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
18303         [BZ #14132]
18304         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
18305         Remove macro definition.
18306         (__ashrdi3_v_glibc20): Likewise.
18307         (__lshrdi3_v_glibc20): Likewise.
18308         (__cmpdi2_v_glibc20): Likewise.
18309         (__ucmpdi2_v_glibc20): Likewise.
18310         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
18311         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18312         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18313         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18314         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18315         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
18317 2014-10-22  Roland McGrath  <roland@hack.frob.com>
18319         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
18320         old GNU extension [0] syntax.
18321         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
18322         alloca rather than an array member with variable length.
18323         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
18324         * nscd/nscd.c (invalidate_db): New function, broken out of ...
18325         (parse_opt): ... here.  Likewise use alloca there.
18326         Validate the -i argument before checking for rootness.
18327         (send_shutdown): New function, broken out of ...
18328         (parse_opt): ... here.
18330 2014-10-22  Roland McGrath  <roland@hack.frob.com>
18332         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
18333         macro to get at the _rt_local_ro field.
18334         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
18335         ([PIC] case) or _dl_hwcap ([!PIC] case).
18336         * sysdeps/arm/setjmp.S: Likewise.
18338         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
18339         * sysdeps/arm/configure.ac: New check to define it.
18340         * sysdeps/arm/configure: Regenerated.
18341         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
18342         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
18343         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
18344         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
18345         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
18346         Use move/movt pair instead of a load.
18347         (LDST_GLOBAL): Macro removed.
18348         (LDR_GLOBAL): New macro replaces it.
18349         (LDR_HIDDEN): New macro.
18350         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
18351         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
18353         * setjmp/tst-setjmp-static.c: New file.
18354         * setjmp/Makefile (tests): Add it.
18355         (tests-static): New variable.
18357 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
18359         [BZ #17485]
18360         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
18362 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
18364         [BZ #14132]
18365         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
18367 2014-10-21  Roland McGrath  <roland@hack.frob.com>
18369         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
18371 2014-10-20  Roland McGrath  <roland@hack.frob.com>
18373         * io/fts.c (dirent_not_directory): New function.
18374         (fts_build): Call it.
18376 2014-10-20  Roland McGrath  <roland@hack.frob.com>
18378         * nptl/version.c (__nptl_main): Use normal __write rather than
18379         INTERNAL_SYSCALL.
18380         (banner): Update copyright years.
18382         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
18383         gettimeofday.
18384         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
18385         * nptl/pthread_cond_timedwait.c: Likewise.
18386         * nptl/pthread_mutex_timedlock.c: Likewise.
18387         * nptl/sem_timedwait.c: Likewise.
18389         * sysdeps/nptl/bits/libc-lock.h
18390         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
18391         (__libc_lock_init_recursive): Return void, not 0.
18392         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
18393         (__libc_rwlock_init): Likewise.
18394         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
18396 2014-10-20  Torvald Riegel  <triegel@redhat.com>
18398         [BZ #15215]
18399         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
18400         (__pthread_once_slow): ... here.
18401         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
18402         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
18404 2014-10-20  Torvald Riegel  <triegel@redhat.com>
18406         [BZ #15215]
18407         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
18408         __PTHREAD_ONCE_FORK_GEN_INCR): New.
18409         * sysdeps/nptl/fork.c (__libc_fork): Use them.
18410         * nptl/pthread_once.c (__pthread_once): Likewise.
18411         Update comments.
18413 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
18415         [BZ #14138]
18416         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
18417         name.
18418         (writev): Use __libc_writev as strong name.
18419         * sysdeps/unix/sysv/linux/readv.c: Remove file.
18420         * sysdeps/unix/sysv/linux/writev.c: Likewise.
18422 2014-10-17  Roland McGrath  <roland@hack.frob.com>
18424         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
18426         * sysdeps/i386/nptl/tls.h
18427         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
18428         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
18429         New macros.
18430         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
18431         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
18432         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
18433         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
18434         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
18435         Call CHECK_THREAD_SYSINFO instead of doing an assert.
18437         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
18438         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
18439         on [__NR_futex].
18440         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
18441         broken out of ...
18442         (__pthread_mutex_init): ... here.  Call it.
18443         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
18444         Conditionalize PI cases on [__NR_futex].
18445         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
18446         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
18447         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
18449         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
18450         conditional on [SIGSETXID].
18451         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
18452         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
18453         is defined.  Likewise for SIGSETXID.
18454         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
18455         Conditionalize definitions on [SIGSETXID].
18456         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
18457         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
18458         unblocking on [SIGCANCEL].
18460         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
18461         [__NR_set_robust_list].
18463 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18465         * string/strcoll_l.c (get_next_seq): Fix up formatting.
18466         (do_compare): Likewise.
18468 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
18470         [BZ #15884]
18471         * string/strcoll_l.c: Don't include stdio.h.
18472         (coll_seq): Remove members idxarr and rulearr.
18473         (get_next_seq_cached): Remove function.
18474         (get_next_seq): Likewise.
18475         (get_next_seq_nocache): Rename to get_next_seq.
18476         (do_compare): Remove function.
18477         (do_compare_nocache): Rename to do_compare.
18478         (STRCOLL): Remove weight and rules cache.
18480 2014-10-16  Roland McGrath  <roland@hack.frob.com>
18482         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
18483         * sysdeps/arm/sfp-machine.h: ... to here.
18484         * sysdeps/arm/Implies: Remove arm/soft-fp.
18486 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
18488         * conform/data/sys/utsname.h-data (*_t): Allow.
18489         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
18490         [POSIX] (WEXITED): Do not expect constant.
18491         [POSIX] (WSTOPPED): Likewise.
18492         [POSIX] (WNOHANG): Likewise.
18493         [POSIX] (WNOWAIT): Likewise.
18494         [POSIX] (siginfo_t): Do not expect type or elements.
18495         [POSIX] (pid_t): Do not expect type.
18496         [POSIX] (signal.h): Do not allow header.
18497         [POSIX] (sys/resource.h): Likewise.
18498         [POSIX] (si_*): Do not allow pattern.
18499         [POSIX] (W*): Likewise.
18500         [POSIX] (P_*): Likewise.
18501         [POSIX] (BUS_*): Likewise.
18502         [POSIX] (CLD_*): Likewise.
18503         [POSIX] (FPE_*): Likewise.
18504         [POSIX] (ILL_*): Likewise.
18505         [POSIX] (POLL_*): Likewise.
18506         [POSIX] (SEGV_*): Likewise.
18507         [POSIX] (SI_*): Likewise.
18508         [POSIX] (TRAP_*): Likewise.
18509         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
18510         variable.
18512 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
18514         [BZ #12926]
18515         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
18516         infinite loop when __recvmsg returns 0.
18518 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
18520         * CANCEL-FCT-WAIVE: Remove file.
18521         * CANCEL-FILE-WAIVE: Likewise.
18523         [BZ #14132]
18524         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
18525         instead of INTVARDEF.
18526         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
18527         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
18528         rtld_hidden_data_def instead of INTVARDEF.
18529         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
18530         * elf/dl-deps.c (expand_dst): Likewise.
18531         * elf/dl-load.c (_dl_dst_count): Likewise.
18532         (_dl_dst_substitute): Likewise.
18533         (decompose_rpath): Likewise.
18534         (_dl_init_paths): Likewise.
18535         (open_path): Likewise.
18536         (_dl_map_object): Likewise.
18537         * elf/rtld.c (dl_main): Likewise.
18538         (process_dl_audit): Likewise.
18539         (process_envvars): Likewise.
18540         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
18541         Remove declaration.
18542         (__libc_enable_secure): Use rtld_hidden_proto.
18544 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18546         * elf/dl-load.c
18547         (add_path): New function broken out of _dl_rtld_di_serinfo.
18548         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
18550 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
18552         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
18553         parentheses around macro arguments.
18554         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
18555         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
18556         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
18557         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
18558         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
18559         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
18560         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
18561         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
18562         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
18563         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
18564         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
18565         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
18566         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
18567         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
18568         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
18569         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
18570         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
18571         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
18572         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
18573         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
18574         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
18575         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
18576         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
18577         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
18578         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
18579         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
18580         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
18581         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
18582         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
18583         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
18584         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
18585         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
18586         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
18587         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
18588         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
18589         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
18590         Likewise.
18591         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
18592         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
18593         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
18594         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
18595         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
18596         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
18597         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
18598         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
18599         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
18600         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
18601         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
18602         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
18603         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
18604         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
18605         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
18606         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
18607         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
18608         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
18609         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
18610         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
18611         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
18612         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
18613         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
18614         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
18615         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
18616         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
18617         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
18618         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
18619         (_FP_FRAC_SRS_1): Likewise.
18620         (_FP_FRAC_CLZ_1): Likewise.
18621         (_FP_MUL_MEAT_1_imm): Likewise.
18622         (_FP_MUL_MEAT_1_wide): Likewise.
18623         (_FP_MUL_MEAT_1_hard): Likewise.
18624         (_FP_SQRT_MEAT_1): Likewise.
18625         (_FP_FRAC_ASSEMBLE_1): Likewise.
18626         (_FP_FRAC_DISASSEMBLE_1): Likewise.
18627         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
18628         (__FP_CLZ_2): Likewise.
18629         (_FP_MUL_MEAT_2_wide): Likewise.
18630         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
18631         (_FP_MUL_MEAT_2_gmp): Likewise.
18632         (_FP_MUL_MEAT_2_120_240_double): Likewise.
18633         (_FP_SQRT_MEAT_2): Likewise.
18634         (_FP_FRAC_ASSEMBLE_2): Likewise.
18635         (_FP_FRAC_DISASSEMBLE_2): Likewise.
18636         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
18637         (_FP_FRAC_CLZ_4): Likewise.
18638         (_FP_MUL_MEAT_4_wide): Likewise.
18639         (_FP_MUL_MEAT_4_gmp): Likewise.
18640         (_FP_SQRT_MEAT_4): Likewise.
18641         (_FP_FRAC_ASSEMBLE_4): Likewise.
18642         (_FP_FRAC_DISASSEMBLE_4): Likewise.
18643         * soft-fp/op-common.h (_FP_CMP): Likewise.
18644         (_FP_CMP_EQ): Likewise.
18645         (_FP_CMP_UNORD): Likewise.
18646         (_FP_TO_INT): Likewise.
18647         (_FP_FROM_INT): Likewise.
18648         [!__FP_CLZ] (__FP_CLZ): Likewise.
18649         (_FP_DIV_HELP_imm): Likewise.
18650         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
18651         Likewise.
18652         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
18653         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
18654         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
18655         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
18656         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
18657         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
18658         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
18659         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
18660         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
18661         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
18662         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
18663         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
18664         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
18665         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
18666         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
18667         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
18668         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
18669         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
18670         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
18671         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
18672         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
18673         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
18674         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
18675         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
18676         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
18677         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
18678         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
18679         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
18680         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
18681         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
18682         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
18683         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
18684         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
18685         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
18686         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
18687         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
18688         (FP_UNPACK_RAW_SP): Likewise.
18689         (FP_PACK_RAW_S): Likewise.
18690         (FP_PACK_RAW_SP): Likewise.
18691         (FP_UNPACK_S): Likewise.
18692         (FP_UNPACK_SP): Likewise.
18693         (FP_UNPACK_SEMIRAW_S): Likewise.
18694         (FP_UNPACK_SEMIRAW_SP): Likewise.
18695         (FP_PACK_S): Likewise.
18696         (FP_PACK_SP): Likewise.
18697         (FP_PACK_SEMIRAW_S): Likewise.
18698         (FP_PACK_SEMIRAW_SP): Likewise.
18699         (_FP_SQRT_MEAT_S): Likewise.
18700         (FP_CMP_S): Likewise.
18701         (FP_CMP_EQ_S): Likewise.
18702         (FP_CMP_UNORD_S): Likewise.
18703         (FP_TO_INT_S): Likewise.
18704         (FP_FROM_INT_S): Likewise.
18706         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
18708         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
18709         (FP_EX_INVALID_IMZ): Likewise.
18710         (FP_EX_INVALID_IMZ_FMA): Likewise.
18711         (FP_EX_INVALID_ISI): Likewise.
18712         (FP_EX_INVALID_ZDZ): Likewise.
18713         (FP_EX_INVALID_IDI): Likewise.
18714         (FP_EX_INVALID_SQRT): Likewise.
18715         (FP_EX_INVALID_CVI): Likewise.
18716         (FP_EX_INVALID_VC): Likewise.
18717         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
18718         "invalid" exceptions.
18719         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
18720         (_FP_ADD_INTERNAL): Likewise.
18721         (_FP_MUL): Likewise.
18722         (_FP_FMA): Likewise.
18723         (_FP_DIV): Likewise.
18724         (_FP_CMP_CHECK_NAN): Likewise.
18725         (_FP_SQRT): Likewise.
18726         (_FP_TO_INT): Likewise.
18727         (FP_EXTEND): Likewise.
18729 2014-10-09  Allan McRae  <allan@archlinux.org>
18731         * po/fr.po: Update French translation from translation project.
18733 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
18735         [BZ #14132]
18736         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
18737         of INTDEF.
18738         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
18739         (__cxa_atexit): Use libc_hidden_proto.
18740         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
18742         [BZ #14132]
18743         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
18744         declaration.
18745         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
18746         [!_ISOMAC] (__iswspace_l_internal): Likewise.
18747         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
18748         [!_ISOMAC] (__iswctype_internal): Likewise.
18749         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
18750         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
18751         alias.
18752         (fcntl): Remove __fcntl_internal alias.
18753         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
18754         __connect_internal alias.
18755         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
18756         Likewise.
18758         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
18759         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
18760         FP_DENORM_ZERO.
18761         (_FP_CHECK_FLUSH_ZERO): New macro.
18762         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
18763         (_FP_CMP): Likewise.
18764         (_FP_CMP_EQ): Likewise.
18765         (_FP_TO_INT): Do not set inexact for subnormal arguments if
18766         FP_DENORM_ZERO.
18767         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
18768         (FP_TRUNC): Likewise.
18770         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
18771         treated as invalid conversion, not as normal exponent.
18773         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
18774         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
18775         (_FP_CMP_EQ): Likewise.
18776         (_FP_CMP_UNORD): Likewise.
18777         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
18778         (FP_CMP_EQ_D): Likewise.
18779         (FP_CMP_UNORD_D): Likewise.
18780         * soft-fp/extended.h (FP_CMP_E): Likewise.
18781         (FP_CMP_EQ_E): Likewise.
18782         (FP_CMP_UNORD_E): Likewise.
18783         * soft-fp/quad.h (FP_CMP_Q): Likewise.
18784         (FP_CMP_EQ_Q): Likewise.
18785         (FP_CMP_UNORD_Q): Likewise.
18786         * soft-fp/single.h (FP_CMP_S): Likewise.
18787         (FP_CMP_EQ_S): Likewise.
18788         (FP_CMP_UNORD_S): Likewise.
18789         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
18790         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
18791         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
18792         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
18793         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
18794         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
18795         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
18796         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
18797         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
18798         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
18799         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
18800         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
18801         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
18802         to FP_CMP_Q.
18803         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
18804         FP_CMP_Q.
18805         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
18806         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
18807         FP_CMP_EQ_Q.
18808         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
18809         FP_CMP_Q.
18810         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
18811         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
18812         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
18813         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
18814         FP_CMP_EQ_Q.
18815         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
18816         FP_CMP_Q.
18817         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
18818         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
18819         FP_CMP_EQ_Q.
18820         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
18821         FP_CMP_Q.
18822         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
18823         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
18824         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
18825         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
18826         FP_CMP_EQ_Q.
18828         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
18829         a subnormal result, set the underflow exception if trapping on
18830         underflow is enabled.
18831         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
18832         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
18833         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
18834         redefine to 0.
18835         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
18836         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
18837         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
18838         * soft-fp/extendxftf2.c (__extendxftf2): Use
18839         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
18841         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
18842         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
18843         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18844         FP_HANDLE_EXCEPTIONS.
18845         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
18846         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18847         FP_HANDLE_EXCEPTIONS.
18848         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
18849         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18850         FP_HANDLE_EXCEPTIONS.
18851         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
18852         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
18853         FP_HANDLE_EXCEPTIONS.
18855 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
18857         [BZ #14132]
18858         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
18859         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
18860         use INTUSE.
18861         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
18862         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
18863         Remove alias.
18864         (__adjtimex): Define using libc_hidden_ver.
18865         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
18866         Remove declaration.
18867         (ntp_gettime): Call __adjtimex directly.
18868         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
18869         Remove declaration.
18870         (ntp_gettimex): Call __adjtimex directly.
18871         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
18872         __adjtimex_internal alias.
18874 2014-10-08  Roland McGrath  <roland@hack.frob.com>
18876         [BZ #17460]
18877         * nscd/nscd.c (more_help): Rewrite list of tables collection
18878         using xstrdup and asprintf.
18880         * nscd/nscd_conf.c: Remove local xstrdup declaration.
18882 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18883             Roland McGrath  <roland@hack.frob.com>
18885         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
18886         (do_lookup_unique): ... local function 'enter' here; update callers.
18888 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
18890         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
18891         compat_symbol calls on [SHARED].
18892         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
18893         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
18894         Remove.
18895         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18896         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
18897         (oldsetrlimit): Remove.
18898         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
18900         (lchown): New syscall entry.
18901         (oldsetrlimit): Remove.
18902         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18903         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
18904         (oldsetrlimit): Remove.
18905         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
18907         [BZ #14138]
18908         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
18909         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
18910         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
18911         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
18912         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
18913         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
18914         (fchown): Likewise.
18915         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
18916         (fchown): Likewise.
18917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
18918         Likewise.
18920 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18922         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
18923         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
18924         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
18925         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
18926         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
18927         Likewise.
18928         (__old_sem_post): Likewise.
18930 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
18932         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
18933         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
18934         HAVE_CLOCK_GETTIME_VSYSCALL macros.
18935         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
18936         Use INLINE_VSYSCALL macro.
18937         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
18938         __vdso_clock_gettime.
18939         * sysdeps/unix/sysv/linux/tile/init-first.c
18940         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
18941         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
18942         __vdso_clock_gettime.
18944         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
18945         to set up frame more cleanly.
18947         * sysdeps/tile/memcmp.c: New file.
18949         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
18951         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
18952         * sysdeps/tile/tilegx/strcasestr.c: New file.
18953         * sysdeps/tile/tilegx/strnlen.c: New file.
18954         * sysdeps/tile/tilegx/strstr.c: New file.
18956         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
18958 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
18960         * nptl/tst-setuid3.c: Write errors to stdout.
18962 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18964         * elf/dl-deps.c
18965         (preload): New functions broken out of _dl_map_object_deps.
18966         (_dl_map_object_deps):  Remove a nested function. Update call sites.
18968 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
18970         [BZ #14138]
18971         * sysdeps/unix/sysv/linux/execve.c: Remove file.
18972         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
18974 2014-10-01  Steve Ellcey  <sellcey@mips.com>
18976         * sysdeps/mips/strcmp.S: New.
18978 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
18980         [BZ #14138]
18981         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
18982         (linkat): Likewise.
18983         (mkdirat): Likewise.
18984         (readlinkat): Likewise.
18985         (renameat): Likewise.
18986         (symlinkat): Likewise.
18987         (unlinkat): Likewise.
18988         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
18989         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
18990         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
18991         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
18992         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
18993         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
18994         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
18996 2014-09-30  Will Newton  <will.newton@linaro.org>
18998         * math/math.h: Define long double math functions if
18999         _LIBC_TEST is defined.
19000         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
19002         * localedata/Makefile: Move assignment to tests-special
19003         into an ifdef testing run-built-tests.
19004         * timezone/Makefile: Likewise.
19006 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
19008         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
19009         with $(BASH) not $(SHELL).
19011 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
19012             Matthew LeGendre  <legendre1@llnl.gov>
19014         [BZ #17411]
19015         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
19016         l_reloc_result.
19018 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19020         * stdio-common/printf_fp.c
19021         (hack_digit): New function, broken out of ...
19022         (__printf_fp): ... local function here.  Update call sites.
19023         hack_digit now takes an additional parameter that is a pointer
19024         to a struct of the referenced locals.  Those locals moved inside
19025         the struct and references updated.
19027 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
19029         * aclocal.m4: Require autoconf 2.69.
19030         * configure: Regenerated.
19031         * sysdeps/aarch64/configure: Likewise.
19032         * sysdeps/alpha/configure: Likewise.
19033         * sysdeps/arm/armv7/configure: Likewise.
19034         * sysdeps/arm/configure: Likewise.
19035         * sysdeps/ia64/configure: Likewise.
19036         * sysdeps/mach/configure: Likewise.
19037         * sysdeps/mips/configure: Likewise.
19038         * sysdeps/s390/configure: Likewise.
19039         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
19040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
19042         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
19043         file.
19044         * sysdeps/ia64/configure.ac: Likewise.
19046 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
19048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
19049         specify symbol version for ld.so.  Do not include entry for
19050         libpthread.
19051         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
19052         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
19053         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
19055         [BZ #14171]
19056         * Makeconfig [$(build-shared) = yes]
19057         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
19058         makefiles.
19059         [$(build-shared) = yes && $(soversions.mk-done) = t]
19060         ($(common-objpfx)gnu/lib-names.h): Remove rule.
19061         [$(build-shared) = yes && $(soversions.mk-done) = t]
19062         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
19063         to Makerules.
19064         [$(build-shared) = yes && $(soversions.mk-done) = t]
19065         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
19066         here.
19067         [$(build-shared) = yes && $(soversions.mk-done) = t]
19068         (common-generated): Don't append gnu/lib-names.h and
19069         gnu/lib-names.stmp here.
19070         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
19071         (lib-names-h-abi): New variable.
19072         [$(build-shared) = yes && $(soversions.mk-done) = t]
19073         (lib-names-stmp-abi): Likewise.
19074         [$(build-shared) = yes && $(soversions.mk-done) = t &&
19075         abi-variants] (before-compile): Append
19076         $(common-objpfx)$(lib-names-h-abi).
19077         [$(build-shared) = yes && $(soversions.mk-done) = t &&
19078         abi-variants] (common-generated): Append gnu/lib-names.h.
19079         [$(build-shared) = yes && $(soversions.mk-done) = t &&
19080         abi-variants] (install-others-nosubdir): Depend on
19081         $(inst_includedir)/$(lib-names-h-abi).
19082         [$(build-shared) = yes && $(soversions.mk-done) = t &&
19083         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
19084         [$(build-shared) = yes && $(soversions.mk-done) = t]
19085         ($(common-objpfx)$(lib-names-h-abi)): New rule.
19086         [$(build-shared) = yes && $(soversions.mk-done) = t]
19087         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
19088         [$(build-shared) = yes && $(soversions.mk-done) = t]
19089         (common-generated): Append $(lib-names-h-abi) and
19090         $(lib-names-stmp-abi).
19091         * scripts/lib-names.awk: Do not handle multi being set.
19092         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
19093         Remove variable.
19094         (abi-lp64_be-ld-soname): Likewise.
19095         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
19096         Likewise.
19097         (abi-hard-ld-soname): Likewise.
19098         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
19099         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
19100         Remove variable.
19101         (abi-o32_hard-ld-soname): Likewise.
19102         (abi-o32_soft_2008-ld-soname): Likewise.
19103         (abi-o32_hard_2008-ld-soname): Likewise.
19104         (abi-n32_soft-ld-soname): Likewise.
19105         (abi-n32_hard-ld-soname): Likewise.
19106         (abi-n32_soft_2008-ld-soname): Likewise.
19107         (abi-n32_hard_2008-ld-soname): Likewise.
19108         (abi-n64_soft-ld-soname): Likewise.
19109         (abi-n64_hard-ld-soname): Likewise.
19110         (abi-n64_soft_2008-ld-soname): Likewise.
19111         (abi-n64_hard_2008-ld-soname): Likewise.
19112         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
19113         Likewise.
19114         (abi-64-v2-ld-soname): Likewise.
19115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
19116         ld.so entries.
19117         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
19118         variable.
19119         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
19120         entry.
19121         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
19122         variable.
19123         (abi-64-ld-soname): Likewise.
19124         (abi-x32-ld-soname): Likewise.
19125         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
19126         entry.
19127         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
19129 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
19131         [BZ #14138]
19132         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
19133         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
19134         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
19135         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
19136         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
19137         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
19138         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
19139         syscall entry for GLIBC_2.2 symbol version.
19140         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
19141         Likewise.
19142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
19143         (setrlimit): Likewise.
19144         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
19145         Likewise.
19147 2014-09-23  Will Newton  <will.newton@linaro.org>
19149         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
19150         _LINUX_ARM_SYSDEP_H include guard too.
19151         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
19152         define.
19154 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
19156         * sysdeps/unix/sysv/linux/eventfd.c:
19157         Make first argument unsigned.
19158         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
19159         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
19161 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
19163         * socket/recvmmsg.c (recvmmsg): Drop const argument.
19164         * socket/sys/socket.h: Likewise
19165         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
19167 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19169         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
19171 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
19173         * time/tst-ftime.c: New test.
19174         * time/Makefile (tests): Add tst-ftime.
19176 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
19178         * soft-fp/extended.h: Fix comment formatting.
19179         * soft-fp/op-1.h: Likewise.
19180         * soft-fp/op-2.h: Likewise.
19181         * soft-fp/op-4.h: Likewise.
19182         * soft-fp/op-8.h: Likewise.
19183         * soft-fp/op-common.h: Likewise.
19184         * soft-fp/soft-fp.h: Likewise.
19186         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
19188 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
19190         [BZ #6652]
19191         * Makeconfig (soversions-default-setname): Remove variable.
19192         ($(common-objpfx)soversions.i): Don't pass default_setname to
19193         soversions.awk.
19194         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
19195         oldest_abi to abi-versions.awk.
19196         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
19197         * config.make.in (oldest-abi): Remove variable.
19198         * configure.ac (--enable-oldest-abi): Remove configure option.
19199         * configure: Regenerated.
19200         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
19201         text.
19202         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
19203         * scripts/soversions.awk: Do not handle default_setname variable.
19204         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
19205         variable.
19206         * sysdeps/mach/hurd/configure: Regenerated.
19207         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
19208         variable.
19209         * sysdeps/unix/sysv/linux/configure: Regenerated.
19211 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19213         * elf/Makefile (CFLAGS-interp.c): Remove.
19214         ($(elf-objpfx)runtime-linker.h): Generate header with linker
19215         path string.
19216         * elf/interp.c: Include generated runtime-linker.h
19218         * Makerules (lib%.so): Don't include $(+interp) in
19219         prerequisites.
19220         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
19221         * dlfcn/eval.c: Remove file.
19223         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
19224         macros.
19226         [BZ #17266]
19227         * misc/sys/cdefs.h: Define __extern_always_inline for clang
19228         4.2 and newer.
19230         [BZ #17370]
19231         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
19233 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19234             Jakub Jelinek  <jakub@redhat.com>
19236         [BZ #17266]
19237         * libio/stdio.h: Check definition of __fortify_function
19238         instead of __extern_always_inline to include bits/stdio2.h.
19239         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
19240         check if __extern_always_inline is defined.
19241         [__USE_MISC || __USE_XOPEN]: Likewise.
19242         [__USE_ISOC99] Likewise.
19243         * misc/sys/cdefs.h (__fortify_function): Define only if
19244         __extern_always_inline is defined.
19245         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
19246         __extern_always_inline and __extern_inline only for g++-4.3
19247         and newer or a compatible gcc.
19249 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
19251         [BZ #17371]
19252         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
19253         last change to handle zero prefix length.
19255 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19257         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
19258         _SC_REGEX_VERSION.
19260         * posix/getconf.c (vars): Add _POSIX_IPV6 and
19261         _POSIX_RAW_SOCKETS.
19263 2014-09-13  Allan McRae  <allan@archlinux.org>
19265         * po/ru.po: Update Russian translation from translation project.
19267 2014-09-12  Roland McGrath  <roland@hack.frob.com>
19269         * locale/programs/locale.c (show_locale_vars): Inline local function
19270         into its sole call site.  Clean up some style nits.
19271         (print_item): New function, broken out of ...
19272         (show_info): ... local function here.  Clean up style nits.
19274         * locale/programs/ld-ctype.c (set_one_default): New function, broken
19275         out of ...
19276         (set_class_defaults): ... local function set_default here.
19277         Define set_default as a macro locally to pass constant parameters.
19278         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
19279         rather than a shared local.
19281         * stdlib/rpmatch.c (try): New function, broken out of ...
19282         (rpmatch): ... local function here.  Also, prototypify definition.
19284 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
19286         * scripts/soversions.awk: Do not handle configuration names.
19287         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
19288         vendor and os variables to soversions.awk.
19289         * configure.ac: Do not modify gnu-* host_os.
19290         * configure: Regenerated
19291         * shlib-versions: Remove first column with configuration names.
19292         * nptl/shlib-versions: Likewise.
19293         * nptl_db/shlib-versions: Likewise.
19294         * sysdeps/hppa/shlib-versions: Likewise.
19295         * sysdeps/m68k/shlib-versions: Likewise.
19296         * sysdeps/mach/hurd/shlib-versions: Likewise.
19297         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
19298         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
19299         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
19300         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
19301         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
19302         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
19303         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
19304         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
19305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
19306         Likewise.
19307         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
19308         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
19309         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
19310         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
19311         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
19312         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
19313         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
19314         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
19316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
19317         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
19318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
19319         Regenerated.
19320         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
19321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
19322         Condition symbol version definitions on [HAVE_ELFV2_ABI].
19324         * shlib-versions: Remove OS-specific entries.  Moved to files in
19325         sysdeps.
19326         * sysdeps/mach/hurd/shlib-versions: New file.
19327         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
19329         * nptl/shlib-versions: Remove architecture-specific entries.
19330         Moved to files in sysdeps.
19331         * shlib-versions: Likewise.
19332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
19333         file.
19334         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
19335         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
19336         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
19337         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
19339         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
19340         (UDP_NO_CHECK6_RX): Likewise.
19342 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19344         * sysdeps/posix/sysconf.c (__sysconf): Spell
19345         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
19347 2014-08-12  Florian Weimer  <fweimer@redhat.com>
19349         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
19350         loading.
19351         * iconv/Versions (__gconv_transliterate): Export for use from
19352         gconv modules.
19353         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
19354         (struct __gconv_trans_data, __gconv_trans_fct,
19355         __gconv_trans_context_fct, __gconv_trans_query_fct,
19356         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
19357         definitions.
19358         (struct __gconv_step_data): Remove __trans member.
19359         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
19360         longer hidden.  Remove unused trans_data argument.
19361         * iconv/gconv_int.h (struct trans_struct): Remove definition.
19362         (__gconv_translit_find): Remove declaration.
19363         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
19364         prototype.
19365         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
19366         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
19367         trans_data argument.  Add hidden definition.
19368         (__gconv_translit_find): Remove.
19369         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
19370         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
19371         * iconv/skeleton.c: Remove transliteration initialization.
19372         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
19373         __gconv_step_data initialization.
19374         * libio/iofwide.c (__libio_translit_): Remove.
19375         (_IO_fwide): Adjust struct __gconv_step_data initialization.
19376         * wcsmbs/btowc.c (__btowc): Likewise.
19377         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19378         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19379         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
19380         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
19381         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
19382         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
19383         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
19384         * wcsmbs/wctob.c (wctob): Likewise.
19386 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19388         [BZ #16194]
19389         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
19390         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
19391         register usage.
19392         * sysdeps/x86/Makefile: Adjust.
19394 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19395             Roland McGrath  <roland@hack.frob.com>
19397         * locale/weight.h: Add include guard.
19398         (findidx): Make static rather than auto; take new parameters
19399         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
19400         * locale/weightwc.h: Likewise.
19401         * posix/fnmatch_loop.c
19402         (FCT): Change type of EXTRA from int32_t to wint_t.
19403         Don't include either header inside the function.
19404         Call FINDIDX rather than findidx, and pass new arguments.
19405         #undef FINDIDX at the end of the file.
19406         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
19407         FINDIDX before including fnmatch_loop.c for the non-wide version.
19408         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
19409         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
19410         for the wide version.
19411         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
19412         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
19413         Pass new arguments to findidx.
19414         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
19415         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
19416         Don't #include it inside the function.  Pass new arguments to findidx.
19417         * posix/regex_internal.h
19418         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
19419         (re_string_elem_size_at): Don't #include it inside the function.
19420         Pass new arguments to findidx.
19421         * string/strcoll_l.c: #include WEIGHT_H at top level.
19422         (get_next_seq): Don't #include it inside the function.
19423         Pass new arguments to findidx.
19424         (get_next_seq_nocache): Likewise.
19425         * string/strxfrm_l.c: #include WEIGHT_H at top level.
19426         (STRXFRM): Don't #include it inside the function.
19427         Pass new arguments to findidx.
19429 2014-09-11  Florian Weimer  <fweimer@redhat.com>
19431         [BZ #17344]
19432         * malloc/malloc.c (unlink): Turn asserts into a call to
19433         malloc_printerr.
19435 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
19437         [BZ #17370]
19438         * libio/wfileops (do_ftell_wide): Free OUT.
19440 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
19442         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
19444 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19446         [BZ #17363]
19447         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
19448         group if the current group is empty.
19450 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19452         * benchtests/bench-memset.c (test_main): Add more test from size
19453         from 32 to 512 bytes.
19454         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19455         Add POWER8 memset object.
19456         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19457         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
19458         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
19459         implementation.
19460         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
19461         Likewise.
19462         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
19463         multiarch POWER8 memset optimization.
19464         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
19465         POWER8 memset optimization.
19467         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19468         Remove bzero multiarch objects.
19469         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
19470         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
19471         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
19472         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
19473         Remove define.
19474         [__bzero]: Redefine to specific name.
19475         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
19476         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
19477         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
19478         define.
19479         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19480         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
19482 2014-09-10  Florian Weimer  <fweimer@redhat.com>
19484         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
19485         warnings into errors.
19487         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
19488         __cxa_thread_atexit_impl prototype.
19490 2014-09-09  Steve Ellcey  <sellcey@mips.com>
19492         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
19493         Fix capitalization of error message.
19495 2014-09-09  Steve Ellcey  <sellcey@mips.com>
19497         * sysdeps/mips/preconfigure: Modify ABI tests.
19499 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
19501         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
19503 2014-09-07  Roland McGrath  <roland@hack.frob.com>
19504             Carlos O'Donell  <carlos@systemhalted.org>
19506         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
19507         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
19508         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
19509         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
19510         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
19511         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
19512         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
19513         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
19514         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
19515         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
19516         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
19517         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
19518         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
19519         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
19520         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
19521         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
19522         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
19523         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
19524         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
19525         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
19526         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
19527         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
19528         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
19529         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
19530         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
19531         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
19532         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
19533         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
19534         Deconditionalize the code that was previously under [RESET_PID].
19535         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
19536         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
19537         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
19538         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
19539         include sysdep.h.
19541 2014-09-08  Allan McRae  <allan@archlinux.org>
19543         * version.h (RELEASE): Set to "development".
19544         (VERSION): Set to "2.20.90"
19546 2014-09-07  Allan McRae  <allan@archlinux.org
19548         * version.h (RELEASE): Set to "stable".
19549         (VERSION): Set to "2.20"
19550         * include/features.h (__GLIBC_MINOR__): Set to 20.
19552         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
19553         Liebler.
19555         * po/ko.po: Update Korean translation from translation project.
19557 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
19559         [BZ #17354]
19560         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
19561         macro for handling signed relocations.
19563 2014-09-03  Florian Weimer  <fweimer@redhat.com>
19565         [BZ #17325]
19566         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
19567         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
19568         assert.
19569         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
19570         * iconvdata/ibm935.c (BODY): Likewise.
19571         * iconvdata/ibm937.c (BODY): Likewise.
19572         * iconvdata/ibm939.c (BODY): Likewise.
19573         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
19574         assert.
19575         * iconvdata/Makefile (iconv-test.out): Pass module list to test
19576         script.
19577         * iconvdata/run-iconv-test.sh: New test loop for checking for
19578         decoder crashers.
19580 2014-09-02  Khem Raj  <raj.khem@gmail.com>
19582         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
19583         libm_hidden_ver.
19585 2014-09-01  Allan McRae  <allan@archlinux.org>
19587         * po/eo.po: Update Esperanto translation from translation project.
19589         * po/ca.po: Update Catalan translation from translation project.
19591 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19593         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
19594         __proc_dostop call.
19596 2014-08-27  Mark Wielaard  <mjw@redhat.com>
19598         [BZ #17319]
19599         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
19600         to call set_thread_area instead of hand written asm.
19601         (__NR_set_thread_area): Removed define.
19602         (TLS_FLAG_WRITABLE): Likewise.
19603         (__ASSUME_SET_THREAD_AREA): Remove check.
19604         (TLS_EBX_ARG): Remove define.
19605         (TLS_LOAD_EBX): Likewise.
19607 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19609         Simplify atomicity of socket creation in bind.
19611         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
19612         looking up the name after linking the file.
19614 2014-08-27  Allan McRae  <allan@archlinux.org>
19616         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19618 2014-08-26  Florian Weimer  <fweimer@redhat.com>
19620         [BZ #17187]
19621         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
19622         trans_compare, open_translit, __gconv_translit_find):
19623         Remove module loading code.
19625 2014-08-26  Allan McRae  <allan@archlinux.org>
19627         * po/vi.po: Update Vietnamese translation from translation project.
19629         * po/uk.po: Update Ukrainian translation from translation project.
19631         * po/fr.po: Update French translation from translation project.
19633         * po/ru.po: Update Russian translation from translation project.
19635         * po/pl.po: Update Polish translation from translation project.
19637         * po/cs.po: Update Czech translation from translation project.
19639         * po/de.po: Update German translation from translation project.
19641         * po/bg.po: Update Bulgarian translation from translation project.
19643         * po/sv.po: Update Sweedish translation from translation project.
19645         * po/nl.po: Update Dutch translation from translation project.
19647         * po/es.po: Update Spanish translation from translation project.
19649 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19651         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
19653         * catgets/Makefile (CPPFLAGS-gencat): Remove.
19654         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
19655         (CPPFLAGS-iconvconfig): Likewise.
19656         * timezone/Makefile (CPPFLAGS-zic): Likewise.
19658         * include/libc-symbols.h: Remove unnecessary check for
19659         NOT_IN_libc.
19660         * nptl/pthreadP.h: Likewise.
19661         * sysdeps/aarch64/setjmp.S: Likewise.
19662         * sysdeps/alpha/setjmp.S: Likewise.
19663         * sysdeps/arm/sysdep.h: Likewise.
19664         * sysdeps/i386/setjmp.S: Likewise.
19665         * sysdeps/m68k/setjmp.c: Likewise.
19666         * sysdeps/posix/getcwd.c: Likewise.
19667         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19668         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
19669         * sysdeps/s390/s390-32/setjmp.S: Likewise.
19670         * sysdeps/s390/s390-64/setjmp.S: Likewise.
19671         * sysdeps/sh/sh3/setjmp.S: Likewise.
19672         * sysdeps/sh/sh4/setjmp.S: Likewise.
19673         * sysdeps/unix/alpha/sysdep.h: Likewise.
19674         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19675         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19676         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
19677         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19680         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19681         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19682         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19683         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19684         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19685         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19686         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19687         * sysdeps/x86_64/setjmp.S: Likewise.
19689 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
19691         [BZ #17263]
19692         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
19693         <stdint.h>.
19694         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
19695         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
19697 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19699         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
19701         [BZ #17262]
19702         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
19703         and __x86_64__ when disabling x87 inline functions.
19705 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
19707         [BZ #17259]
19708         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
19709         asm statement with __cpuid_count.
19711 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
19713         * configure.ac: Change __ehdr_start code to dereference the struct.
19714         Run readelf on the output to look for relocations.
19715         * configure: Regenerated.
19717 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
19719         [BZ #17261]
19720         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
19721         value to 0.
19722         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
19724 2014-08-12  Roland McGrath  <roland@hack.frob.com>
19726         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
19728 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
19730         [BZ #16892]
19731         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
19732         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
19734 2014-08-12  Sean Anderson  <seanga2@gmail.com>
19736         * malloc/malloc.c: Fix typo in comment.
19738 2014-08-09  Allan McRae  <allan@archlinux.org>
19740         * Regenerate libc.po.
19742 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
19744         * intl/tst-gettext2.sh: Check every lang file for creation.
19746 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
19748         * sysdeps/aarch64/fpu/math_private.h
19749         (libc_feholdsetround_noex_aarch64_ctx): New function.
19751 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
19753         * sysdeps/arm/armv6/strcpy.S (strcpy):
19754         Fix performance issue in misaligned cases.
19756 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19758         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
19759         Move definition from termios.h.
19760         (struct termio): Likewise.
19761         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19762         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
19763         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
19764         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
19765         Likewise.
19766         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
19767         Move definition to ioctl-types.h
19768         (struct termio): Likewise.
19769         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19770         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
19771         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
19772         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
19773         Likewise.
19775 2014-08-05  Richard Henderson  <rth@redhat.com>
19777         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
19778         exceptions.
19779         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
19780         Add fraiseexcpt.
19781         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
19782         Use __feraiseexcept.
19783         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
19784         Protect libm symbols with IS_IN_libm.
19786         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
19788 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
19790         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
19792 2014-08-04  Will Newton  <will.newton@linaro.org>
19794         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
19795         file.
19797 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
19799         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
19800         variants for each function.
19802 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19804         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
19805         appended ...
19806         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
19807         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
19808         appended ...
19809         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
19810         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
19811         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
19812         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
19813         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
19814         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
19815         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
19816         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
19817         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
19818         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
19819         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
19820         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
19821         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
19822         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
19823         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
19824         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
19825         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
19826         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
19827         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
19828         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
19829         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
19830         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
19831         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
19832         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
19833         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
19834         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
19835         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
19836         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
19837         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
19838         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
19839         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
19840         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
19841         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
19842         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
19843         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
19844         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
19845         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
19846         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
19847         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
19848         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
19849         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
19850         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
19851         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
19852         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
19853         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
19854         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
19855         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
19856         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
19857         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
19858         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
19859         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
19860         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
19861         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
19862         Update #include.
19863         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
19864         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
19866 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19868         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
19869         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
19870         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
19871         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
19872         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
19873         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
19875 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19877         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
19878         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
19879         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19880         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
19882 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19884         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
19885         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
19886         (__libc_vfork): Define function under this name.
19887         (__vfork): Define as an alias.
19888         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
19889         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
19891 2014-08-04  Roland McGrath  <roland@hack.frob.com>
19893         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
19894         that was previously under [RESET_PID].
19895         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
19897 2014-08-04  Andreas Schwab  <schwab@suse.de>
19899         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
19901 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
19903         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
19904         (main): Likewise.
19906 2014-08-01  Roland McGrath  <roland@hack.frob.com>
19908         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
19910 2014-08-01  Richard Henderon  <rth@redhat.com>
19912         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
19913         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
19914         typo in exact zero test.
19915         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19916         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19917         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19919 2014-08-01  Roland McGrath  <roland@hack.frob.com>
19921         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
19922         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
19923         * sysdeps/arm/sysdep.h: ... here.
19924         [!__ASSEMBLER__]: Include <stdint.h>.
19926 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19928         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
19929         (HAVE_WCTYPE_H): Likewise.
19930         (HAVE_ISWCTYPE): Likewise.
19931         (ENABLE_NLS): Likewise.
19932         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
19933         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
19935         * posix/regex_internal.c: Check if DEBUG is defined and is
19936         set.
19938         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
19939         (HAVE_MBSRTOWCS): Likewise.
19940         * posix/fnmatch.c: Include string.h unconditionally.
19942 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
19944         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
19945         reversal.
19947 2014-07-31  Roland McGrath  <roland@hack.frob.com>
19949         * sysdeps/generic/safe-fatal.h: New file.
19950         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
19951         * nptl/forward.c: Include it.
19952         (__pthread_unwind): Use __safe_fatal as default action, rather
19953         than a bogus use of INTERNAL_SYSCALL that could never work.
19955         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
19956         * configure.ac (libc_cv_builtin_trap): New test.
19957         * configure: Regenerated.
19958         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
19959         (ABORT_INSTRUCTION): Define using __builtin_trap.
19961         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
19962         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
19963         * sysdeps/nptl/nptl-signals.h: New file.
19964         * nptl/pthreadP.h: Include <nptl-signals.h>.
19966 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19968         * sysdeps/s390/s390-64/utf16-utf32-z9.c
19969         (ONE_DIRECTION): Define.
19970         * sysdeps/s390/s390-64/utf8-utf16-z9.c
19971         (ONE_DIRECTION): Define.
19972         * sysdeps/s390/s390-64/utf8-utf32-z9.c
19973         (ONE_DIRECTION): Define.
19975 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19977         * sysdeps/s390/Makefile: Delete file.
19978         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
19979         * sysdeps/s390/__longjmp.c: Delete file.
19980         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
19981         Remove fields __flags and __reserved.
19982         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
19983         and add versioning.
19984         * sysdeps/s390/rtld-__longjmp.c: Delete file.
19985         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
19986         * sysdeps/s390/rtld-setjmp.S: Likewise.
19987         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
19988         * sysdeps/s390/s390-32/__longjmp.c: ... here.
19989         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
19990         * sysdeps/s390/s390-32/setjmp.S: ... here.
19991         Add versioning.
19992         (__sigsetjmp): Remove setting __flags field.
19993         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
19994         * sysdeps/s390/s390-64/__longjmp.c: ... here.
19995         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
19996         * sysdeps/s390/s390-64/setjmp.S: ... here.
19997         Add versioning.
19998         (__sigsetjmp): Remove setting __flags field.
19999         * sysdeps/s390/setjmp.S: Delete file.
20000         * sysdeps/s390/sigjmp.c: Likewise.
20001         * sysdeps/s390/v1-longjmp.c: Likewise.
20002         * sysdeps/s390/v1-setjmp.h: Likewise.
20003         * sysdeps/s390/v1-sigjmp.c: Likewise.
20004         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
20005         Remove v1-longjmp_chk.
20006         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
20007         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
20008         Include debug/longjmp_chk.c and add versioning.
20009         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
20010         Include nptl/pt-longjmp.c and add versioning.
20011         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
20012         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
20013         Include __longjmp.c.
20014         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
20015         Move to ...
20016         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
20017         (__getcontext): Remove setting __flags field.
20018         Add versioning.
20019         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20020         Don't restore upper high grps.
20021         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
20022         Likewise.
20023         (__swapcontext): Remove setting uc_flags field.
20024         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
20025         Delete file.
20026         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
20027         Include __longjmp.c.
20028         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
20029         Move to ...
20030         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
20031         (__getcontext): Remove setting __flags field.
20032         Add versioning.
20033         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
20034         (__swapcontext): Remove setting uc_flags field.
20035         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
20036         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
20037         Remove fields uc_high_gprs and __reserved.
20038         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
20039         New file with reverted content.
20040         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
20041         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
20042         Regenerated.
20043         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
20044         Regenerated.
20046 2014-07-31  Andreas Schwab  <schwab@suse.de>
20048         * config.h.in (HAVE_IFUNC): Define to 0.
20049         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
20050         definedness.
20052 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
20054         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20055         memmove-avx-unaligned, memcpy-avx-unaligned and
20056         mempcpy-avx-unaligned.
20057         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20058         Add tests for AVX memcpy functions.
20059         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
20060         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
20061         memcpy_chk.
20062         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
20063         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
20064         memmove_chk.
20065         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
20066         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
20067         mempcpy_chk.
20068         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
20069         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
20070         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
20072 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20074         [BZ #17213]
20075         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
20076         powerpc64le.
20078 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
20080         [BZ #16839]
20081         * manual/llio.texi: Add section about open file description locks.
20082         * manual/examples/ofdlocks.c: Example of open file description
20083         lock usage.
20084         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
20085         F_OFD_SETLK, and F_OFD_SETLKW.
20087 2014-07-23  Allan McRae  <allan@archlinux.org>
20089         * po/es.po: Update Spanish translation from translation project.
20091 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
20093         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
20095 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
20097         [BZ #17078]
20098         * sysdeps/arm/dl-machine.h (elf_machine_rela)
20099         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
20100         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
20102 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
20104         [BZ #17088]
20105         * math/fesetenv.c (__fesetenv)
20106         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
20107         * math/feupdateenv.c (__feupdateenv)
20108         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
20110         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
20111         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
20112         (__ASSUME_SOCKETCALL): Do not define.
20114         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
20115         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
20116         (__ASSUME_SOCKETCALL): Do not define.
20117         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
20118         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
20119         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20120         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
20121         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20122         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
20123         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20124         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20126         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
20127         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
20128         (__ASSUME_SOCKETCALL): Do not define.
20129         (__ASSUME_IPC64): Define unconditionally.
20130         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
20131         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20132         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
20133         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20134         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
20135         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20136         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
20137         Likewise.
20139         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
20140         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
20141         (__ASSUME_SOCKETCALL): Do not define.
20142         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
20143         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20144         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20145         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
20146         (__ASSUME_REQUEUE_PI): Define unconditionally.
20147         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
20148         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
20149         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20150         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
20151         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20152         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20154         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
20155         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
20156         (__ASSUME_SOCKETCALL): Do not define.
20157         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
20158         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20159         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20160         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
20161         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20162         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20164         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
20165         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
20166         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20167         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
20168         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20169         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
20170         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20171         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
20172         (__ASSUME_GETCPU_SYSCALL): Likewise.
20174         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
20175         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
20176         cases for individual architectures.
20177         * sysdeps/gnu/configure: Regenerated.
20178         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
20179         LIBC_SLIBDIR_RTLDDIR.
20180         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
20181         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
20182         LIBC_SLIBDIR_RTLDDIR.
20183         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
20184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
20185         LIBC_SLIBDIR_RTLDDIR.
20186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
20187         Regenerated.
20188         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
20189         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
20190         file.
20191         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
20192         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
20193         file.
20194         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
20195         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
20196         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
20197         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
20199         * sysdeps/aarch64/shlib-versions: Move to ...
20200         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
20201         * sysdeps/alpha/shlib-versions: Move to ...
20202         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
20203         * sysdeps/arm/shlib-versions: Move to ...
20204         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
20205         * sysdeps/hppa/shlib-versions: Move all contents except for
20206         libgcc_s entry to ...
20207         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
20208         entry from ...
20209         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
20210         * sysdeps/ia64/shlib-versions: Move to ...
20211         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
20212         entry from ...
20213         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
20214         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
20215         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
20216         * sysdeps/microblaze/shlib-versions: Move to ...
20217         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
20218         * sysdeps/mips/shlib-versions: Move to ...
20219         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
20220         entry from ...
20221         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
20222         * sysdeps/tile/shlib-versions: Move to ...
20223         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
20224         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
20225         from ...
20226         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
20227         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
20228         entry from ...
20229         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
20231 2014-07-17  Will Newton  <will.newton@linaro.org>
20233         * sysdeps/arm/bits/atomic.h
20234         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
20235         (__arch_compare_and_exchange_bool_16_int): Likewise.
20236         (__arch_compare_and_exchange_bool_64_int): Likewise.
20238         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
20239         into an #else block.
20241 2014-07-16  Roland McGrath  <roland@hack.frob.com>
20243         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
20244         just Linux configurations.  Test empirically that the compiler sets
20245         __ARM_EABI__, rather than using the tuple to decide.
20246         * sysdeps/arm/preconfigure: Regenerated.
20247         * sysdeps/unix/sysv/linux/arm/configure: File removed.
20248         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
20249         contents appended ...
20250         * sysdeps/arm/configure.ac: ... here.
20251         * sysdeps/arm/configure: Regenerated.
20253 2014-07-15  Roland McGrath  <roland@hack.frob.com>
20255         * nptl/pthread_kill.c: New file.
20256         * nptl/pthread_sigmask.c: New file.
20257         * nptl/pthread_sigqueue.c: New file.
20259         * sysdeps/nptl/lowlevellock.h: New file.
20260         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
20261         * sysdeps/nptl/lowlevellock-futex.h: New file.
20263         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
20264         Remove dead declarations.
20266 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
20268         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
20269         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
20270         config-cflags-avx2.
20271         * sysdeps/x86_64/configure.ac: Likewise.
20272         * sysdeps/i386/configure: Regenerated.
20273         * sysdeps/x86_64/configure: Likewise.
20274         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20275         memset-avx2 only if config-cflags-avx2 is yes.
20276         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20277         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
20278         defined.
20279         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
20280         only if HAVE_AVX2_SUPPORT is defined.
20281         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20283 2014-07-14  Alan Modra  <amodra@gmail.com>
20285         [BZ #17153]
20286         * elf/elf.h (DT_PPC64_NUM): Correct value.
20287         * NEWS: Add to fixed bug list.
20289 2014-07-13  Jim Meyering  <meyering@fb.com>
20291         [BZ 17150]
20292         regex: don't deref NULL upon heap allocation failure
20293         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
20294         failure in one more place.
20295         To trigger the segfault, configure grep -with-included-regex,
20296         build it, and run these commands:
20297         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
20299 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
20301         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
20303 2014-07-11  Richard Henderson  <rth@redhat.com>
20305         * sysdeps/aarch64/libm-test-ulps: Update.
20307 2014-07-10  Florian Weimer  <fweimer@redhat.com>
20309         [BZ #17135]
20310         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
20311         * nptl/allocatestack.c (__nptl_setxid_error): New function.
20312         (__nptl_setxid): Initialize error member.  Call
20313         __nptl_setxid_error.
20314         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
20315         * nptl/descr.h (struct xid_command): Add error member.
20316         * nptl/tst-setuid3.c: New file.
20317         * nptl/Makefile (tests): Add it.
20319 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20321         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
20322         New define.
20323         (__lll_trylock): Use __lll_base_trylock.
20324         (__lll_cond_trylock): Likewise.
20326 2014-07-10  Roland McGrath  <roland@hack.frob.com>
20328         * nptl/pthread_create.c (start_thread): Use atomic_or and
20329         lll_futex_wake directly rather than lll_robust_dead.
20330         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
20331         (lll_robust_dead): Macro removed.
20332         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
20333         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
20334         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
20335         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20336         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20337         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
20338         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
20339         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20340         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
20341         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20342         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20343         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20344         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20345         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20346         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20348         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
20349         Use atomic_compare_and_exchange_val_acq directly rather than
20350         lll_robust_trylock.
20351         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
20352         (__lll_robust_trylock, lll_robust_trylock): Removed.
20353         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
20354         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
20355         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20356         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20357         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
20358         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
20359         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20360         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
20361         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20362         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20363         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20364         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20365         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20366         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20368 2014-07-02  Florian Weimer  <fweimer@redhat.com>
20370         * manual/locale.texi (Locale Names): New section documenting
20371         locale name syntax.  Adjust menu and node chaining accordingly.
20372         (Choosing Locale): Reference Locale Names, Locale Categories.
20373         Mention setting LC_ALL=C.  Reflect that name syntax is now
20374         documented.
20375         (Locale Categories): New section title.  Reference Locale Names.
20376         LC_ALL is an environment variable, but not a category.
20377         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
20378         description, now in Locale Name.  Reference that section.  Locale
20379         name syntax is now documented.
20381 2014-07-02  Florian Weimer  <fweimer@redhat.com>
20383         [BZ #17137]
20384         * locale/findlocale.c (name_present, valid_locale_name): New
20385         functions.
20386         (_nl_find_locale): Use the loc_name variable to store name
20387         candidates.  Call name_present and valid_locale_name to check and
20388         validate locale names.  Return an error if the locale is invalid.
20390 2014-07-02  Florian Weimer  <fweimer@redhat.com>
20392         * locale/setlocale.c (setlocale): Use strdup for allocating
20393         composite name copy.
20395 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20397         Sync up with gnulib.
20398         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
20399         [!_LIBC && ENABLE_NLS]: Include gettext.h.
20400         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
20401         and _GL_ARG_NONNULL.
20402         [USE_UNLOCKED_IO]: Include unlocked-io.h.
20403         [!_LIBC]: Include code for Windows and Cygwin.
20404         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
20405         Include prototype for int strerror_r.
20406         [!_LIBC] (is_open): New function.
20407         (flush_stdout): New function.
20408         (print_errno_message): Use it.
20409         (error): Likewise.
20410         (error_at_line): Likewise.
20411         (error_tail) Add function attribute macros.  Use
20412         __builtin_expect.
20414         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
20416         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
20418         * io/ftw.c: Include sys/param.h unconditionally.
20420         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
20422         [BZ #17125]
20423         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
20424         libc_freeres_ptr.
20425         (freecache): New function to free CACHE on exit.
20427         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
20428         initialization.
20430 2014-07-09  David S. Miller  <davem@davemloft.net>
20432         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20434         * sysdeps/sparc/nptl/internaltypes.h: Delete.
20435         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
20436         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
20437         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
20438         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
20439         * sysdeps/sparc/nptl/sem_init.c: Likewise.
20440         * sysdeps/sparc/nptl/sem_post.c: Likewise.
20441         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
20442         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
20443         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
20444         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
20445         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
20446         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
20448 2014-07-09  Andreas Schwab  <schwab@suse.de>
20450         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
20451         output.
20452         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
20453         (do_test): Likewise.
20455         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
20457 2014-07-09  Will Newton  <will.newton@linaro.org>
20459         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
20460         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
20461         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
20462         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
20463         * sysdeps/hppa/start.S (_start): Likewise.
20465 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
20467         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
20469         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
20470         defined.
20472 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20474         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
20475         after checking that it is non-NULL.
20477         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
20479 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20481         * sysdeps/powerpc/memmove.c: Remove file.
20482         * sysdeps/powerpc/powerpc32/power4/memcopy.h
20483         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
20484         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
20485         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
20486         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
20487         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
20488         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
20489         string memmove instead of removed powerpc one.
20491         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20492         [weak_alias]: Fix compiler warning due trailing data.
20493         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
20494         [weak_alias]: Likewise.
20495         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
20496         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
20498         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20499         (__libc_ifunc_impl_list): Add memmove functions.
20501 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20503         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
20504         Remove code.
20505         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
20506         Likewise
20507         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
20508         Likewise
20509         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
20510         Likewise
20511         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
20512         Likewise
20513         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
20514         Likewise
20515         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
20516         Likewise
20517         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
20518         Likewise
20519         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
20520         Likewise
20521         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
20522         Likewise
20523         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
20524         Likewise
20525         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
20526         Likewise
20527         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
20528         Likewise
20529         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
20530         Likewise
20531         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
20532         Likewise
20533         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
20534         Likewise
20535         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
20536         Likewise
20538 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20540         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
20541         to avoid alignment traps in non-cacheable memory.
20542         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
20544         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
20545         multiarch objects.
20546         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
20547         file: multiarch power7 memmove.
20548         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
20549         multiarch default memmove.
20550         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
20551         multiarch memove for powerpc32/power4.
20553         * string/bcopy.c: Use full path to include memmove.c.
20554         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
20555         multiarch objects.
20556         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
20557         bcopy for powerpc64.
20558         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
20559         bcopy for powerpc64.
20560         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
20561         and memmove implementations.
20562         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
20563         optimized multiarch memmove for POWER7/powerpc64.
20564         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
20565         default multiarch memmove for powerpc64.
20566         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
20567         multiarch for powerpc64.
20568         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
20569         for POWER7/powerpc64.
20570         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
20571         memmove for POWER7/powerpc64.
20573         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
20574         glibc default one.
20576         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
20577         __ELF_NATIVE_CLASS equal to 64.
20579 2014-07-07  Roland McGrath  <roland@hack.frob.com>
20581         * sysdeps/nptl/lowlevellock.h: File removed.
20583         * NEWS: NPTL is no longer an add-on!
20584         * nptl/internaltypes.h: Moved ...
20585         * sysdeps/nptl/internaltypes.h: ... here.
20586         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
20587         * sysdeps/nptl/fork.c: Likewise.
20588         * sysdeps/nptl/gai_misc.h: Likewise.
20589         * sysdeps/nptl/librt-cancellation.c: Likewise.
20590         * sysdeps/nptl/jmp-unwind.c: Likewise.
20591         * sysdeps/nptl/setxid.h: Likewise.
20592         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
20593         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
20594         * sysdeps/unix/sysv/linux/arm/Implies: New file.
20595         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
20596         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
20597         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
20598         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
20599         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
20600         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
20601         * sysdeps/unix/sysv/linux/mips/Implies: New file.
20602         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
20603         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
20604         * sysdeps/unix/sysv/linux/sh/Implies: New file.
20605         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
20606         * sysdeps/unix/sysv/linux/tile/Implies: New file.
20607         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
20608         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
20609         * nptl/Makeconfig: Moved ...
20610         * sysdeps/nptl/Makeconfig: ... here.
20611         * nptl/configure: File removed.
20612         * nptl/ANNOUNCE: File removed.
20613         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
20614         * sysdeps/unix/sysv/linux/configure: Regenerated.
20616         * nptl/Makefile (routines): Add libc_pthread_init,
20617         libc_multiple_threads, register-atfork and unregister-atfork.
20618         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
20619         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
20620         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
20621         pthread-pi-defines.sym, structsem.sym.
20622         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
20623         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
20624         [$(subdir) = nptl] (tests): Add tst-setgetname.
20625         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
20626         * sysdeps/unix/sysv/linux/sigaction.c: Just include
20627         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
20628         [!LIBC_SIGACTION]: Remove aliases.
20629         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
20630         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
20631         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
20632         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
20633         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
20634         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
20635         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20636         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20637         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
20638         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
20639         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
20640         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
20641         __libc_allocate_rtsig_private.
20642         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
20643         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
20644         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
20645         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
20646         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
20647         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
20648         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
20649         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
20650         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
20651         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
20652         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
20653         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
20654         * nptl/internaltypes.h: ... here.
20655         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
20656         * sysdeps/nptl/jmp-unwind.c: ... here.
20657         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
20658         * nptl/libc-lowlevellock.c: ... here.
20659         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
20660         * nptl/libc_multiple_threads.c: ... here.
20661         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
20662         * nptl/libc_pthread_init.c: ... here.
20663         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
20664         * nptl/lowlevelbarrier.sym: ... here.
20665         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
20666         * nptl/lowlevelcond.sym: ... here.
20667         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
20668         * nptl/lowlevellock.c: ... here.
20669         * nptl/lowlevellock.h: Moved ...
20670         * sysdeps/nptl/lowlevellock.h: ... here.
20671         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
20672         * nptl/lowlevelrobustlock.c: ... here.
20673         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
20674         * nptl/lowlevelrobustlock.sym: ... here.
20675         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
20676         * nptl/lowlevelrwlock.sym: ... here.
20677         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
20678         * nptl/pt-fork.c: ... here.
20679         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
20680         * nptl/pthread-pi-defines.sym: ... here.
20681         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
20682         * nptl/pthread_attr_getaffinity.c: ... here.
20683         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
20684         * nptl/pthread_attr_setaffinity.c: ... here.
20685         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
20686         * nptl/pthread_mutex_cond_lock.c: ... here.
20687         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
20688         Update #include.
20689         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
20690         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
20691         * nptl/pthread_once.c: ... here, replacing old file.
20692         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
20693         * nptl/pthread_yield.c: ... here.
20694         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
20695         * nptl/register-atfork.c: ... here.
20696         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
20697         * nptl/sem_post.c: ... here.
20698         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
20699         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
20700         * nptl/sem_timedwait.c: ... here.
20701         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
20702         * nptl/sem_trywait.c: ... here.
20703         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
20704         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
20705         * nptl/sem_wait.c: ... here.
20706         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
20707         * nptl/structsem.sym: ... here.
20708         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
20709         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
20710         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
20711         * nptl/unregister-atfork.c: ... here.
20712         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
20713         * nptl/unwindbuf.sym: ... here.
20714         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
20715         * sysdeps/nptl/fork.c: ... here.
20716         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
20717         * sysdeps/nptl/fork.h: ... here.
20718         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
20719         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
20720         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
20721         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
20722         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
20723         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
20724         * sysdeps/unix/sysv/linux/getpid.c: ... here.
20725         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
20726         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
20727         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
20728         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
20729         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
20730         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
20731         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
20732         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
20733         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
20734         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
20735         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
20736         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
20737         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
20738         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
20739         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
20740         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
20741         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
20742         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
20743         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
20744         * sysdeps/unix/sysv/linux/raise.c: ... here.
20745         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
20746         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
20747         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
20748         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
20749         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
20750         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
20751         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
20752         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
20753         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
20754         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
20755         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
20756         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
20757         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
20758         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
20759         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
20761 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20763         * sysdeps/generic/memcopy.h: Add comment for
20764         MEMCPY_OK_FOR_FWD_MEMMOVE.
20766 2014-07-04  Will Newton  <will.newton@linaro.org>
20768         * string/memchr.c: Merge from gnulib.
20769         [_LIBC]: Remove conditionals.
20770         (__ptr_t): Remove define.
20771         (LONG_MAX_32_BITS): Likewise.
20772         (LONG_MAX): Likewise.
20773         (MEMCHR): Use ANSI prototype and optimize algorithm.
20775         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
20777 2014-07-03  Roland McGrath  <roland@hack.frob.com>
20779         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
20780         (lll_futex_timed_wait_bitset): Fix syscall argument count.
20782         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
20783         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
20784         in a bare environment with no <stdlib.h> installed.
20785         * sysdeps/nptl/configure: Regenerated.
20787         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
20789         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
20790         AC_EGREP_CPP for kernel header checks, so they only succeed if
20791         including <linux/version.h> actually works right.
20792         * sysdeps/unix/sysv/linux/configure: Regenerated.
20794         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
20795         value so it's not diagnosed as unused.
20797         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
20798         thing) with "ifeq ($(subdir),rt)".
20800 2014-07-03  Richard Henderson  <rth@redhat.com>
20802         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
20803         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
20804         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
20806         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
20807         (math_force_eval): New.
20809         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
20810         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
20812         * sysdeps/alpha/fpu/s_round.c: Remove file.
20813         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
20815         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
20816         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
20817         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
20818         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
20819         (_dl_start, print_statistics): Likewise.
20820         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
20821         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
20823         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20824         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20825         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20826         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20827         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
20828         (HP_SMALL_TIMING_AVAIL): Define.
20829         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20830         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
20831         (HP_SMALL_TIMING_AVAIL): Define.
20832         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20833         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
20835         * sysdeps/aarch64/hp-timing.h: New file.
20837         * sysdeps/generic/hp-timing.h: Remove dead comment.
20838         * sysdeps/generic/hp-timing-common.h: New file.
20839         * sysdeps/alpha/hp-timing.h: Include it.
20840         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
20841         * sysdeps/i386/i686/hp-timing.h: Likewise.
20842         * sysdeps/ia64/hp-timing.h: Likewise.
20843         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20844         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20845         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
20846         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
20847         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
20848         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
20849         (hp_timing_t): New.
20851         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
20852         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
20853         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
20854         * elf/rtld.c (_dl_start_final): Likewise.
20855         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
20856         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20857         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20858         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20859         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20860         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
20861         (HP_TIMING_DIFF_INIT): Remove.
20862         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20863         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
20864         (HP_TIMING_DIFF_INIT): Remove.
20865         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
20866         * sysdeps/i386/i686/hp-timing.c: Remove file.
20867         * sysdeps/x86_64/hp-timing.c: Remove file.
20868         * sysdeps/ia64/hp-timing.c: Remove file.
20869         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
20870         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
20871         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
20872         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
20874         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
20875         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
20876         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
20877         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
20878         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
20879         (HP_TIMING_ACCUM): Remove.
20880         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
20881         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
20882         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
20884         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
20885         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
20886         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
20887         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
20888         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
20889         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
20890         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
20891         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
20893         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
20895 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
20897         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
20899 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20901         Sync up with gettext.
20902         * intl/loadmsgcat.c: Define O_BINARY if not defined.
20903         [_MSC_VER]: Include malloc.h
20904         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
20905         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
20906         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
20907         TEMP_FAILURE_RETRY.  Cast return of alloca.
20908         [!_LIBC] Call gl_rwlock_init.
20909         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
20911 2014-07-02  Roland McGrath  <roland@hack.frob.com>
20913         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
20914         before checking its value.
20916 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20918         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
20920         * debug/memcpy_chk.c: Don't include pagecopy.h.
20921         * debug/mempcpy_chk.c: Likewise.
20922         * string/memcpy.c: Likewise.
20923         * string/memmove.c: Likewise.
20924         * sysdeps/powerpc/memmove.c: Likewise.
20925         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
20926         definition of PAGE_COPY_FWD_MAYBE here...
20927         * sysdeps/generic/pagecopy.h: ... from here.
20928         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
20930 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20931             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20933         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
20934         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
20935         optimizations.
20936         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20937         (__libc_ifunc_impl_list): Likewise.
20938         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
20939         multiarch strcat for PPC64.
20940         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
20941         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
20943 2014-07-02  Roland McGrath  <roland@hack.frob.com>
20945         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
20947 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20949         * intl/loadmsgcat.c: Remove declaration of
20950         get_sysdep_segment_value.
20951         (get_sysdep_segment_value): Use ISO C style.
20952         (_nl_load_domain): Use ISO C style.  Get rid of redundant
20953         semicolon.  Fix typo and formatting in comment.
20954         (_nl_unload_domain): Use ISO C style.
20956         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
20958 2014-07-02  Will Newton  <will.newton@linaro.org>
20960         * malloc/obstack.c: Merge from gnulib master.
20961         [HAVE_CONFIG_H]: Remove conditional code.
20962         [!_LIBC]: Include config.h.
20963         [!ELIDE_CODE]: Don't include inttypes.h, include
20964         stdint.h unconditionally.
20965         (print_and_abort): Mark as _Noreturn.
20966         (_obstack_allocated_p): Mark as __attribute_pure__.
20967         (obstack_free): Rename to __obstack_free.
20968         [!__attribute__]: Remove conditional code.
20969         * malloc/obstack.h: Merge from gnulib master.
20970         [__cplusplus]: Move conditional down.
20971         [!__attribute_pure__]: Define __attribute_pure__ here
20972         if it is not already defined.
20973         (_obstack_memory_used): Mark as __attribute_pure__.
20974         [!__obstack_free]: Define as obstack_free.
20975         [__GNUC__]: Remove check for ancient NeXT gcc.
20977 2014-07-02  Will Newton  <will.newton@linaro.org>
20978             Paul Eggert  <eggert@cs.ucla.edu>
20980         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
20982 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20984         * resolv/gethnamaddr.c: Add comment warning that the file is
20985         not maintained.
20987 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
20989         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
20990         entries.
20992         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
20993         entry for aio_cancel and aio_cancel64.
20994         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
20995         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
20996         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
20997         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
20998         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
20999         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
21000         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
21001         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
21002         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
21003         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
21004         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
21005         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
21006         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
21008 2014-07-01  Roland McGrath  <roland@hack.frob.com>
21010         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
21011         * nptl/pthread_mutex_lock.c: Likewise.
21012         * nptl/pthread_mutex_timedlock.c: Likewise.
21013         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
21015 2014-07-01  Richard henderson  <rth@redhat.com>
21017         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
21018         (__isnan, __isnanl): Remove.
21019         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
21021         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21023 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
21025         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21027 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21029         * resolv/nss_dns/dns-host.c (getanswer_r)
21030         [MULTI_PTRS_ARE_ALIASES]: Remove code.
21032 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
21034         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21035         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
21036         undefine.
21037         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
21038         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
21040 2014-07-01  Roland McGrath <roland@hack.frob.com>
21042         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
21043         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
21045         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
21046         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
21048         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
21049         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
21050         ... here.
21051         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
21052         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
21054         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
21055         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
21056         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
21057         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
21059         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
21060         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
21061         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
21062         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
21063         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
21064         Moved ...
21065         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
21066         ... here.
21067         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
21068         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
21069         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
21070         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
21071         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
21072         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
21073         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
21074         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
21075         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
21076         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
21077         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
21078         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
21079         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
21080         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
21081         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
21082         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
21083         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
21084         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
21085         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
21086         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
21087         ... here.
21088         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
21089         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
21090         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
21091         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
21092         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
21093         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
21094         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
21095         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
21097 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
21099         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
21100         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
21101         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
21102         Add sysdep.
21104 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21106         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21108 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
21110         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21111         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21113         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21115         * sysdeps/arm/libm-test-ulps: Regenerated.
21117 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
21118             Roland McGrath <roland@hack.frob.com>
21120         * test-skeleton.c (signal_handler): Kill the whole process group
21121         before killing the child individually.
21122         (main): Report any failure on `setpgid'.
21124 2014-06-30  Roland McGrath  <roland@hack.frob.com>
21126         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
21127         from _TLS_H to _ARM_NPTL_TLS_H.
21128         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
21129         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
21131 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
21133         [BZ #16539]
21134         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
21135         (__expm1l): Return argument unchanged when small but not
21136         subnormal.
21138         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
21139         include macro name.
21140         (_FP_UNPACK_RAW_1_P): Likewise.
21141         (_FP_PACK_RAW_1): Likewise.
21142         (_FP_PACK_RAW_1_P): Likewise.
21143         (_FP_MUL_MEAT_1_wide): Likewise.
21144         (_FP_MUL_MEAT_DW_1_hard): Likewise.
21145         (_FP_MUL_MEAT_1_hard): Likewise.
21146         (_FP_DIV_MEAT_1_imm): Likewise.
21147         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
21148         (_FP_DIV_MEAT_1_udiv): Likewise.
21149         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
21150         (_FP_UNPACK_RAW_2): Likewise.
21151         (_FP_UNPACK_RAW_2_P): Likewise.
21152         (_FP_PACK_RAW_2): Likewise.
21153         (_FP_PACK_RAW_2_P): Likewise.
21154         (_FP_MUL_MEAT_DW_2_wide): Likewise.
21155         (_FP_MUL_MEAT_2_wide): Likewise.
21156         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
21157         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
21158         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
21159         (_FP_MUL_MEAT_2_gmp): Likewise.
21160         (_FP_DIV_MEAT_2_udiv): Likewise.
21161         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
21162         (_FP_FRAC_SRL_4): Likewise.
21163         (_FP_FRAC_SRST_4): Likewise.
21164         (_FP_FRAC_SRS_4): Likewise.
21165         (_FP_UNPACK_RAW_4): Likewise.
21166         (_FP_UNPACK_RAW_4_P): Likewise.
21167         (_FP_PACK_RAW_4): Likewise.
21168         (_FP_PACK_RAW_4_P): Likewise.
21169         (_FP_MUL_MEAT_DW_4_wide): Likewise.
21170         (_FP_MUL_MEAT_4_wide): Likewise.
21171         (_FP_MUL_MEAT_4_gmp): Likewise.
21172         (umul_ppppmnnn): Likewise.
21173         (_FP_DIV_MEAT_4_udiv): Likewise.
21174         (__FP_FRAC_ADD_4): Likewise.
21175         (__FP_FRAC_SUB_3): Likewise.
21176         (__FP_FRAC_SUB_4): Likewise.
21177         (__FP_FRAC_DEC_3): Likewise.
21178         (__FP_FRAC_DEC_4): Likewise.
21179         (__FP_FRAC_ADDI_4): Likewise.
21180         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
21181         (_FP_FRAC_SRL_8): Likewise.
21182         (_FP_FRAC_SRS_8): Likewise.
21184         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
21185         include macro name.
21186         (FP_UNPACK_RAW_EP): Likewise.
21187         (FP_PACK_RAW_E): Likewise.
21188         (FP_PACK_RAW_EP): Likewise.
21189         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
21190         (_FP_ISSIGNAN): Likewise.
21191         (_FP_ADD_INTERNAL): Likewise.
21192         (_FP_FMA): Likewise.
21193         (_FP_CMP): Likewise.
21194         (_FP_SQRT): Likewise.
21195         (_FP_TO_INT): Likewise.
21196         (_FP_FROM_INT): Likewise.
21197         (FP_EXTEND): Likewise.
21198         (_FP_DIV_MEAT_N_loop): Likewise.
21200 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
21202         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
21203         throughout.
21205 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
21207         [BZ #17097]
21208         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
21209         result with correct sign in case of exponents that produce
21210         overflow except for X very close to 1.
21212 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
21214         mktime: merge #if/#ifdef usage from glibc
21215         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
21216         as that works with both Glibc's and Gnulib's style.
21217         See thread starting at Siddhesh Poyarekar's bug report at:
21218         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
21220 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21222         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
21223         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
21224         * sysdeps/tile/tilegx/memmove.c: Remove file.
21226 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
21228         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
21229         abi-name definition.
21230         * scripts/soversions.awk: Do not handle or generate ABI lines.
21231         * shlib-versions: Remove ABI entries.
21232         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
21233         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
21235 2014-06-27  Roland McGrath  <roland@hack.frob.com>
21237         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
21238         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
21239         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
21240         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
21241         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
21242         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
21243         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
21244         Moved ...
21245         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
21246         ... here.
21247         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
21248         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
21249         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
21250         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
21251         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
21252         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
21253         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
21254         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
21255         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
21256         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
21257         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
21258         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
21259         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
21260         Moved ...
21261         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
21262         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
21263         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
21264         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
21265         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
21266         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
21267         Moved ...
21268         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
21269         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
21270         Moved ...
21271         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
21272         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
21273         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
21274         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
21275         Moved ...
21276         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
21277         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
21278         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
21279         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
21280         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
21281         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
21282         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
21283         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
21284         Moved ...
21285         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
21286         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
21287         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
21288         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
21289         Moved ...
21290         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
21291         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
21292         Moved ...
21293         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
21294         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
21295         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
21296         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
21297         Moved ...
21298         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
21299         ... here.
21300         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
21301         Identical file removed.
21302         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
21303         Moved ...
21304         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
21305         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
21306         Identical file removed.
21307         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
21308         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
21309         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
21310         Moved ...
21311         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
21312         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
21313         Identical file removed.
21314         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
21315         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
21316         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
21317         Identical file removed.
21318         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
21319         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
21320         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
21321         Identical file removed.
21322         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
21323         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
21324         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
21325         Identical file removed.
21326         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
21327         Moved ...
21328         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
21329         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
21330         Identical file removed.
21331         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
21332         Moved ...
21333         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
21334         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
21335         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
21336         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
21337         Identical file removed.
21338         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
21339         Moved ...
21340         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
21341         ... here.
21342         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
21343         Identical file removed.
21344         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
21345         Moved ...
21346         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
21347         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
21348         Identical file removed.
21349         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
21350         Moved ...
21351         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
21352         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
21353         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
21354         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
21355         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
21356         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
21357         Moved ...
21358         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
21359         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
21360         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
21362         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
21363         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
21364         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
21365         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
21366         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
21368 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
21370         [BZ #17092]
21371         * nscd/nscd.c (monitor_child): Return exit status of child
21372         instead of return value from wait syscall.
21374 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
21376         * configure.ac (libc_commonpagesize): Remove variable.
21377         (libc_relro_required): Likewise.
21378         (libc_cv_z_relro): Remove configure test.
21379         * configure: Regenerated.
21380         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
21381         variable.
21382         (libc_relro_required): Likewise.
21383         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
21384         (libc_relro_required): Likewise.
21385         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
21386         (libc_relro_required): Likewise.
21387         * sysdeps/arm/preconfigure: Regenerated.
21388         * sysdeps/ia64/preconfigure: Remove file.
21389         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
21390         variable.
21391         (libc_relro_required): Likewise.
21393         [BZ #16561]
21394         [BZ #16562]
21395         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
21396         (__ieee754_yn): Set FE_TONEAREST mode internally and then
21397         recompute overflowing results in original rounding mode.
21398         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
21399         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
21400         recompute overflowing results in original rounding mode.
21401         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
21402         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
21403         recompute overflowing results in original rounding mode.
21404         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
21405         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
21406         recompute overflowing results in original rounding mode.
21407         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
21408         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
21409         recompute overflowing results in original rounding mode.
21410         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
21411         (libc_feholdsetround_ctx): New macro.
21412         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
21413         * sysdeps/i386/fpu/libm-test-ulps: Update.
21414         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
21416 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
21418         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
21419         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
21420         corresponding .cpsetup call.
21422 2014-06-26  Roland McGrath  <roland@hack.frob.com>
21424         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
21425         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
21426         * sysdeps/arm/Makefile [$(subdir) = csu]
21427         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
21428         (static-only-routines): Add aeabi_read_tp here.
21429         (shared-only-routines): Add libc-aeabi_read_tp here.
21430         (CFLAGS-libc-start.c): Add -fexceptions here.
21431         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
21432         (sysdep_routines, static-only-routines, shared-only-routines):
21433         Don't add to these here.
21434         (CFLAGS-libc-start.c): Likewise.
21436         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
21437         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
21438         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
21439         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
21440         * sysdeps/arm/Makefile [$(subdir) = rt]
21441         (librt-sysdep_routines, librt-shared-only-routines):
21442         Append rt-aeabi_unwind_cpp_pr1 here.
21443         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
21444         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
21445         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
21446         (libpthread-sysdep_routines, libpthread-shared-only-routines):
21447         Append nptl-aeabi_unwind_cpp_pr1 here.
21448         (tests): Filter out tst-cleanupx4 here.
21449         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
21450         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
21451         Don't do those here.
21453 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
21455         * scripts/list-sources.sh: Do not handle ports specially.
21457 2014-06-26  Roland McGrath  <roland@hack.frob.com>
21459         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
21460         * sysdeps/arm/feupdateenv.c: Likewise.
21462         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
21464 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
21466         * manual/texinfo.tex: Update to version 2014-05-05.10 with
21467         trailing whitespace removed.
21468         * scripts/config.guess: Update to version 2014-03-23.
21469         * scripts/config.sub: Update to version 2014-05-01
21470         * scripts/install-sh: Update to version 2013-12-25.23.
21471         * scripts/move-if-change: Update from gnulib.
21473 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21475         * debug/memmove_chk.c: Remove pagecopy.h include.
21477 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
21479         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
21480         identical to gnulib mktime.
21482 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
21484         * configure.ac: Do not test for machine being rs6000.  Do not test
21485         for powerpc*-*soft.
21486         * configure: Regenerated.
21488         [BZ #11505]
21489         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
21490         test.
21491         * configure: Regenerated.
21492         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
21493         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
21494         Remove configure test.
21495         * sysdeps/arm/configure: Regenerated.
21496         * sysdeps/nptl/configure.ac: Do not check
21497         libc_cv_asm_cfi_directives.
21498         * sysdeps/nptl/configure: Regenerated.
21499         * sysdeps/x86_64/nptl/configure.ac: Remove file.
21500         * sysdeps/x86_64/nptl/configure: Remove generated file.
21501         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
21502         unconditional.
21503         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
21505 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21507         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
21508         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
21509         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
21510         it is defined.
21512         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
21513         instead of whether it is defined.
21514         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
21515         * sysdeps/hppa/dl-machine.h: Likewise.
21516         * sysdeps/ia64/dl-machine.h: Likewise.
21517         * sysdeps/m68k/dl-machine.h: Likewise.
21518         * sysdeps/microblaze/dl-machine.h: Likewise.
21519         * sysdeps/mips/dl-machine.: Likewise.
21520         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
21521         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21522         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
21523         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
21524         * sysdeps/sh/dl-machine.h: Likewise.
21525         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21526         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21527         * sysdeps/tile/dl-machine.h: Likewise.
21528         * sysdeps/x86_64/dl-machine.h: Likewise.
21530         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
21531         code.
21532         (verify_persistent_db): Likewise.
21534 2014-06-26  Roland McGrath  <roland@hack.frob.com>
21536         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
21537         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
21538         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
21539         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
21540         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21541         Moved ...
21542         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
21543         ... here.
21544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
21545         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
21546         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
21547         Identical file removed.
21548         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
21549         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
21550         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
21551         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
21552         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
21553         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
21554         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
21555         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
21556         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
21557         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
21558         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21559         Moved ...
21560         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
21561         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
21562         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
21563         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
21564         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
21565         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21566         Moved ...
21567         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
21568         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
21569         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
21570         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
21571         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
21572         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21573         Identical file removed.
21574         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
21575         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
21576         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
21577         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
21578         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21579         Moved ...
21580         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
21581         ... here.
21582         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
21583         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
21584         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
21585         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
21586         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
21587         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
21588         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
21589         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
21590         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
21591         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
21592         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21593         Moved ...
21594         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
21595         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
21596         Moved ...
21597         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
21598         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
21599         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
21600         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21601         Moved ...
21602         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
21603         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
21604         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
21606         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
21607         folded into ...
21608         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
21609         * sysdeps/unix/sysv/linux/s390/Versions
21610         (libpthread: GLIBC_2.19): New version set.
21611         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
21612         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
21613         (librt: GLIBC_2.3.3): New version set.
21614         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
21615         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
21616         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
21617         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
21618         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
21619         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
21620         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
21621         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
21622         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
21623         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
21624         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
21625         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
21626         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
21627         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
21628         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
21629         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
21630         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
21631         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
21632         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
21633         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
21634         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
21635         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
21636         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
21637         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
21638         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
21639         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
21640         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
21641         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
21642         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
21643         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
21644         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
21645         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
21646         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
21647         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
21648         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
21649         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
21650         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
21651         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
21652         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
21653         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
21654         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
21655         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
21656         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
21657         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
21658         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
21660         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
21661         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
21662         (__libc_vfork): Define the function under this name.
21663         [!NOT_IN_libc] (__vfork): Make this an alias.
21664         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
21665         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
21666         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
21667         (__libc_vfork): Define the function under this name.
21668         [!NOT_IN_libc] (__vfork): Make this an alias.
21669         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
21670         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
21671         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
21672         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
21673         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
21674         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21676         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
21677         code that was previously under [RESET_PID].
21678         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
21679         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
21680         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
21682         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
21683         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
21684         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
21685         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
21686         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
21687         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
21688         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
21689         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
21690         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
21691         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
21692         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
21693         Moved ...
21694         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
21695         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
21696         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
21697         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
21698         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
21699         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
21700         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
21701         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
21702         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
21703         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
21704         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
21705         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
21706         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
21707         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
21708         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
21709         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
21710         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
21711         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
21712         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
21713         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
21714         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
21715         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
21716         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
21717         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
21718         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
21719         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
21720         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
21721         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
21722         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
21724 2014-06-25  Roland McGrath  <roland@hack.frob.com>
21726         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
21727         that was previously under [RESET_PID].
21728         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
21730 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
21732         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
21733         not undefine and redefine.
21734         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
21735         [O_CLOEXEC]: Make code unconditional.
21736         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
21737         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
21738         <kernel-features.h>.
21739         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
21740         conditional variable definition.
21741         (shm_open) [O_CLOEXEC]: Make code unconditional.
21742         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
21743         code.
21745         * configure.ac (USE_REGPARMS): Don't define here.
21746         * configure: Regenerated.
21747         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
21748         * sysdeps/i386/configure: Regenerated.
21750         * nptl/createthread.c: Don't include kernel-features.h.
21751         * nptl/pthread_cancel.c: Likewise.
21752         * nptl/pthread_condattr_setclock.c: Likewise.
21753         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
21754         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
21755         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
21756         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
21757         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
21758         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
21759         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
21760         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
21761         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
21762         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
21763         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
21764         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
21765         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
21766         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
21767         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
21768         * nscd/gai.c: Likewise.
21769         * nss/nss_db/db-open.c: Likewise.
21770         * sysdeps/generic/ldsodefs.h: Likewise.
21771         * sysdeps/sh/nptl/tls.h: Likewise.
21772         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
21773         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
21774         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
21775         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
21776         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
21777         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
21778         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
21779         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21780         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21781         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
21782         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
21783         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21784         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
21785         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
21786         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
21787         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
21788         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
21789         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
21790         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
21791         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
21792         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
21793         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
21794         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
21795         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
21796         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
21797         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
21798         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
21799         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
21800         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
21801         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
21802         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
21803         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
21804         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
21805         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21806         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21807         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
21808         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21809         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
21810         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
21811         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
21812         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21813         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
21814         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
21815         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21816         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
21817         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
21818         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
21819         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
21820         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
21821         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
21822         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
21823         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
21824         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
21825         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
21826         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
21827         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21828         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
21829         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
21830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
21832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
21833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
21834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
21835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
21836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
21837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
21838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
21841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
21842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
21843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
21844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
21850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
21851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
21852         * sysdeps/unix/sysv/linux/pread.c: Likewise.
21853         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
21854         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
21855         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
21856         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
21857         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
21858         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
21859         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
21860         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
21861         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
21862         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
21863         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
21864         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
21865         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
21866         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
21867         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
21868         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21869         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
21870         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
21871         * sysdeps/unix/sysv/linux/system.c: Likewise.
21872         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
21873         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
21874         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21875         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21876         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21877         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
21878         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21880         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
21881         * configure: Regenerated.
21882         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
21884         * configure.ac (base_machine): Do not set specially for particular
21885         machines here.
21886         * configure: Regenerated.
21887         * sysdeps/powerpc/preconfigure: Move machine and base_machine
21888         settings from configure.ac.
21889         * sysdeps/i386/preconfigure: New file.
21890         * sysdeps/s390/preconfigure: Likewise.
21891         * sysdeps/sh/preconfigure: Likewise.
21892         * sysdeps/sparc/preconfigure: Likewise.
21894 2014-06-25  Roland McGrath  <roland@hack.frob.com>
21896         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
21897         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
21898         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
21899         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
21900         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
21901         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
21902         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
21903         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
21904         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
21905         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
21906         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
21907         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
21908         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
21909         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
21910         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
21911         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
21912         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
21913         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
21914         * sysdeps/sparc/sparc64/Makefile: ... appended here.
21916         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
21917         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
21918         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
21919         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
21920         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
21921         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
21922         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
21923         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
21924         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
21925         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
21926         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
21927         * sysdeps/sparc/sparc32/sem_post.c: ... here.
21928         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
21929         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
21930         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
21931         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
21932         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
21933         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
21934         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
21935         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
21936         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
21937         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
21938         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
21939         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
21940         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
21941         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
21942         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
21943         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
21944         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
21945         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
21946         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
21947         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
21948         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
21949         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
21950         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
21951         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
21952         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
21953         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
21955         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
21956         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
21957         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
21958         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
21959         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21960         Moved ...
21961         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
21962         ... here.
21963         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
21964         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
21965         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
21966         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
21967         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
21968         Moved ...
21969         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
21970         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
21971         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
21972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
21973         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
21974         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
21975         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
21976         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21977         Moved ...
21978         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
21979         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21980         Moved ...
21981         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
21982         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
21983         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
21984         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21985         Moved ...
21986         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
21987         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
21988         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
21989         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
21990         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
21991         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
21992         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
21993         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
21994         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
21995         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21996         Moved ...
21997         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
21998         ... here.
21999         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
22000         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
22001         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
22002         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
22003         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
22004         Moved ...
22005         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
22006         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
22007         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
22008         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
22009         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
22010         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
22011         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
22012         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22013         Moved ...
22014         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
22015         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22016         Moved ...
22017         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
22018         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
22019         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
22020         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22021         Moved ...
22022         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
22023         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
22024         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
22025         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
22026         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
22028 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
22030         * timezone/checktab.awk: Update from tzcode 2014e.
22031         * timezone/private.h: Likewise.
22032         * timezone/tzfile.h: Likewise.
22033         * timezone/zdump.c: Likewise.
22034         * timezone/zic.c: Likewise.
22036         * sysdeps/unix/sysv/linux/kernel-features.h
22037         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
22038         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
22039         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
22040         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22041         Remove conditional code.
22043 2014-06-25  Will Newton  <will.newton@linaro.org>
22045         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
22046         (_dl_arm_cap_flags): Add HWCAP2 values.
22047         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
22048         (_DL_HWCAP_COUNT): Increase to 37.
22049         (_DL_HWCAP_LAST): New define.
22050         (_DL_HWCAP2_LAST): New define.
22051         (_dl_procinfo): Add support for printing
22052         AT_HWCAP2 entries.
22053         (_dl_string_hwcap): Use _dl_hwcap_string.
22055 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22057         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22059 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
22061         * README: Do not mention ports directory.
22063         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
22064         Remove macro.
22065         * sysdeps/unix/sysv/linux/futimes.c: Do not include
22066         <kernel-features.h>.
22067         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
22068         conditional variable definition.
22069         (__futimes): Update comment.
22070         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
22071         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
22073         [BZ #16560]
22074         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
22075         arguments close to 0.
22076         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
22077         Likewise.
22078         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
22079         Likewise.
22080         * math/auto-libm-test-in: Add more tests of exp10.
22081         * math/auto-libm-test-out: Regenerated.
22082         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22084         * sysdeps/unix/sysv/linux/kernel-features.h
22085         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
22086         * sysdeps/unix/sysv/linux/readv.c: Do not include
22087         <kernel-features.h>.
22088         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
22089         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
22090         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
22091         unconditional.
22092         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
22093         conditional code.
22094         * sysdeps/unix/sysv/linux/writev.c: Do not include
22095         <kernel-features.h>.
22096         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
22097         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
22098         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
22099         unconditional.
22100         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
22101         conditional code.
22103 2014-06-25  Will Newton  <will.newton@linaro.org>
22105         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
22106         comment changes throughout the file.  Remove checks
22107         for HAVE_*_H definitions that are not required.
22108         (__gen_tempname): Call abort if an unknown kind value is
22109         passed.
22111 2014-06-25  Andreas Schwab  <schwab@suse.de>
22113         [BZ #17086]
22114         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
22115         scalbln, scalblnf, scalblnl in libc.
22117 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22119         [BZ #17086]
22120         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
22121         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
22122         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
22124 2014-06-24  Roland McGrath  <roland@hack.frob.com>
22126         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
22127         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
22128         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
22129         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
22130         Update #include.
22131         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
22132         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
22133         Update #include.
22134         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
22135         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
22136         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
22137         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
22138         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
22139         * sysdeps/x86/bits/pthreadtypes.h: ... here.
22140         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
22141         * sysdeps/x86/bits/semaphore.h: ... here.
22142         * sysdeps/x86/nptl/elide.h: Moved ...
22143         * sysdeps/x86/elide.h: ... here.
22144         * sysdeps/x86_64/nptl/Implies: File removed.
22145         * sysdeps/i386/nptl/Implies: File removed.
22147 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
22149         [BZ #16539]
22150         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
22151         return the argument for normal arguments with exponent below -64.
22152         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22153         Likewise.
22154         * math/auto-libm-test-in: Add another test of expm1.
22155         * math/auto-libm-test-out: Regenerated.
22157         [BZ #16287]
22158         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
22159         calling __erfcl for arguments at least 16.
22160         * math/auto-libm-test-in: Add more tests of erf.
22161         * math/auto-libm-test-out: Regenerated.
22163         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
22164         individual architectures.
22165         * sysdeps/unix/sysv/linux/configure: Regenerated.
22166         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
22167         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
22168         * sysdeps/unix/sysv/linux/powerpc/configure.ac
22169         (ldd_rewrite_script): Define variable.
22170         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
22172         file.
22173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
22174         generated file.
22175         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
22176         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
22177         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
22178         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
22179         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
22180         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
22181         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
22182         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
22184 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22186         [BZ #17084]
22187         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
22188         Rename member __data.d to __data.__elision_data.
22190 2014-06-24  Wilco  <wdijkstr@arm.com>
22192         * NEWS: Add 16918 to fixed bug list.
22194 2014-06-24  Wilco  <wdijkstr@arm.com>
22196         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
22198 2014-06-24  Wilco  <wdijkstr@arm.com>
22200         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
22201         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
22202         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
22203         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
22204         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
22205         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
22206         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
22207         Use _FPU_MASK_RM.
22209 2014-06-24  Wilco  <wdijkstr@arm.com>
22211         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
22213 2014-06-24  Wilco  <wdijkstr@arm.com>
22215         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
22216         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
22217         * sysdeps/arm/fesetround.c (fesetround): Remove space.
22218         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
22220 2014-06-24  Wilco  <wdijkstr@arm.com>
22222         [BZ #16918]
22223         * sysdeps/arm/feupdateenv.c (feupdateenv):
22224         Rewrite to reduce FPSCR accesses and fix return value.
22226 2014-06-24  Wilco  <wdijkstr@arm.com>
22228         * sysdeps/arm/fclrexcpt.c (feclearexcept):
22229         Optimize to avoid unnecessary FPSCR writes.
22230         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
22231         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
22232         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
22233         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
22235 2014-06-24  Wilco  <wdijkstr@arm.com>
22237         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
22238         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
22239         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
22240         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
22241         Call libc_fetestexcept_vfp.
22242         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
22243         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
22244         __SOFTFP__ ifdef so that they can be built for softfp.
22246 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22248         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
22249         argument type signed char.
22251         * Makerules (check-abi): Dump diff of symlist if the test
22252         fails.
22254 2014-06-23  Roland McGrath  <roland@hack.frob.com>
22256         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
22257         using abort.
22259         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
22260         Remove unused variable ST.
22262 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
22264         [BZ #16354]
22265         [BZ #17061]
22266         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
22267         small arguments before calling __expm1.
22268         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
22269         small arguments before calling __expm1f.
22270         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
22271         small arguments before calling __expm1l.
22272         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
22273         Likewise.
22274         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
22275         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
22276         spurious underflow for some cosh tests.
22277         * math/auto-libm-test-out: Regenerated.
22278         * sysdeps/i386/fpu/libm-test-ulps: Update.
22280         [BZ #17050]
22281         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
22282         (__ieee754_y1): Set errno if return value overflows.
22283         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
22284         (__ieee754_y1f): Set errno if return value overflows.
22285         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
22286         (__ieee754_y1l): Set errno if return value overflows.
22287         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
22288         (__ieee754_y1l): Set errno if return value overflows.
22289         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
22290         * math/auto-libm-test-out: Regenerated.
22292         * math/gen-auto-libm-tests.c: Document use of
22293         ignore-zero-inf-sign.
22294         (input_flag_type): Add value flag_ignore_zero_inf_sign.
22295         (input_flags): Add ignore-zero-inf-sign.
22296         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
22297         * math/gen-libm-test.pl (generate_testfile): Handle
22298         ignore-zero-inf-sign.
22299         * math/auto-libm-test-in: Mark some cpow tests with
22300         ignore-zero-inf-sign and some with xfail-rounding.
22301         * math/auto-libm-test-out: Regenerated.
22302         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
22303         * sysdeps/i386/fpu/libm-test-ulps: Update.
22304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22306         [BZ #16315]
22307         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
22308         overflowing or underflowing operations take place with sign of
22309         result.
22310         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22311         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22312         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
22313         (__ieee754_pow): Recompute overflowing and underflowing results in
22314         original rounding mode.
22315         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
22316         (__powl_helper): Allow negative argument X and scale negated value
22317         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
22318         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
22319         overflowing or underflowing operations take place with sign of
22320         result.
22321         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
22322         Include <math.h>.
22323         * math/auto-libm-test-in: Add more tests of pow.
22324         * math/auto-libm-test-out: Regenerated.
22325         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
22326         (pow_tonearest_test_data): Remove.
22327         (pow_test_tonearest): Likewise.
22328         (pow_towardzero_test_data): Likewise.
22329         (pow_test_towardzero): Likewise.
22330         (pow_downward_test_data): Likewise.
22331         (pow_test_downward): Likewise.
22332         (pow_upward_test_data): Likewise.
22333         (pow_test_upward): Likewise.
22334         (main): Don't call removed functions.
22335         * sysdeps/i386/fpu/libm-test-ulps: Update.
22336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22338 2014-06-23  Roland McGrath  <roland@hack.frob.com>
22340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
22341         Moved ...
22342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
22343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22344         Moved ...
22345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
22346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22347         Moved ...
22348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
22349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
22350         Moved ...
22351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
22352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
22353         File removed.
22354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22355         File removed.
22356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
22357         File removed.
22358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
22359         File removed.
22360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
22361         File removed.
22362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
22363         File removed.
22364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
22365         File removed.
22366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22367         File removed.
22368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
22369         File removed.
22370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22371         File removed.
22372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
22373         File removed.
22374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
22375         File removed.
22376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
22377         Moved ...
22378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
22379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
22380         Moved ...
22381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
22382         ... here.
22383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
22384         Moved ...
22385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
22386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
22387         Moved ...
22388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
22389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
22390         Moved ...
22391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
22392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
22393         Moved ...
22394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
22395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
22396         Moved ...
22397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
22398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
22399         Moved ...
22400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
22401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
22402         Moved ...
22403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
22404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
22405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
22406         ... here.
22407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
22408         Moved ...
22409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
22410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22411         Moved ...
22412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22413         ... here.
22414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
22415         Moved ...
22416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22417         ... here.
22418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22419         Moved ...
22420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
22421         ... here.
22422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
22423         Moved ...
22424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
22425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
22426         Moved ...
22427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
22428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
22429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
22430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
22431         Moved ...
22432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
22433         ... here.
22434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22435         Moved ...
22436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
22437         ... here.
22438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
22439         Moved ...
22440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
22441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22442         Moved ...
22443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
22444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
22445         Moved ...
22446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
22447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22448         Moved ...
22449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
22450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
22451         Moved ...
22452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
22453         ... here.
22454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22455         Moved ...
22456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
22457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
22458         Moved ...
22459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
22460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22461         Moved ...
22462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
22463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
22464         Moved ...
22465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
22466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
22467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
22468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
22469         Moved ...
22470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
22471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22472         Moved ...
22473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
22474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
22475         Moved ...
22476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
22477         ... here.
22478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22479         Moved ...
22480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
22481         ... here.
22482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
22483         Moved ...
22484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
22485         ... here.
22486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22487         Moved ...
22488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
22489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
22490         Moved ...
22491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
22492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22493         Moved ...
22494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
22495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
22496         Moved ...
22497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
22498         ... here.
22499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22500         Moved ...
22501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
22502         ... here.
22503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
22504         Moved ...
22505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
22506         ... here.
22507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22508         Moved ...
22509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
22510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
22511         Moved ...
22512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
22514 2014-06-23  Will Newton  <will.newton@linaro.org>
22515             Wilco  <wdijkstr@arm.com>
22517         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
22518         implementation.  Include get-rounding-mode.h.
22519         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
22520         [!libc_feholdsetround_noex_ctx]: Define
22521         libc_feholdsetround_noex_ctx.
22522         [!libc_feholdsetround_noexf_ctx]: Define
22523         libc_feholdsetround_noexf_ctx.
22524         [!libc_feholdsetround_noexl_ctx]: Define
22525         libc_feholdsetround_noexl_ctx.
22526         (libc_feholdsetround_ctx): New function.
22527         (libc_feresetround_ctx): New function.
22528         (libc_feholdsetround_noex_ctx): New function.
22529         (libc_feresetround_noex_ctx): New function.
22531 2014-06-23  Roland McGrath  <roland@hack.frob.com>
22533         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
22534         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
22535         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
22536         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
22537         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
22538         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
22540         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
22541         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
22542         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
22543         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
22544         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
22545         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
22546         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
22547         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
22548         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
22549         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
22550         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
22551         Moved ...
22552         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
22553         ... here.
22554         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
22555         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
22556         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
22557         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
22558         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
22559         Moved ...
22560         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
22561         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
22562         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
22563         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
22564         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
22565         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
22566         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
22567         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
22568         Moved ...
22569         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
22570         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
22571         Moved ...
22572         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
22573         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
22574         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
22575         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
22576         Moved ...
22577         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
22578         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
22579         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
22580         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
22581         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
22582         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
22583         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
22584         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
22585         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
22586         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
22587         Moved ...
22588         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
22589         ... here.
22590         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
22591         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
22592         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
22593         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
22594         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
22595         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
22596         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
22597         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
22598         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
22599         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
22600         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
22601         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
22602         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
22603         Moved ...
22604         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
22605         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
22606         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
22607         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
22608         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
22609         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
22610         Moved ...
22611         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
22612         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
22613         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
22614         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
22615         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
22617         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
22618         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
22619         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
22620         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
22621         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
22622         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
22623         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
22624         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
22625         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
22626         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
22627         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
22628         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
22629         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
22630         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
22631         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
22632         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
22633         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
22634         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
22635         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
22636         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
22637         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
22638         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
22639         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
22640         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
22641         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
22642         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
22643         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
22644         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
22646 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
22648         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
22649         (FALLOC_FL_COLLAPSE_RANGE): New macro.
22650         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
22651         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
22652         (IPV6_PMTUDISC_INTERFACE): Likewise.
22653         (IPV6_PMTUDISC_OMIT): Likewise.
22655 2014-06-23  Andreas Schwab  <schwab@suse.de>
22657         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
22658         Remove unused errout label.
22660 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22662         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
22663         macro: hardware supports Vector Crypto instructions.
22665 2014-06-23  Will Newton  <will.newton@linaro.org>
22667         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
22668         rather than __builtin_expect.
22670         * elf/dl-lookup.c (undefined_msg): Remove variable.
22671         (_dl_lookup_symbol_x): Replace undefined_msg with string
22672         literal.
22674         * elf/dl-lookup.c (do_lookup_unique): New function.
22675         (do_lookup_x): Move STB_GNU_UNIQUE handling code
22676         to a separate function.
22678 2014-06-23  Andreas Schwab  <schwab@suse.de>
22680         [BZ #17079]
22681         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
22682         before reading the next line.
22684 2014-06-23  Will Newton  <will.newton@linaro.org>
22686         * test-skeleton.c (signal_handler): Use printf and %m
22687         rather than perror.  Use printf rather than fprintf to
22688         stderr.  Use puts rather than fputs to stderr.
22689         (main): Likewise.
22691 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
22693         * nscd/nscd.c (thread_info_t): Remove typedef.
22694         (thread_info): Remove variable.
22696 2014-06-21  Allan McRae  <allan@archlinux.org>
22698         * NEWS: Mention CVE-2014-4043.
22700 2014-06-20  Roland McGrath  <roland@hack.frob.com>
22702         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
22703         * nptl/smp.h: ... here.
22705         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
22707         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
22708         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
22709         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
22710         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
22712         * nptl/allocatestack.c: Include <stack-aliasing.h>.
22713         * nptl/stack-aliasing.h: New file.
22714         * sysdeps/i386/i686/stack-aliasing.h: New file.
22715         * sysdeps/i386/i686/nptl/Makefile: File removed.
22716         * sysdeps/x86_64/stack-aliasing.h: New file.
22717         * sysdeps/x86_64/nptl/Makefile
22718         (CFLAGS-pthread_create.c): Variable removed.
22720         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
22721         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
22722         old file.
22723         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
22724         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
22725         old file.
22727 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
22729         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22730         (__ASSUME_SIGFRAME_V2): Remove macro.
22731         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
22732         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
22733         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
22734         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
22735         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
22736         Declare as function.  Remove conditional macro definitions.
22737         (__default_rt_sa_restorer): Likewise.
22738         (__default_sa_restorer_v1): Remove declaration.
22739         (__default_sa_restorer_v2): Likewise.
22740         (__default_rt_sa_restorer_v1): Likewise.
22741         (__default_rt_sa_restorer_v2): Likewise.
22742         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
22743         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
22744         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
22746 2014-06-20  Roland McGrath  <roland@hack.frob.com>
22748         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
22749         (libpthread-routines): Add sysdep.
22750         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
22751         * sysdeps/unix/sysv/linux/sparc/Versions
22752         (libpthread: GLIBC_2.3.3): New version set.
22753         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
22754         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
22755         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
22756         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
22757         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
22758         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
22759         Moved ...
22760         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
22761         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
22762         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
22763         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
22764         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
22765         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
22766         * sysdeps/sparc/nptl/sem_init.c: ... here.
22767         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
22768         * sysdeps/sparc/nptl/sem_post.c: ... here.
22769         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
22770         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
22771         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
22772         * sysdeps/sparc/nptl/sem_wait.c: ... here.
22773         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
22774         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
22775         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
22776         (libpthread-routines): Add cpu_relax.
22777         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
22778         File removed.
22779         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
22780         (librt: GLIBC_2.3.3): New version set.
22781         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
22782         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
22783         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
22784         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
22785         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
22786         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
22787         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
22788         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
22789         Moved ...
22790         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
22791         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
22792         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
22793         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
22794         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
22795         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
22796         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
22797         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
22798         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
22799         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
22800         Moved ...
22801         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
22802         Update #include.
22803         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
22804         Moved ...
22805         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
22806         Update #include.
22807         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
22808         Moved ...
22809         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
22810         Update #include.
22811         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
22812         Moved ...
22813         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
22814         Update #include.
22815         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
22816         Moved ...
22817         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
22818         Update #include.
22819         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
22820         Moved ...
22821         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
22822         Update #include.
22823         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
22824         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
22825         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
22826         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
22827         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
22828         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
22829         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
22830         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
22831         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
22832         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
22833         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
22834         Moved ...
22835         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
22836         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
22837         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
22838         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
22839         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
22841 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
22843         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
22844         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
22845         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
22846         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
22847         * nscd/nscd.c: Likewise.
22848         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
22849         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
22850         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
22851         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
22853         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
22854         <kernel-features.h>.
22855         (init_mq_netlink): Remove conditional have_sock_cloexec
22856         definitions.  Remove code conditional on have_sock_cloexec < 0.
22857         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
22858         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
22859         * sysdeps/unix/sysv/linux/opensock.c: Do not include
22860         <kernel-features.h>.
22861         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
22862         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
22864 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
22866         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22867         Add tests for memset_chk and memset.
22869         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
22870         with AVX2_Usable.
22872 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
22874         [BZ #16046]
22875         * elf/tst-dl-iter-static.c: New file.
22876         * elf/Makefile (tests-static): Add tst-dl-iter-static.
22878         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
22879         error.
22881 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
22883         * sysdeps/unix/sysv/linux/kernel-features.h
22884         (__ASSUME_F_GETOWN_EX): Remove macro.
22885         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
22886         <kernel-features.h>.
22887         (miss_F_GETOWN_EX): Remove variable or macro.
22888         (do_fcntl): Do not check miss_F_GETOWN_EX.
22889         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
22891         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
22892         Remove macro.
22893         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
22894         [!__ASSUME_AT_RANDOM]: Remove conditional code.
22895         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
22897         * sysdeps/unix/sysv/linux/kernel-features.h
22898         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
22899         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
22900         [ADJ_OFFSET_SS_READ]: Make code unconditional.
22901         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
22903 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
22905         [BZ #17075]
22906         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
22907         Fix calculation of the symbol's value.
22908         * sysdeps/arm/tst-armtlsdescloc.c: New file.
22909         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
22910         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
22911         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
22912         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
22913         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
22914         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
22915         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
22916         (modules-names): Add `tst-armtlsdescmod',
22917         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
22918         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
22919         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
22920         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
22921         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
22922         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
22923         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
22924         ($(objpfx)tst-armtlsdescloc): New dependency.
22925         ($(objpfx)tst-armtlsdescextnow): Likewise.
22926         ($(objpfx)tst-armtlsdescextlazy): Likewise.
22927         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
22928         TLS scheme support.
22929         * sysdeps/arm/configure: Regenerate.
22931 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
22933         * include/fcntl.h (__atfct_seterrno): Remove prototype.
22934         (__atfct_seterrno_2): Likewise.
22935         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
22936         <kernel-features.h>.
22937         (__ASSUME_ATFCTS): Do not undefine and redefine.
22938         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
22939         (__have_atfcts): Remove conditional definition.
22940         (__fxstatat([__NR_fstatat64]: Make code unconditional.
22941         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
22942         unreachable if [__ASSUME_ATFCTS].
22943         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
22944         not undefine and redefine.
22945         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
22946         <kernel-features.h>.
22947         (faccessat) [__NR_faccessat]: Make code unconditional.
22948         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
22949         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
22950         <kernel-features.h>.
22951         (fchmodat) [__NR_fchmodat]: Make code unconditional.
22952         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
22953         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
22954         <kernel-features.h>.
22955         (fchownat) [__NR_fchownat]: Make code unconditional.
22956         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
22957         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
22958         <kernel-features.h>.
22959         (futimesat) [__NR_futimesat]: Make code unconditional.
22960         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
22961         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22962         <kernel-features.h>.
22963         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
22964         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
22965         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22966         <kernel-features.h>.
22967         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
22968         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
22969         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
22970         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22971         <kernel-features.h>.
22972         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
22973         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
22974         * sysdeps/unix/sysv/linux/linkat.c: Do not include
22975         <kernel-features.h>.
22976         (linkat) [__NR_linkat]: Make code unconditional.
22977         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
22978         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
22979         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
22980         <kernel-features.h>.
22981         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
22982         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
22983         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
22984         <kernel-features.h>.
22985         (mkdirat) [__NR_mkdirat]: Make code unconditional.
22986         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
22987         * sysdeps/unix/sysv/linux/openat.c: Do not include
22988         <kernel-features.h>.
22989         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
22990         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
22991         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
22992         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
22993         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
22994         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
22995         <kernel-features.h>.
22996         (readlinkat) [__NR_readlinkat]: Make code unconditional.
22997         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
22998         result of INLINE_SYSCALL directly, not via int variable.
22999         * sysdeps/unix/sysv/linux/renameat.c: Do not include
23000         <kernel-features.h>.
23001         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
23002         (renameat) [__NR_renameat]: Make code unconditional.
23003         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
23004         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
23005         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
23006         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
23007         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
23008         (__ASSUME_ATFCTS): Do not undefine and redefine.
23009         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
23010         <kernel-features.h>.
23011         (symlinkat) [__NR_symlinkat]: Make code unconditional.
23012         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
23013         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
23014         <kernel-features.h>.
23015         (unlinkat) [__NR_unlinkat]: Make code unconditional.
23016         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
23017         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
23018         (__ASSUME_ATFCTS): Do not undefine and redefine.
23019         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23020         <kernel-features.h>.
23021         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
23022         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
23023         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23024         <kernel-features.h>.
23025         (__xmknodat) [__NR_mknodat]: Make code unconditional.
23026         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
23028 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
23030         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
23032 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
23034         [BZ #17069]
23035         * posix/regcomp.c (parse_reg_exp): Deallocate partially
23036         constructed tree before returning error.
23037         * posix/bug-regexp36.c: Expand test case.
23039 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
23041         [BZ #6803]
23042         * math/libm-test.inc (scalbln_test_date):
23043         Add errno expectations.
23044         * math/w_scalblnf.c: New File.
23045         Add wrapper which checks for setting errno to ERANGE.
23046         Add weak_alias for corresponding scalbln function.
23047         * math/w_scalbln.c: Likewise.
23048         * math/w_scalblnl.c: Likewise.
23049         * math/Makefile (libm-calls): Add w_scalbln.
23050         * sysdeps/ieee754/flt-32/s_scalblnf.c:
23051         Remove weak_alias for corresponding scalbln function.
23052         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23053         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23054         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23055         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23056         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
23057         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
23058         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
23059         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
23060         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
23061         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
23062         Remove long_double_symbol for scalblnl function in libm, libc.
23063         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
23064         Add wrapper which checks for setting errno to ERANGE.
23065         Add long_double_symbol for scalblnl function in libm, libc.
23066         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
23067         Remove long_double_symbol for scalblnl in libm.
23068         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
23069         Add wrapper which checks for setting errno to ERANGE.
23070         Add long_double_symbol for scalblnl function in libm.
23071         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
23072         Do not use wrapper because of own implementation.
23074 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
23076         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
23077         3 bytes for __pad1 for x32.
23078         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
23080 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
23081             H.J. Lu  <hongjiu.lu@intel.com>
23083         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
23084         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
23085         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23086         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23087         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
23089 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
23091         [BZ #17069]
23092         * posix/regcomp.c (parse_expression): Deallocate partially
23093         constructed tree before returning error.
23094         * posix/Makefile.c (tests): Add bug-regex36.
23095         (generated): Add bug-regex36.mtrace.
23096         (tests-special): Add $(objpfx)bug-regex36-mem.out
23097         (bug-regex36-ENV): New variable.
23098         ($(objpfx)bug-regex36-mem.out): New rule.
23099         * posix/bug-regex36.c: New file.
23101 2014-06-19  Will Newton  <will.newton@linaro.org>
23103         * malloc/malloc.c (systrim): If extra is zero then return
23104         early.
23106 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23108         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
23110 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
23112         * sysdeps/aarch64/strchr.S: New file.
23114 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
23116         [BZ #17022]
23117         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
23118         from arguments -2 or below.
23119         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
23120         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
23122 2014-06-18  Andreas Schwab  <schwab@suse.de>
23124         [BZ #17062]
23125         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
23126         of a bracket expr not to run off the end of the string.
23127         * posix/Makefile (tests): Add tst-fnmatch3.
23128         * posix/tst-fnmatch3.c: New file.
23130 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
23132         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
23133         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
23134         [$(cross-compiling) = no]: Likewise.
23135         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
23136         [$(cross-compiling) = no]: Likewise.
23138 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23140         [BZ #17031]
23141         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
23142         double, adjusted for any remainder from the high double.
23143         * math/libm-test.inc (nearbyint): Add tests.
23144         (rint): Likewise.
23146 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23148         * nptl/sysdeps/powerpc/Makefile: Moved ...
23149         * sysdeps/powerpc/nptl/Makefile: ... here.
23150         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
23151         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
23152         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
23153         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
23154         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
23155         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
23156         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
23157         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
23158         * nptl/sysdeps/powerpc/tls.h: Moved ...
23159         * sysdeps/powerpc/nptl/tls.h: ... here.
23161 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
23163         [BZ #16681]
23164         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
23165         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
23166         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
23167         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
23168         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
23169         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
23170         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
23171         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
23172         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
23174 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
23176         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
23178 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
23180         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
23181         defined operator.
23183         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
23184         $TIMEOUTFACTOR.
23186 2014-06-16  Florian Weimer  <fweimer@redhat.com>
23188         [BZ #17058]
23189         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
23190         non-executed part of the test.
23192 2014-06-16  Andreas Schwab  <schwab@suse.de>
23194         * string/bits/string2.h (strdup, strndup): Update feature guard.
23196 2014-06-14  David S. Miller  <davem@davemloft.net>
23198         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23200 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
23202         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
23203         that was previously under [RESET_PID].
23204         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
23206         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
23207         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
23208         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
23209         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
23210         (__libc_vfork): New strong alias.
23211         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
23213 2014-06-14 Andi Kleen  <ak@linux.intel.com>
23215         * sysdeps/generic/elide.h: New file.
23217 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23219         * Makefile (installed-headers): Adjust path of pthread.h header.
23221 2014-06-13  Roland McGrath  <roland@hack.frob.com>
23223         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
23224         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
23225         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
23226         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
23228         * nptl/sysdeps/s390/Makefile: Moved ...
23229         * sysdeps/s390/nptl/Makefile: ... here.
23230         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
23231         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
23232         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
23233         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
23234         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
23235         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
23236         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
23237         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
23238         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
23239         * sysdeps/s390/nptl/pthreaddef.h: ... here.
23240         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
23241         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
23242         * nptl/sysdeps/s390/tls.h: Moved ...
23243         * sysdeps/s390/nptl/tls.h: ... here.
23245         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
23246         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
23248 2014-06-13  David S. Miller  <davem@davemloft.net>
23250         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
23251         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
23252         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
23253         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
23254         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
23255         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
23256         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
23257         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
23258         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
23259         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
23260         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
23261         Remove RESET_PID cpp guards.
23262         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
23263         Remove RESET_PID cpp guards.
23264         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
23266 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
23268         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
23269         __sp to uintptr_t.
23271 2014-06-13  Andi Kleen  <ak@linux.intel.com>
23273         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
23274         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
23275         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
23276         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
23277         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
23278         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
23279         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
23280         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
23281         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
23282         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
23283         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
23284         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
23285         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
23286         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
23287         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
23288         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
23289         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
23290         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
23291         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
23292         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
23294         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
23295         (pthread_rwlock_rdlock): Add elision.
23296         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
23297         (pthread_rwlock_wrlock): Add elision.
23298         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
23299         (pthread_rwlock_trywrlock): Add elision.
23300         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
23301         (pthread_rwlock_tryrdlock): Add elision.
23302         * nptl/pthread_rwlock_unlock.c: Include elide.h.
23303         (pthread_rwlock_tryrdlock): Add elision unlock.
23304         * nptl/sysdeps/pthread/pthread.h:
23305         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
23306         (PTHREAD_RWLOCK_INITIALIZER,
23307         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
23308         Handle new elision field.
23309         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
23310         * sysdeps/arm/nptl/bits/pthreadtypes.h
23311         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23312         * sysdeps/sh/nptl/bits/pthreadtypes.h
23313         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23314         * sysdeps/tile/nptl/bits/pthreadtypes.h
23315         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23316         * sysdeps/a/nptl/bits/pthreadtypes.h
23317         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23318         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
23319         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23320         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
23321         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23322         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
23323         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23324         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
23325         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23326         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
23327         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23328         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
23329         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23330         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
23331         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23332         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
23333         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23334         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
23335         (elision_init): Set try_xbegin to zero when no RTM.
23336         * sysdeps/x86/nptl/bits/pthreadtypes.h
23337         (pthread_rwlock_t): Change __pad1 to __rwelision.
23338         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23340 2014-06-13  Andi Kleen  <ak@linux.intel.com>
23342         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
23343         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
23344         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
23345         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
23347 2014-06-13  Meador Inge  <meadori@codesourcery.com>
23349         [BZ #16996]
23350         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
23351         that the cached result has been set before returning it.
23353 2014-06-12  Roland McGrath  <roland@hack.frob.com>
23355         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
23356         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
23357         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
23358         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
23359         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
23360         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
23362         * nptl/sysdeps/sparc/Makefile: Moved ...
23363         * sysdeps/sparc/nptl/Makefile: ... here.
23364         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
23365         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
23366         * nptl/sysdeps/sparc/tls.h: Moved ...
23367         * sysdeps/sparc/nptl/tls.h: ... here.
23368         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
23369         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
23370         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
23371         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
23372         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
23373         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
23374         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
23375         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
23376         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
23377         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
23378         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
23379         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
23380         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
23381         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
23382         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
23383         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
23384         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
23385         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
23386         Update #include.
23387         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
23388         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
23389         Update #include.
23390         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
23391         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
23392         Update #include.
23393         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
23394         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
23395         Update #include.
23397         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
23399         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
23400         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
23402         * sysdeps/pthread/posix-timer.h: Include <list.h>.
23403         (struct list_links): Type removed.
23404         (struct thread_node, struct timer_node): Replace struct list_links
23405         with struct list_head.
23406         (list_unlink_ip): Likewise.
23407         * sysdeps/pthread/timer_routines.c
23408         (timer_free_list, thread_free_list, thread_active_list): Likewise.
23409         (list_append, list_insbefore): Likewise.
23410         (list_init): Function removed.
23411         (thread_init, init_module): Use INIT_LIST_HEAD instead.
23412         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
23413         * sysdeps/pthread/Makefile: ... here, new file.
23415         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
23416         * sysdeps/nptl/Implies: ... here.
23417         * sysdeps/unix/sysv/linux/Implies: Add nptl.
23418         * nptl/sysdeps/pthread/list.h: Moved ...
23419         * include/list.h: ... here.
23420         * nptl/sysdeps/pthread/createthread.c: Moved ...
23421         * nptl/createthread.c: ... here.
23422         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
23423         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
23424         * nptl/pt-longjmp.c: ... here.
23425         * nptl/sysdeps/pthread/Makefile: Moved ...
23426         * sysdeps/nptl/Makefile: ... here.
23427         * nptl/sysdeps/pthread/Subdirs: Moved ...
23428         * sysdeps/nptl/Subdirs: ... here.
23429         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
23430         * sysdeps/nptl/aio_misc.h: ... here.
23431         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
23432         * sysdeps/nptl/bits/libc-lock.h: ... here.
23433         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
23434         * sysdeps/nptl/bits/libc-lockP.h: ... here.
23435         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
23436         * sysdeps/nptl/bits/stdio-lock.h: ... here.
23437         * nptl/sysdeps/pthread/configure: Moved ...
23438         * sysdeps/nptl/configure: ... here.
23439         * nptl/sysdeps/pthread/configure.ac: Moved ...
23440         * sysdeps/nptl/configure.ac: ... here.
23441         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
23442         * sysdeps/nptl/gai_misc.h: ... here.
23443         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
23444         * sysdeps/nptl/librt-cancellation.c: ... here.
23445         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
23446         * sysdeps/nptl/malloc-machine.h: ... here.
23447         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
23448         * sysdeps/nptl/pthread-functions.h: ... here.
23449         * nptl/sysdeps/pthread/pthread.h: Moved ...
23450         * sysdeps/nptl/pthread.h: ... here.
23451         * nptl/sysdeps/pthread/setxid.h: Moved ...
23452         * sysdeps/nptl/setxid.h: ... here.
23453         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
23454         * sysdeps/nptl/sigfillset.c: ... here.
23455         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
23456         * sysdeps/nptl/tcb-offsets.h: ... here.
23457         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
23458         * sysdeps/nptl/tst-mqueue8x.c: ... here.
23459         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
23460         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
23461         * nptl/sysdeps/pthread/allocalim.h: Moved ...
23462         * sysdeps/pthread/allocalim.h: ... here.
23463         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
23464         * sysdeps/pthread/bits/sigthread.h: ... here.
23465         * nptl/sysdeps/pthread/flockfile.c: Moved ...
23466         * sysdeps/pthread/flockfile.c: ... here.
23467         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
23468         * sysdeps/pthread/ftrylockfile.c: ... here.
23469         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
23470         * sysdeps/pthread/funlockfile.c: ... here.
23471         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
23472         * sysdeps/pthread/posix-timer.h: ... here.
23473         * nptl/sysdeps/pthread/timer_create.c: Moved ...
23474         * sysdeps/pthread/timer_create.c: ... here.
23475         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
23476         * sysdeps/pthread/timer_delete.c: ... here.
23477         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
23478         * sysdeps/pthread/timer_getoverr.c: ... here.
23479         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
23480         * sysdeps/pthread/timer_gettime.c: ... here.
23481         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
23482         * sysdeps/pthread/timer_routines.c: ... here.
23483         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
23484         * sysdeps/pthread/timer_settime.c: ... here.
23485         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
23486         * sysdeps/pthread/tst-timer.c: ... here.
23487         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
23488         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
23490         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
23491         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
23493         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
23494         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
23495         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
23496         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
23497         Update #include target.
23498         * nptl/sysdeps/i386/i686/Makefile: Moved ...
23499         * sysdeps/i386/i686/nptl/Makefile: ... here.
23500         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
23501         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
23502         Update #include target.
23503         * nptl/sysdeps/i386/i686/tls.h: Moved ...
23504         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
23505         * nptl/sysdeps/i386/Makefile: Moved ...
23506         * sysdeps/i386/nptl/Makefile: ... here.
23507         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
23508         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
23509         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
23510         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
23511         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
23512         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
23513         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
23514         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
23515         * sysdeps/i386/nptl/pthreaddef.h: ... here.
23516         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
23517         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
23518         * nptl/sysdeps/i386/tls.h: Moved ...
23519         * sysdeps/i386/nptl/tls.h: ... here.
23521         * sysdeps/sh/Makefile [$(subdir) = csu]
23522         (gen-as-const-headers): Add tcb-offsets.sym.
23523         * nptl/sysdeps/sh/Makefile: File removed.
23524         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
23525         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
23526         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
23527         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
23528         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
23529         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
23530         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
23531         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
23532         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
23533         * sysdeps/sh/nptl/pthreaddef.h: ... here.
23534         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
23535         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
23536         * nptl/sysdeps/sh/tls.h: Moved ...
23537         * sysdeps/sh/nptl/tls.h: ... here.
23538         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
23539         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
23540         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
23541         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
23542         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
23543         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
23544         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
23545         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
23546         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
23547         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
23548         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
23549         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
23550         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
23551         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
23552         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
23553         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
23554         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
23555         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
23556         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
23557         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
23558         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
23559         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
23560         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
23561         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
23562         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
23563         Moved ...
23564         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
23565         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
23566         Moved ...
23567         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
23568         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
23569         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
23570         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
23571         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
23572         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
23573         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
23574         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
23575         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
23576         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
23577         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
23578         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
23579         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
23580         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
23581         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
23582         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
23583         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
23584         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
23585         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
23587 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23589         * posix/spawn_faction_addopen.c: Include string.h.
23591 2014-06-11  Roland McGrath  <roland@hack.frob.com>
23593         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
23594         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
23595         * nptl/sysdeps/x86_64/Makefile: Moved ...
23596         * sysdeps/x86_64/nptl/Makefile: ... here.
23597         * nptl/sysdeps/x86_64/configure: Moved ...
23598         * sysdeps/x86_64/nptl/configure: ... here.
23599         * nptl/sysdeps/x86_64/configure.ac: Moved ...
23600         * sysdeps/x86_64/nptl/configure.ac: ... here.
23601         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
23602         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
23603         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
23604         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
23605         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
23606         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
23607         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
23608         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
23609         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
23610         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
23611         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
23612         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
23613         * nptl/sysdeps/x86_64/tls.h: Moved ...
23614         * sysdeps/x86_64/nptl/tls.h: ... here.
23615         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
23616         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
23617         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
23618         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
23620         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
23622 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23624         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23626 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
23628         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
23629         type.
23630         [POSIX] (off_t): Likewise.
23631         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
23632         [POSIX] (S_ISBLK): Require macro.
23633         [POSIX] (S_ISCHR): Likewise.
23634         [POSIX] (S_ISDIR): Likewise.
23635         [POSIX] (S_ISFIFO): Likewise.
23636         [POSIX] (S_ISREG): Likewise.
23637         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
23638         optional-macro.
23639         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
23640         type.
23641         [POSIX] (time_t): Likewise.
23642         [POSIX] (timer_t): Likewise.
23644 2014-06-11  Florian Weimer  <fweimer@redhat.com>
23646         [BZ #17048]
23647         * posix/spawn_int.h (struct __spawn_action): Make the path string
23648         non-const to support deallocation.
23649         * posix/spawn_faction_addopen.c
23650         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
23651         * posix/spawn_faction_destroy.c
23652         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
23653         path in all spawn_do_open actions.
23654         * posix/tst-spawn.c (do_test): Exercise the copy operation in
23655         posix_spawn_file_actions_addopen.
23657 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
23659         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
23660         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
23661         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
23662         conditional code always true.
23663         (__libc_vfork): New alias.
23665 2014-06-11  Roland McGrath  <roland@hack.frob.com>
23667         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23668         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
23670         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
23672         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23673         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
23675         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
23676         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
23678         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23679         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
23681 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
23683         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
23684         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
23685         multiarch strcmp for PPC64.
23686         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
23687         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
23688         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
23689         multiarch optimizations.
23690         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23691         (__libc_ifunc_impl_list): Likewise.
23693 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23695         * benchtests/scripts/validate_benchout.py: New script.
23696         * benchtests/Makefile (bench-func): Call it.
23697         * benchtests/scripts/benchout.schema.json: New file.
23699 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
23701         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
23702         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
23703         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
23704         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
23705         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
23706         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
23707         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
23708         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
23709         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
23710         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
23711         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
23712         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
23713         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
23714         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
23715         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
23716         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
23717         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
23718         Moved ...
23719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
23720         ... here.
23721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
23722         Moved ...
23723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
23724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
23725         Moved ...
23726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
23727         ... here.
23728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
23729         Moved ...
23730         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
23731         ... here.
23732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
23733         Moved ...
23734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
23735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
23736         Moved ...
23737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
23738         ... here.
23739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
23740         Moved ...
23741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
23742         ... here.
23743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
23744         Moved ...
23745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
23746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
23747         Moved ...
23748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
23749         ... here.
23750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
23751         Moved ...
23752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
23753         ... here.
23754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
23755         Moved ...
23756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
23757         ... here.
23758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
23759         Moved ...
23760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
23761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
23762         Moved ...
23763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
23764         ... here.
23765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
23766         Moved ...
23767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
23768         ... here.
23769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
23770         Moved ...
23771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
23772         ... here.
23773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
23774         Moved ...
23775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
23776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
23777         Moved ...
23778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
23779         ... here.
23780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
23781         Moved ...
23782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
23783         ... here.
23784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
23785         Moved ...
23786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
23787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
23788         Moved ...
23789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
23790         ... here.
23791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
23792         Moved ...
23793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
23794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
23795         Moved ...
23796         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
23797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
23798         Moved ...
23799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
23800         ... here.
23801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
23802         Moved ...
23803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
23804         ... here.
23805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
23806         Moved ...
23807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
23808         ... here.
23809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
23810         Moved ...
23811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
23812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
23813         Moved ...
23814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
23815         ... here.
23816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
23817         Moved ...
23818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
23819         ... here.
23820         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
23821         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
23822         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
23823         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
23824         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
23825         Moved ...
23826         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
23827         ... here.
23828         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
23829         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
23830         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
23831         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
23832         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
23833         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
23834         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
23835         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
23836         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
23837         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
23838         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
23839         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
23840         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
23841         Moved ...
23842         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
23843         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
23844         Moved ...
23845         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
23846         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
23847         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
23848         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
23849         Moved ...
23850         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
23851         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
23852         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
23853         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
23854         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
23855         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
23856         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
23858 2014-06-10  Wilco  <wdijkstr@arm.com>
23860         * math/test-fenv-return.c: New file.
23861         * math/Makefile: Add new test test-fenv-return.
23863 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
23865         [BZ #17042]
23866         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
23867         when x - 1 is zero.
23868         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
23869         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
23870         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
23871         0.0L for an argument of 1.0L.
23872         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
23873         Likewise.
23874         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
23875         value when x - 1 is zero.
23876         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
23877         * sysdeps/i386/fpu/libm-test-ulps: Update.
23878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23880 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
23882         [BZ #15119]
23883         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
23885 2014-06-09  Roland McGrath  <roland@hack.frob.com>
23887         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
23888         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
23890 2014-06-09  Roland McGrath  <roland@hack.frob.com>
23892         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23893         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
23895         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23896         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
23898         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23899         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
23901         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23902         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
23904         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
23905         if not already defined.
23906         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
23907         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
23908         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
23909         (TLS_INIT_TP): Use it.
23910         (TLS_DEFINE_INIT_TP): New macro.
23911         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
23913 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
23915         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
23916         constant.
23917         [POSIX] (IXANY): Likewise.
23918         [POSIX] (OLCUC): Likewise.
23919         [POSIX || POSIX2008] (CBAUD): Do not allow.
23920         [POSIX || POSIX2008] (DEFECHO): Likewise.
23921         [POSIX || POSIX2008] (ECHOCTL): Likewise.
23922         [POSIX || POSIX2008] (ECHOKE): Likewise.
23923         [POSIX || POSIX2008] (ECHOPRT): Likewise.
23924         [POSIX || POSIX2008] (EXTA): Likewise.
23925         [POSIX || POSIX2008] (EXTB): Likewise.
23926         [POSIX || POSIX2008] (FLUSHO): Likewise.
23927         [POSIX || POSIX2008] (LOBLK): Likewise.
23928         [POSIX || POSIX2008] (PENDIN): Likewise.
23929         [POSIX || POSIX2008] (SWTCH): Likewise.
23930         [POSIX || POSIX2008] (VDISCARD): Likewise.
23931         [POSIX || POSIX2008] (VDSUSP): Likewise.
23932         [POSIX || POSIX2008] (VLNEXT): Likewise.
23933         [POSIX || POSIX2008] (VREPRINT): Likewise.
23934         [POSIX || POSIX2008] (VSTATUS): Likewise.
23935         [POSIX || POSIX2008] (VWERASE): Likewise.
23936         (B*): Change to B[0123456789]*.
23937         * conform/data/time.h-data [POSIX || UNIX98]
23938         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
23939         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23940         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
23941         [POSIX] (tm_*): Do not allow.
23943 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
23945         * Makefile (install): Don't set LANGUAGE.
23946         * Makefile.in (install): Likewise.
23947         * assert/Makefile (test-assert-ENV): Remove variable.
23948         (test-assert-perr-ENV): Likewise.
23949         * elf/Makefile (neededtest4-ENV): Likewise.
23950         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
23951         [$(cross-compiling) = no]: Don't set LANGUAGE.
23952         * io/ftwtest-sh (LANG): Remove variable.
23953         * libio/Makefile (tst-widetext-ENV): Likewise.
23954         * manual/install.texi (Running make install): Don't refer to
23955         environment settings for make install.
23956         * INSTALL: Regenerated.
23957         * nptl/tst-tls6.sh: Don't set LANG.
23958         * posix/globtest.sh (LANG): Remove variable.
23959         * string/Makefile (tester-ENV): Likewise.
23960         (inl-tester-ENV): Likewise.
23961         (noinl-tester-ENV): Likewise.
23962         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
23963         [$(cross-compiling) = no]: Don't set LANGUAGE.
23964         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
23965         without explicit environment settings.
23967 2014-06-06  Roland McGrath  <roland@hack.frob.com>
23969         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
23970         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
23971         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
23972         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
23974 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
23976         * crypt/crypt-private.h [DOS]: Add some includes taken from the
23977         other files in the crypt directory.
23978         * crypt/crypt.c: Remove duplicate includes.
23979         * crypt/crypt-entry.c: Likewise.
23980         * crypt/crypt_util.c: Likewise.
23982 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
23984         * Makeconfig (run-program-env): New variable.
23985         (run-program-prefix-before-env): Likewise.
23986         (run-program-prefix-after-env): Likewise.
23987         (run-program-prefix): Define in terms of new variables.
23988         (built-program-cmd-before-env): New variable.
23989         (built-program-cmd-after-env): Likewise.
23990         (built-program-cmd): Define in terms of new variables.
23991         (test-program-prefix-before-env): New variable.
23992         (test-program-prefix-after-env): Likewise.
23993         (test-program-prefix): Define in terms of new variables.
23994         (test-program-cmd-before-env): New variable.
23995         (test-program-cmd-after-env): Likewise.
23996         (test-program-cmd): Define in terms of new variables.
23997         * Rules (make-test-out): Use $(run-program-env).
23998         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
23999         (help): Do not mention environment variables.  Mention
24000         --timeoutfactor option.
24001         (timeoutfactor): New variable.
24002         (blacklist_exports): Remove function.
24003         (exports): Remove variable.
24004         (command): Do not include ${exports}.
24005         * manual/install.texi (Configuring and compiling): Do not mention
24006         test wrappers preserving environment variables.  Mention that last
24007         assignment to a variable must take precedence.
24008         * INSTALL: Regenerated.
24009         * benchtests/Makefile (run-bench): Use $(run-program-env).
24010         * catgets/Makefile ($(objpfx)test1.cat): Use
24011         $(built-program-cmd-before-env), $(run-program-env) and
24012         $(built-program-cmd-after-env).
24013         ($(objpfx)test2.cat): Do not specify environment variables
24014         explicitly.
24015         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
24016         $(run-program-env) and $(built-program-cmd-after-env).
24017         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
24018         $(run-program-env) and $(test-program-cmd-after-env).
24019         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
24020         explicitly.
24021         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
24022         run_program_env and test_program_cmd_after_env arguments.
24023         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
24024         * elf/tst-pathopt.sh: Use run_program_env argument.
24025         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
24026         $(test-wrapper-env) and $(run-program-env).
24027         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
24028         run_program_env arguments.
24029         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
24030         * intl/Makefile ($(objpfx)tst-gettext.out): Use
24031         $(test-program-prefix-before-env), $(run-program-env) and
24032         $(test-program-prefix-after-env).
24033         ($(objpfx)tst-gettext2.out): Likewise.
24034         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
24035         run_program_env and test_program_prefix_after_env arguments.
24036         * intl/tst-gettext2.sh: Likewise.
24037         * intl/tst-gettext4.sh: Do not set environment variables
24038         explicitly.
24039         * intl/tst-gettext6.sh: Likewise.
24040         * intl/tst-translit.sh: Likewise.
24041         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
24042         $(test-program-prefix-before-env), $(run-program-env) and
24043         $(test-program-prefix-after-env).
24044         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
24045         run_program_env and test_program_prefix_after_env arguments.
24046         * math/Makefile (run-regen-ulps): Use $(run-program-env).
24047         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
24048         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
24049         explicitly with each use of ${test_wrapper_env}.
24050         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
24051         $(test-program-prefix-before-env), $(run-program-env) and
24052         $(test-program-prefix-after-env).
24053         * posix/tst-getconf.sh: Do not set environment variables
24054         explicitly.
24055         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
24056         run_program_env and test_program_prefix_after_env arguments.
24057         * stdio-common/tst-printf.sh: Do not set environment variables
24058         explicitly.
24059         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
24060         $(test-program-prefix-before-env), $(run-program-env) and
24061         $(test-program-prefix-after-env).
24062         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
24063         run_program_env and test_program_prefix_after_env arguments.
24064         Split $test calls into $test_pre and $test.
24065         * timezone/Makefile (build-testdata): Use
24066         $(built-program-cmd-before-env), $(run-program-env) and
24067         $(built-program-cmd-after-env).
24069 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24071         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
24072         strlen for non SHARED builds.
24074 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24076         * nptl/allocatestack.c (check_list): Inlined function...
24077         (__reclaim_stacks): ... here.
24079 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
24081         [BZ #15698]
24082         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
24083         memory overrun.
24085 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
24087         * Rules (make-test-out): Include
24088         LOCPATH=$(common-objpfx)localedata in default environment.
24089         * debug/Makefile (tst-chk1-ENV): Remove variable.
24090         (tst-chk2-ENV): Likewise.
24091         (tst-chk3-ENV): Likewise.
24092         (tst-chk4-ENV): Likewise.
24093         (tst-chk5-ENV): Likewise.
24094         (tst-chk6-ENV): Likewise.
24095         (tst-lfschk1-ENV): Likewise.
24096         (tst-lfschk2-ENV): Likewise.
24097         (tst-lfschk3-ENV): Likewise.
24098         (tst-lfschk4-ENV): Likewise.
24099         (tst-lfschk5-ENV): Likewise.
24100         (tst-lfschk6-ENV): Likewise.
24101         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
24102         (tst-iconv7-ENV): Likewise.
24103         * intl/Makefile (LOCPATH-ENV): Likewise.
24104         (tst-codeset-ENV): Likewise.
24105         (tst-gettext3-ENV): Likewise.
24106         (tst-gettext5-ENV): Likewise.
24107         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
24108         (tst-fopenloc-ENV): Likewise.
24109         (tst-fgetws-ENV): Remove variable.
24110         (tst-ungetwc1-ENV): Likewise.
24111         (tst-ungetwc2-ENV): Likewise.
24112         (bug-ungetwc2-ENV): Likewise.
24113         (tst-swscanf-ENV): Likewise.
24114         (bug-ftell-ENV): Likewise.
24115         (tst-fgetwc-ENV): Likewise.
24116         (tst-fseek-ENV): Likewise.
24117         (tst-ftell-partial-wide-ENV): Likewise.
24118         (tst-ftell-active-handler-ENV): Likewise.
24119         (tst-ftell-append-ENV): Likewise.
24120         * posix/Makefile (tst-fnmatch-ENV): Likewise.
24121         (tst-regexloc-ENV): Likewise.
24122         (bug-regex1-ENV): Likewise.
24123         (tst-regex-ENV): Likewise.
24124         (tst-regex2-ENV): Likewise.
24125         (bug-regex5-ENV): Likewise.
24126         (bug-regex6-ENV): Likewise.
24127         (bug-regex17-ENV): Likewise.
24128         (bug-regex18-ENV): Likewise.
24129         (bug-regex19-ENV): Likewise.
24130         (bug-regex20-ENV): Likewise.
24131         (bug-regex22-ENV): Likewise.
24132         (bug-regex23-ENV): Likewise.
24133         (bug-regex25-ENV): Likewise.
24134         (bug-regex26-ENV): Likewise.
24135         (bug-regex30-ENV): Likewise.
24136         (bug-regex32-ENV): Likewise.
24137         (bug-regex33-ENV): Likewise.
24138         (bug-regex34-ENV): Likewise.
24139         (bug-regex35-ENV): Likewise.
24140         (tst-rxspencer-ENV): Likewise.
24141         (tst-rxspencer-no-utf8-ENV): Likewise.
24142         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
24143         (tst-sscanf-ENV): Likewise.
24144         (tst-swprintf-ENV): Likewise.
24145         (tst-swscanf-ENV): Likewise.
24146         (test-vfprintf-ENV): Likewise.
24147         (scanf13-ENV): Likewise.
24148         (bug14-ENV): Likewise.
24149         (tst-grouping-ENV): Likewise.
24150         * stdlib/Makefile (tst-strtod-ENV): Likewise.
24151         (tst-strtod3-ENV): Likewise.
24152         (tst-strtod4-ENV): Likewise.
24153         (tst-strtod5-ENV): Likewise.
24154         (testmb2-ENV): Likewise./
24155         * string/Makefile (tst-strxfrm-ENV): Likewise.
24156         (tst-strxfrm2-ENV): Likewise.
24157         (bug-strcoll1-ENV): Likewise.
24158         (test-strcasecmp-ENV): Likewise.
24159         (test-strncasecmp-ENV): Likewise.
24160         * time/Makefile (tst-strptime-ENV): Likewise.
24161         (tst-ftime_l-ENV): Likewise.
24162         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
24163         (tst-mbrtowc-ENV): Likewise.
24164         (tst-wcrtomb-ENV): Likewise.
24165         (tst-mbrtowc2-ENV): Likewise.
24166         (tst-c16c32-1-ENV): Likewise.
24167         (tst-mbsnrtowcs-ENV): Likewise.
24169 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
24171         * manual/resource.texi (How to get information about the memory
24172         subsystem?): Fix typo.
24173         Reported by Peon de la Parra Ivan <peon@keba.com>
24175 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
24177         [BZ #16882]
24178         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
24179         (pthread_spin_lock): Branch out of spin loop to proper location.
24180         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
24181         (pthread_spin_lock): Likewise.
24183         * nptl/tst-spin4.c: New test.
24184         * nptl/Makefile (tests): Add tst-spin4.
24186 2014-06-03  Andreas Schwab  <schwab@suse.de>
24188         [BZ #15946]
24189         * resolv/res_send.c (send_dg): Reload file descriptor after
24190         calling reopen.
24192 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
24194         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24196 2014-06-03  Richard Henderson  <rth@redhat.com>
24198         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
24199         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
24200         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
24201         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
24202         in the SAVE_PID block.
24203         (__libc_vfork): New alias.
24204         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
24206         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
24207         child in registers, not on the stack.  Remove RESET_PID conditionals.
24208         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
24210 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
24212         * sysdeps/aarch64/libm-test-ulps: Regenerate.
24214 2014-06-03  Wilco  <wdijkstr@arm.com>
24216         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
24217         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
24218         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
24219         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
24220         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
24221         Likewise.
24223 2014-06-03  Wilco  <wdijkstr@arm.com>
24225         * sysdeps/aarch64/fpu/math_private.h
24226         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
24227         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
24228         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
24229         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
24230         Fix declarations.
24232 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24234         * crypt/crypt-private.h: Include ufc-crypt.h.
24235         (__b64_from_24bit): Declare extern.
24236         * crypt/crypt_util.c(__b64_from_24bit): New function.
24237         (b64t): New static const variable.
24238         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
24239         (b64t): Remove variable.
24240         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
24241         * crypt/sha256-crypt.c: Include crypt-private.h.
24242         (b64t): Remove variable.
24243         (__sha256_crypt_r): Remove b64_from_24bit and replace
24244         with __b64_from_24bit.
24245         * crypt/sha512-crypt.c: Likewise.
24247 2014-06-02  Roland McGrath  <roland@hack.frob.com>
24249         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
24250         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
24251         Label the code __libc_vfork rather than __vfork.
24252         [!NOT_IN_libc] (vfork): Define as weak alias.
24253         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
24254         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
24255         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
24257 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24259         * malloc/malloc.c (malloc_info): Fix format specifier for
24260         n_mmaps.
24262 2014-06-02  Wilco  <wdijkstr@arm.com>
24264         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
24265         FPCR write.
24267 2014-06-02  Wilco  <wdijkstr@arm.com>
24269         [BZ #17009]
24270         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
24271         Rewrite to reduce FPCR/FPSR accesses.
24273 2014-06-01  David S. Miller  <davem@davemloft.net>
24275         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24277 2014-05-31  David S. Miller  <davem@davemloft.net>
24279         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
24280         to occur in round to nearest mode when |x| >= 2.0
24282 2014-05-30  Richard Henderson  <rth@twiddle.net>
24284         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
24285         (PSEUDO_RET_NOERRNO): Remove.
24286         (ret): Don't redefine.
24287         (ret_NOERRNO): Define in terms of ret.
24288         (ret_ERRVAL): Likewise.
24290         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
24291         use of PSEUDO_RET; perform the error check directly.
24293 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
24295         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
24296         with __int128_t.
24298 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24300         * malloc/malloc (malloc_info): Fix formatting.
24302 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24303             Roland McGrath  <roland@hack.frob.com>
24305         * malloc/malloc (malloc_info): Also print mmapped statistics.
24307 2014-05-30  Roland McGrath  <roland@hack.frob.com>
24309         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
24310         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
24312 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
24314         * malloc/malloc.c (malloc_info): Inline mi_arena.
24316 2014-05-29  Richard Henderson  <rth@twiddle.net>
24318         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
24319         Remove comma before expanding ASM_ARGS_##nr.
24320         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
24321         Make _x0 a strict output; make _x8 a strict input; adjust expansion
24322         of ASM_ARGS_##nr.
24323         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
24324         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
24325         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
24326         (ASM_ARGS_1): Add leading comma.
24328         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
24329         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
24330         to __errno_location.
24331         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
24332         Remove the expected plt for __errno_location.
24334         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
24335         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
24336         call to __read_tp.
24338         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
24339         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
24340         it and break it down.
24341         (DOCARGS_0, DOCARGS_1): Do nothing.
24342         (DOCARGS_2): Update to store into the new stack frame.
24343         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
24344         (UNDOCARGS_1): Update to restore from the new stack frame.
24345         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
24346         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
24348         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
24349         (SINGLE_THREAD_P): New parameter for result regno.
24350         (PSEUDO): Update to match; use cbz instead of beq.
24352         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
24353         Use ENTRY to define the _nocancel entry point.  Share the syscall
24354         and syscall error check paths with the cancel path.
24355         (PSEUDO_END): New.
24357         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
24358         whitespace; tabs before and after asm mnemonics.
24360 2014-05-29  Eric Wong  <normalperson@yhbt.net>
24362         [BZ #15132]
24363         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24364         Call fstat64 or stat64 internally, depending on arguments passed.
24365         Replace stat buffer argument with file descriptor argument.
24366         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
24367         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
24368         Pass fd to __internal_statvfs instead of calling fstat64.
24369         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
24370         Pass fd to __internal_statvfs64 instead of calling fstat64.
24371         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
24372         Pass -1 to __internal_statvfs instead of calling stat64.
24373         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
24374         Pass -1 to __internal_statvfs64 instead of calling stat64.
24376 2014-05-28  Roland McGrath  <roland@hack.frob.com>
24378         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
24379         that was previously under [RESET_PID].
24380         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
24382         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
24383         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
24385 2014-05-27  Roland McGrath  <roland@hack.frob.com>
24387         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
24389         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
24390         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
24392 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
24394         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
24396 2014-05-27  Andreas Schwab  <schwab@suse.de>
24398         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
24399         TLS_INIT_TP macro.
24400         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
24401         * elf/rtld.c (init_tls, dl_main): Likewise.
24402         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
24403         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
24404         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
24405         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
24406         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
24407         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
24408         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
24409         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
24410         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
24411         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
24412         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
24413         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
24414         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
24415         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
24416         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
24417         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
24418         * sysdeps/generic/tls.h: Update description.
24420 2014-05-27  Will Newton  <will.newton@linaro.org>
24422         [BZ #16990]
24423         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
24424         and restore r2 rather than just restoring.
24426 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24428         [BZ #16724]
24429         * libio/tst-ftell-append.c: New test case.
24430         * libio/Makefile (tests): Add test case.
24431         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
24432         append mode.
24433         * libio/wfileops.c (do_ftell_wide): Likewise.
24435 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24437         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24439         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
24440         ...
24441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
24442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24443         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
24444         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
24445         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
24446         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
24447         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
24448         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
24449         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
24450         Moved ...
24451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
24452         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
24453         Moved ...
24454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
24455         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
24456         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
24457         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
24458         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
24459         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
24460         ...
24461         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
24462         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
24463         Moved ...
24464         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
24465         here.
24466         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
24467         ...
24468         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
24469         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
24470         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
24472         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
24473         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
24474         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
24475         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
24477         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
24478         merge into ...
24479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
24480         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
24481         ...
24482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
24483         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
24484         ...
24485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
24486         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
24487         Moved ...
24488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
24489         here.
24490         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
24491         Moved ...
24492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
24493         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
24494         Moved ...
24495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
24497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
24498         conditional [RESET_PID].
24499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
24500         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
24501         removed.
24502         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
24503         removed.
24505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
24506         <tcb-offsets.h>.
24507         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
24508         (__libc_vfork): New strong alias.
24509         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
24510         removed.
24511         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
24512         Removed.
24514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
24515         <tcb-offsets.h>.
24516         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
24517         (__libc_vfork): New strong alias.
24518         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
24519         removed.
24520         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
24521         removed.
24523 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
24525         * malloc/malloc.c (mi_arena): New function.
24526         (malloc_info): Remove nested function mi_arena. Call non-nosted
24527         function mi_arena.
24529 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24531         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
24532         by insrwi.
24533         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
24534         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
24535         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
24536         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
24537         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
24538         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
24539         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
24541 2014-05-26  Andreas Schwab  <schwab@suse.de>
24543         [BZ #16984]
24544         * locale/programs/repertoire.c (repertoire_read): Add slash
24545         between I18NPATH element and file name.
24546         * locale/programs/locfile.c (locfile_read): Likewise.
24548 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
24550         * nptl/pthread_mutexattr_settype.c
24551         (__pthread_mutexattr_settype):
24552         Disable lock elision for PTHREAD_MUTEX_NORMAL.
24554 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
24556         * nptl/tst-mutex5 (do_test):
24557         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
24559 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24561         * benchtests/README: Document 'init' directive.
24562         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
24563         BENCH_INIT.
24564         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
24565         (parse_file): Recognize 'init' directive.
24567 2014-05-26  Kyle McMartin  <kyle@redhat.com>
24569         [BZ #16796]
24570         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
24571         alignment of struct pthread.
24573 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24575         [BZ #16878]
24576         * nscd/netgroupcache.c (addgetnetgrentX): Look for
24577         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
24578         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
24579         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
24581 2014-05-25  Richard Henderson  <rth@twiddle.net>
24583         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
24584         (SINGLE_THREAD_P_PIC): Remove.
24585         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
24586         (SINGLE_THREAD_P_PIC): Remove.
24588         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
24589         branch to syscall error ...
24590         (PSEUDO): ... here.
24591         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
24592         from __local_syscall_error to .Lsyscall_error.
24593         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
24594         (SYSCALL_ERROR): Update label name.
24596         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
24597         Do not use DOARGS/UNDOARGS.
24598         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
24599         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
24600         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
24601         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
24602         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
24604         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
24605         block comment.
24607         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
24608         define if !NOT_IN_libc.
24609         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
24610         define with non-default symbol versions.
24612 2014-05-23  Richard Henderson  <rth@twiddle.net>
24614         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
24615         (vfork, __vfork): Define via compat_symbol.
24617         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
24618         [!HAVE_IFUNC] (vfork_compat): Remove.
24619         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
24621 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
24623         [BZ #16978]
24624         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
24625         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
24626         variable.
24628 2014-05-23  Richard Henderson  <rth@twiddle.net>
24630         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
24631         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
24632         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
24633         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
24635         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
24636         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
24637         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
24638         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
24639         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
24640         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
24641         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
24642         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
24643         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
24644         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
24645         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
24646         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
24647         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
24648         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
24649         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
24650         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
24651         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
24652         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
24653         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
24654         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
24655         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
24656         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
24657         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
24658         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
24659         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
24660         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
24661         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
24662         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
24663         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
24664         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
24665         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
24666         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
24667         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
24668         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
24669         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
24670         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
24671         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
24672         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
24673         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
24674         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
24675         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
24676         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
24677         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
24678         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
24679         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
24680         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
24681         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
24682         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
24683         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
24684         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
24685         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
24686         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
24687         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
24688         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
24689         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
24690         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
24692         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
24693         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
24694         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
24695         before exiting on error.
24696         (__libc_vfork): New strong alias.
24697         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
24698         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
24700         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
24701         that was previously under [RESET_PID].
24702         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
24704         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
24706 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
24708         [BZ #16977]
24709         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
24710         value when x - 1 is zero.
24711         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
24712         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
24713         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
24714         0.0L for an argument of 1.0L.
24715         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
24716         Likewise.
24717         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
24718         value when x - 1 is zero.
24719         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
24720         * sysdeps/i386/fpu/libm-test-ulps: Update.
24721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24723 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
24725         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
24726         alphasort and versionsort.
24728 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24730         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
24731         macro.
24732         [copysignf]: Likewise.
24734 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24736         * crypt/md5-crypt.c: Fix formatting.
24738 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24740         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
24741         (b64_from_24bit): New function.
24743 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24745         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
24746         libc_hidden_builtin_def to ifunc.
24747         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
24748         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
24750 2014-05-21  Roland McGrath  <roland@hack.frob.com>
24752         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
24753         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
24755 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
24757         * nscd/Depend (linuxthreads): Remove.
24758         (nptl): Add.
24759         * resolv/Depend (linuxthreads): Remove.
24760         * rt/Depend (linuxthreads): Remove.
24762         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
24763         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
24764         $(common-objpfx)elf/.
24765         (link-libc-before-gnulib): Likewise.
24766         (elfobjdir): Remove variable.
24767         * Makefile (install): Use $(elf-objpfx) instead of
24768         $(common-objpfx)elf/.
24769         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
24770         $(elfobjdir)/.
24771         (link-libc-deps): Likewise.
24772         ($(common-objpfx)libc.so): Likewise.
24773         ($(common-objpfx)linkobj/libc.so): Likewise.
24774         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
24775         instead of $(common-objpfx)elf/.
24776         (symbolic-link-list): Likewise.
24777         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
24778         [$(cross-compiling) = no]: Likewise.
24779         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
24780         $(elfobjdir)/.
24781         (static-gnulib-arch): Likewise.
24782         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
24783         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
24784         $(common-objpfx)elf/.
24786 2014-05-21  Richard Henderson  <rth@redhat.com>
24788         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
24789         (SINGLE_THREAD_P): Use the correct width load.  Fold
24790         into the ldr offset.
24792         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
24793         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
24795 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
24797         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
24798         (libgcc_s_resume): Use __attribute_used__.
24799         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
24800         Likewise.
24802 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24804         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
24805         optimization when used with float constants.
24807         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24809 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
24811         [BZ #16915]
24812         * locale/nl_langinfo_l.c: Make direct reference to every
24813         _nl_current_CATEGORY symbol.
24814         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
24815         (tests-static): Add tst-langinfo-static.
24816         (tests-special): Add tst-langinfo-static.out.
24817         ($(objpfx)tst-langinfo.out): Redirect output.
24818         ($(objpfx)tst-langinfo-static.out): New.
24819         * localedata/tst-langinfo.sh: Send output to stdout.
24820         * localedata/tst-langinfo-static.c: New file.
24822         [BZ #16965]
24823         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
24824         when the shift amount is modulo the limb size.
24826 2014-05-20  Richard Henderson  <rth@redhat.com>
24828         [BZ #16967]
24829         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
24830         Change type of sa_flags from unsigned int to int.
24832         [BZ #16966]
24833         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
24835         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
24837 2014-05-20  Will Newton  <will.newton@linaro.org>
24839         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
24840         Test the return value of the system call in the nocancel case.
24842 2014-05-20  Will Newton  <will.newton@linaro.org>
24843             Yvan Roux  <yvan.roux@linaro.org>
24845         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
24846         #include of asm/ptrace.h.
24847         (PTRACE_GET_THREAD_AREA): Remove #undef.
24848         (PTRACE_GETHBPREGS): Likewise.
24849         (PTRACE_SETHBPREGS): Likewise.
24850         (struct user_regs_struct): New structure.
24851         (struct user_fpsimd_struct): New structure.
24852         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
24853         #include of asm/ptrace.h and second #include of sys/user.h.
24854         (PTRACE_GET_THREAD_AREA): Remove #undef.
24855         (PTRACE_GETHBPREGS): Likewise.
24856         (PTRACE_SETHBPREGS): Likewise.
24857         (ELF_NGREG): Use new struct user_regs_struct.
24858         (elf_fpregset_t): Use new struct user_fpsimd_struct.
24860 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24862         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
24863         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
24865 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
24867         [BZ #16958]
24868         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
24869         membar to avoid block loads/stores to overlap previous stores.
24871 2014-05-17  Richard Henderson  <rth@redhat.com>
24873         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
24874         Create the __##syscall_name##_nocancel entry point.
24875         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
24876         Remove; let the sysdep-cancel.h code create it.
24878 2014-05-17  David S. Miller  <davem@davemloft.net>
24880         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
24881         Protect with __USE_GNU.
24882         (TIOCSET_TEMPT): Likewise.
24883         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
24884         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
24885         these are already provided in bits/ioctl-types.h
24887 2014-05-16  Roland McGrath  <roland@hack.frob.com>
24889         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
24890         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
24892         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
24893         Use wait4 regardless of [__NR_waitpid].
24895 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
24897         PR libgcc/60166
24898         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
24899         (_FP_NANSIGN_Q): Set the quiet bit.
24901 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
24903         * benchtests/Makefile
24904         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
24905         not $(common-objpfx)math/libm.so.
24906         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
24907         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
24908         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
24909         $(common-objpfx)dlfcn/libdl.so.
24910         ($(objpfx)tst-audit8): Depend on $(libm), not
24911         $(common-objpfx)math/libm.so.
24912         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
24913         not $(common-objpfx)dlfcn/libdl.so.
24914         * math/Makefile
24915         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24916         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
24917         [$(build-shared) = yes].
24918         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
24919         $(common-objpfx)nptl/libpthread.so.
24920         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
24921         $(common-objpfx)math/libm.so$(libm.so-version) or
24922         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
24923         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
24924         $(common-objpfx)dlfcn/libdl.so.
24925         * setjmp/Makefile (link-libm): Remove variable.
24926         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
24927         * stdio-common/Makefile (link-libm): Remove variable.
24928         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
24929         * stdlib/Makefile (link-libm): Remove variable.
24930         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
24931         ($(objpfx)tst-strtod-round): Likewise.
24932         ($(objpfx)tst-tininess): Likewise.
24933         ($(objpfx)tst-strtod-underflow): Likewise.
24934         ($(objpfx)tst-strtod6): Likewise.
24935         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
24936         $(libdl), not $(common-objpfx)nptl/libpthread.so and
24937         $(common-objpfx)dlfcn/libdl.so.
24939 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24941         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
24942         BSD terminal modes definitions.
24944 2014-05-16  Roland McGrath  <roland@hack.frob.com>
24946         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
24947         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
24949         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
24950         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
24951         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
24952         Don't do #include_next.
24953         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
24954         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
24955         Don't do #include_next.
24956         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
24957         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
24958         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
24959         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
24961 2014-05-16  Allan McRae  <allan@archlinux.org>
24963         * po/sv.po: Update Swedish translation from translation project.
24965         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
24966         in sed expression.
24968 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
24970         [BZ #16917]
24971         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
24972         errno if the TIOCGPTN ioctl fails with an error different than
24973         EINVAL.
24974         * login/tst-ptsname.c: New file.
24975         * login/Makefile (tests): Add tst-ptsname.
24977         [BZ #16943]
24978         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
24979         and prlimit64.
24981 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24983         [BZ #16849]
24984         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
24985         herrno to return EAI_AGAIN.
24987 2014-05-14  Roland McGrath  <roland@hack.frob.com>
24989         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
24990         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
24991         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
24992         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
24993         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
24994         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
24995         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
24996         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
24997         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
24998         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
24999         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
25000         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
25001         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
25002         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
25003         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
25004         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
25005         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
25006         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
25007         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
25008         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
25009         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
25010         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
25011         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
25012         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
25013         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
25014         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
25015         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
25016         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
25017         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
25018         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
25019         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
25020         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
25021         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
25022         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
25023         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25024         Moved ...
25025         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
25026         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
25027         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
25028         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
25029         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
25030         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
25031         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
25032         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
25033         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
25034         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
25035         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
25036         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
25037         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
25038         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
25039         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
25040         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
25041         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
25042         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
25043         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
25044         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
25045         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
25046         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
25047         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
25048         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
25049         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
25050         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
25051         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
25052         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
25053         Moved ...
25054         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
25055         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
25056         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
25057         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
25058         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
25059         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
25060         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
25061         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
25062         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
25063         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
25064         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
25065         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
25066         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
25067         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
25068         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
25069         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
25070         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
25071         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
25072         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
25073         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
25074         Moved ...
25075         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
25076         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
25077         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
25079         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
25080         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
25081         (libpthread-sysdep_routines): Add elision-related stuff here instead.
25082         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
25083         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
25084         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
25085         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
25086         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
25087         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
25088         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
25089         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
25090         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
25091         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
25092         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
25093         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
25094         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
25095         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
25096         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
25097         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
25098         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
25099         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
25100         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
25101         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
25102         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
25103         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
25104         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
25105         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
25106         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
25107         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
25108         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
25109         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
25111         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
25112         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
25114         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
25115         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
25116         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
25117         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
25118         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
25119         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
25120         Moved ...
25121         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
25122         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
25123         Moved ...
25124         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
25125         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
25126         Moved ...
25127         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
25128         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
25129         Moved ...
25130         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
25131         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
25132         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
25133         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
25134         Moved ...
25135         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
25136         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
25137         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
25138         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
25139         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
25140         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
25141         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
25142         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
25143         Moved ...
25144         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
25145         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
25146         Moved ...
25147         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
25148         ... here.
25149         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
25150         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
25151         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
25152         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
25153         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
25154         Moved ...
25155         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
25156         ... here.
25157         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
25158         Moved ...
25159         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
25160         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
25161         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
25162         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
25163         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
25164         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
25165         Moved ...
25166         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
25167         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
25168         Moved ...
25169         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
25170         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
25171         Moved ...
25172         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
25173         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
25174         Moved ...
25175         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
25176         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
25177         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
25178         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
25179         Moved ...
25180         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
25181         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
25182         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
25183         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
25184         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
25185         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
25186         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
25187         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
25188         Moved ...
25189         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
25190         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
25191         Moved ...
25192         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
25193         ... here.
25194         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
25195         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
25196         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
25197         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
25198         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
25199         Moved ...
25200         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
25201         ... here.
25202         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
25203         Moved ...
25204         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
25205         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
25206         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
25207         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
25208         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
25209         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
25210         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
25211         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
25212         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
25213         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
25214         Moved ...
25215         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
25216         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
25217         Moved ...
25218         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
25219         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
25220         Moved ...
25221         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
25222         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
25223         Moved ...
25224         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
25225         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
25226         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
25227         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
25228         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
25229         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
25230         Moved ...
25231         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
25232         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
25233         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
25234         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
25235         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
25236         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
25237         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
25238         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
25239         Moved ...
25240         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
25241         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
25242         Moved ...
25243         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
25244         ... here.
25245         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
25246         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
25247         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
25248         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
25249         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
25250         Moved ...
25251         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
25252         ... here.
25253         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
25254         Moved ...
25255         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
25256         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
25257         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
25258         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
25259         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
25260         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
25261         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
25262         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
25263         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
25264         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
25265         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
25267         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
25268         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
25270         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
25271         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
25273         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
25274         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
25275         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
25276         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
25277         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
25278         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
25279         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
25280         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
25281         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
25282         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
25283         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
25284         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
25285         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
25286         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
25287         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
25288         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
25289         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
25290         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
25291         Moved ...
25292         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
25293         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
25294         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
25295         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
25296         Moved ...
25297         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
25298         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
25299         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
25300         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
25301         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
25302         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
25303         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
25304         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
25305         Moved ...
25306         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
25307         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
25308         Moved ...
25309         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
25310         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
25311         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
25312         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
25313         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
25314         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
25315         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
25316         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
25317         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
25318         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
25319         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
25320         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
25321         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
25322         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
25323         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
25324         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
25325         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
25327         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
25328         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
25329         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
25330         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
25331         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
25333         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
25334         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
25335         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
25336         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
25337         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
25338         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
25339         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
25340         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
25341         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
25342         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
25344         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
25345         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
25347         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
25348         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
25349         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
25350         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
25351         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
25352         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
25353         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
25354         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
25355         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
25356         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
25357         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
25358         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
25359         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
25360         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
25361         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
25362         Update #include.
25363         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
25364         Likewise.
25365         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
25366         Likewise.
25367         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
25368         Likewise.
25369         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
25370         Likewise.
25371         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
25372         Likewise.
25373         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
25374         Likewise.
25375         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
25376         Likewise.
25377         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
25378         Likewise.
25379         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
25380         Likewise.
25381         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
25382         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
25383         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
25384         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
25385         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
25386         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
25387         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
25388         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
25389         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
25390         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
25391         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
25392         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
25393         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
25394         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
25395         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
25397         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
25398         that was previously under [RESET_PID].
25399         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25400         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
25401         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
25403         * sysdeps/i386/nptl/Implies: New file.
25404         * sysdeps/x86_64/nptl/Implies: New file.
25405         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
25406         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
25407         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
25408         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
25410         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
25411         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25412         (__libc_vfork): New strong alias.
25413         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
25414         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
25416         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
25417         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25418         (__libc_vfork): New strong alias.
25419         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
25420         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
25422         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
25423         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25424         (__libc_vfork): New strong alias.
25425         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
25426         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
25427         * nptl/pt-vfork.c: New file.
25428         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
25429         (libpthread: GLIBC_2.20): New version set (empty).
25431 2014-05-14  Will Newton  <will.newton@linaro.org>
25433         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
25434         rather than #if.
25436 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
25438         [BZ #16564]
25439         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
25440         arguments with exponent 65 or above.
25441         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
25442         arguments 0x1p113L or above.
25443         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
25444         to arguments 0x1p107L or above.
25445         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
25446         positive arguments with exponent 65 or above.
25447         * math/auto-libm-test-in: Add more tests of log1p.
25448         * math/auto-libm-test-out: Regenerated.
25450         [BZ #16928]
25451         * math/s_cacos.c (__cacos): Ensure zero real part of result from
25452         non-finite arguments is +0.
25453         * math/s_cacosf.c (__cacosf): Likewise.
25454         * math/s_cacosl.c (__cacosl): Likewise.
25455         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
25456         * sysdeps/i386/fpu/libm-test-ulps: Update.
25457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25459         [BZ #16927]
25460         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
25461         value.
25462         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
25463         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
25464         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
25465         for explicit high bit of mantissa when testing for argument equal
25466         to 1.
25467         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
25468         * sysdeps/i386/fpu/libm-test-ulps: Update.
25469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25471         [BZ #16516]
25472         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
25473         (__erf): Scale by 16 instead of 8 in potentially underflowing
25474         case.  Ensure exception if result actually underflows.
25475         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
25476         (__erff): Scale by 16 instead of 8 in potentially underflowing
25477         case.  Ensure exception if result actually underflows.
25478         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
25479         (efx8): Remove variable.
25480         (__erfl): Scale by 16 instead of 8 in potentially underflowing
25481         case.  Ensure exception if result actually underflows.
25482         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
25483         (efx8): Remove variable.
25484         (__erfl): Scale by 16 instead of 8 in potentially underflowing
25485         case.  Ensure exception if result actually underflows.
25486         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
25487         (efx8): Remove variable.
25488         (__erfl): Scale by 16 instead of 8 in potentially underflowing
25489         case.  Ensure exception if result actually underflows.
25490         * math/auto-libm-test-in: Add more tests of erf.
25491         * math/auto-libm-test-out: Regenerated.
25493 2014-05-14  Andreas Schwab  <schwab@suse.de>
25495         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
25496         Remove code conditionalized on USE___THREAD.
25498         * config.h.in (HAVE_PT_CHOWN): Define as 0.
25499         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
25500         not definedness.
25502 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
25504         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
25505         Define unconditionally.
25506         (__ASSUME_O_CLOEXEC): Likewise.
25507         (__ASSUME_SOCK_CLOEXEC): Likewise.
25508         (__ASSUME_IN_NONBLOCK): Likewise.
25509         (__ASSUME_PIPE2): Likewise.
25510         (__ASSUME_EVENTFD2): Likewise.
25511         (__ASSUME_SIGNALFD4): Likewise.
25512         (__ASSUME_DUP3): Likewise.
25513         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25514         (__ASSUME_DUP3): Do not define.
25515         (__ASSUME_EVENTFD2): Likewise.
25516         (__ASSUME_IN_NONBLOCK): Likewise.
25517         (__ASSUME_O_CLOEXEC): Likewise.
25518         (__ASSUME_PIPE2): Likewise.
25519         (__ASSUME_SIGNALFD4): Likewise.
25520         (__ASSUME_SOCK_CLOEXEC): Likewise.
25521         (__ASSUME_UTIMES): Undefine.
25522         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25523         (__ASSUME_UTIMES): Do not define.
25524         (__ASSUME_O_CLOEXEC): Likewise.
25525         (__ASSUME_SOCK_CLOEXEC): Likewise.
25526         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
25527         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
25528         0x020621].
25529         (__ASSUME_PIPE2): Likewise.
25530         (__ASSUME_EVENTFD2): Likewise.
25531         (__ASSUME_SIGNALFD4): Likewise.
25532         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
25533         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
25534         Do not define.
25535         (__ASSUME_EVENTFD2): Likewise.
25536         (__ASSUME_SIGNALFD4): Likewise.
25537         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25538         (__ASSUME_32BITUIDS): Likewise.
25539         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
25540         (__ASSUME_IPC64): Likewise.
25541         (__ASSUME_ST_INO_64_BIT): Likewise.
25542         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
25543         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
25544         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25545         (__ASSUME_UTIMES): Do not define.
25546         (__ASSUME_PSELECT): Likewise.
25547         (__ASSUME_PPOLL): Likewise.
25548         (__ASSUME_O_CLOEXEC): Likewise.
25549         (__ASSUME_SOCK_CLOEXEC): Likewise.
25550         (__ASSUME_IN_NONBLOCK): Likewise.
25551         (__ASSUME_PIPE2): Likewise.
25552         (__ASSUME_EVENTFD2): Likewise.
25553         (__ASSUME_SIGNALFD4): Likewise.
25554         (__ASSUME_DUP3): Likewise.
25555         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25556         (__ASSUME_UTIMES): Likewise.
25557         (__ASSUME_O_CLOEXEC): Likewise.
25558         (__ASSUME_SOCK_CLOEXEC): Likewise.
25559         (__ASSUME_IN_NONBLOCK): Likewise.
25560         (__ASSUME_PIPE2): Likewise.
25561         (__ASSUME_EVENTFD2): Likewise.
25562         (__ASSUME_SIGNALFD4): Likewise.
25563         (__ASSUME_DUP3): Likewise.
25564         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25565         (__ASSUME_UTIMES): Likewise.
25566         (__ASSUME_O_CLOEXEC): Likewise.
25567         (__ASSUME_SOCK_CLOEXEC): Likewise.
25568         (__ASSUME_IN_NONBLOCK): Likewise.
25569         (__ASSUME_PIPE2): Likewise.
25570         (__ASSUME_EVENTFD2): Likewise.
25571         (__ASSUME_SIGNALFD4): Likewise.
25572         (__ASSUME_DUP3): Likewise.
25573         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
25574         Likewise.
25575         (__ASSUME_UTIMES): Likewise.
25576         (__ASSUME_EVENTFD2): Likewise.
25577         (__ASSUME_SIGNALFD4): Likewise.
25578         * sysdeps/unix/sysv/linux/tile/kernel-features.h
25579         (__ASSUME_O_CLOEXEC): Likewise.
25580         (__ASSUME_SOCK_CLOEXEC): Likewise.
25581         (__ASSUME_IN_NONBLOCK): Likewise.
25582         (__ASSUME_PIPE2): Likewise.
25583         (__ASSUME_EVENTFD2): Likewise.
25584         (__ASSUME_SIGNALFD4): Likewise.
25585         (__ASSUME_DUP3): Likewise.
25586         (__ASSUME_UTIMES): Undefine.
25588         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
25589         feclearexcept.  Remove symbol versioning code.
25590         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
25591         symbol versioning code.
25592         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
25593         symbol versioning code.
25594         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
25595         feupdateenv.  Remove symbol versioning code.
25596         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
25597         fegetexceptflag.  Remove symbol versioning code.
25598         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
25599         fesetexceptflag.  Remove symbol versioning code.
25600         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
25601         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
25602         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
25603         (__posix_fadvise64_l32): Remove prototype.
25604         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
25605         code.
25607 2014-05-13  Roland McGrath  <roland@hack.frob.com>
25609         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
25610         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
25611         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
25612         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
25614 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
25616         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
25617         current working directory
25619 2014-05-13  Roland McGrath  <roland@hack.frob.com>
25621         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
25622         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
25623         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
25624         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
25625         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
25626         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
25627         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
25628         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
25629         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
25630         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
25631         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
25632         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
25633         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
25634         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
25635         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
25636         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
25637         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
25638         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
25639         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
25640         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
25641         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
25642         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
25643         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
25644         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
25645         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
25646         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
25647         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
25648         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
25649         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
25650         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
25651         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
25652         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
25653         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
25654         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
25655         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
25656         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
25657         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
25658         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
25659         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
25660         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
25661         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
25662         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
25664         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
25665         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
25667         * sysdeps/unix/sysv/linux/arm/Makefile
25668         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
25669         Add rt-aeabi_unwind_cpp_pr1.
25670         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
25671         Add nptl-aeabi_unwind_cpp_pr1.
25672         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
25673         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
25674         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
25675         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
25676         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
25677         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
25679         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
25680         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
25681         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
25682         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
25684         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
25685         Deconditionalize the code that was previously under [RESET_PID].
25686         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
25688         * sysdeps/generic/exit-thread.h: New file.
25689         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
25690         * include/unistd.h (__exit_thread): Remove declaration.
25691         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
25692         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
25693         * csu/libc-start.c: Include <exit-thread.h>.
25694         (LIBC_START_MAIN): Pass no argument to __exit_thread.
25695         * nptl/pthread_create.c: Include <exit-thread.h>.
25696         (start_thread): Call __exit_thread in place of __exit_thread_inline.
25697         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
25698         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
25699         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
25700         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
25701         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
25702         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
25703         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
25704         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
25705         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
25706         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
25707         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
25708         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
25709         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
25710         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
25711         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
25712         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
25714 2014-05-13  Andreas Schwab  <schwab@suse.de>
25716         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
25718 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
25720         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
25721         (__ASSUME_UTIMES): Do not condition on kernel version.
25722         (__ASSUME_PSELECT): Define unconditionally.
25723         (__ASSUME_PPOLL): Likewise.
25724         (__ASSUME_ATFCTS): Likewise.
25725         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
25726         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
25727         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
25728         (__ASSUME_UTIMENSAT): Define unconditionally.
25729         (__ASSUME_PRIVATE_FUTEX): Likewise.
25730         (__ASSUME_FALLOCATE): Likewise.
25731         (__ASSUME_O_CLOEXEC): Likewise.
25732         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
25733         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
25734         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
25735         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
25736         (__ASSUME_IN_NONBLOCK): Likewise.
25737         (__ASSUME_PIPE2): Likewise.
25738         (__ASSUME_EVENTFD2): Likewise.
25739         (__ASSUME_SIGNALFD4): Likewise.
25740         (__ASSUME_DUP3): Likewise.
25741         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
25742         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
25743         (__ASSUME_AT_RANDOM): Likewise.
25744         (__ASSUME_PREADV): Likewise.
25745         (__ASSUME_PWRITEV): Likewise.
25746         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
25747         (__ASSUME_F_GETOWN_EX): Define unconditionally.
25748         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
25749         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25750         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
25751         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25752         (__ASSUME_O_CLOEXEC): Define unconditionally.
25753         (__ASSUME_PSELECT): Do not undefine conditionally.
25754         (__ASSUME_PPOLL): Likewise.
25755         (__ASSUME_ATFCTS): Likewise.
25756         (__ASSUME_SET_ROBUST_LIST): Likewise.
25757         (__ASSUME_UTIMENSAT): Likewise.
25758         (__ASSUME_FDATASYNC): Define unconditionally.
25759         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25760         (__ASSUME_SIGFRAME_V2): Likewise.
25761         )__ASSUME_EVENTFD2): Likewise.
25762         (__ASSUME_SIGNALFD4): Likewise.
25763         (__ASSUME_PSELECT): Do not undefine conditionally.
25764         (__ASSUME_PPOLL): Likewise.
25765         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25766         (__ASSUME_PSELECT): Define unconditionally.
25767         (__ASSUME_PPOLL): Likewise.
25768         (__ASSUME_O_CLOEXEC): Likewise.
25769         (__ASSUME_SOCK_CLOEXEC): Likewise.
25770         (__ASSUME_IN_NONBLOCK): Likewise.
25771         (__ASSUME_PIPE2): Likewise.
25772         (__ASSUME_EVENTFD2): Likewise.
25773         (__ASSUME_SIGNALFD4): Likewise.
25774         (__ASSUME_DUP3): Likewise.
25775         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25776         (__ASSUME_O_CLOEXEC): Likewise.
25777         (__ASSUME_SOCK_CLOEXEC): Likewise.
25778         (__ASSUME_IN_NONBLOCK): Likewise.
25779         (__ASSUME_PIPE2): Likewise.
25780         (__ASSUME_EVENTFD2): Likewise.
25781         (__ASSUME_SIGNALFD4): Likewise.
25782         (__ASSUME_DUP3): Likewise.
25783         * sysdeps/unix/sysv/linux/mips/kernel-features.h
25784         (__ASSUME_EVENTFD2): Likewise.
25785         (__ASSUME_SIGNALFD4): Likewise.
25786         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
25788 2014-05-12  Andreas Schwab  <schwab@suse.de>
25790         [BZ #16932]
25791         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
25792         (_nss_nis_gethostbyname4_r): Return error if item length is larger
25793         than maximum RPC packet size.
25794         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
25795         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
25796         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
25797         (_nss_nis_getservbyport_r): Likewise.
25799 2014-05-12  Will Newton  <will.newton@linaro.org>
25801         * malloc/Makefile (tests): Add tst-mallopt.
25802         * malloc/tst-mallopt.c: New file.
25804 2014-05-09  Roland McGrath  <roland@hack.frob.com>
25806         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
25807         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
25809 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25811         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
25812         (tst-tlsmod6.so): Likewise.
25814 2014-05-09  Roland McGrath  <roland@hack.frob.com>
25816         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
25818 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
25820         [BZ #16064]
25821         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
25822         and <dl-procinfo.h>.
25823         (__fegetenv): Save SSE state in envp->__eip if supported.
25824         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
25825         envp->__eip if supported.
25826         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
25827         and <dl-procinfo.h>.
25828         (__fesetenv): Always set __eip, __cs_selector, __opcode,
25829         __data_offset and __data_selector in environment to 0.  Set SSE
25830         state if supported.
25831         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
25832         test-fenv-sse.
25833         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
25834         -mfpmath=sse.
25835         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
25837 2014-05-09  Will Newton  <will.newton@linaro.org>
25839         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
25840         and libc_relro_required for ARM.
25841         * sysdeps/arm/preconfigure: Regenerate.
25843 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
25844             Stefan Liebler  <stli@linux.vnet.ibm.com>
25846         * config.make.in (enable-lock-elision): New Makefile variable.
25847         * configure.ac: Likewise.
25848         * configure: Regenerate.
25849         * sysdeps/s390/configure.ac:
25850         Add check for gcc transactions support.
25851         * sysdeps/s390/configure: Regenerate.
25852         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
25853         Build elision files if enabled.
25854         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
25855         Add lock elision support for s390.
25856         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
25857         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
25858         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
25859         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
25860         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
25861         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
25862         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
25863         Likewise.
25864         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
25865         Likewise.
25866         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
25867         Likewise.
25868         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
25869         Likewise.
25870         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
25871         (__lll_timedlock_elision, __lll_lock_elision)
25872         (__lll_unlock_elision, __lll_trylock_elision)
25873         (lll_timedlock_elision, lll_lock_elision)
25874         (lll_unlock_elision, lll_trylock_elision): Add.
25875         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
25876         (pthread_mutex_t): Add lock elision support for s390.
25878 2014-05-14  Wilco  <wdijkstr@arm.com>
25880         * sysdeps/arm/fclrexcpt.c: Cleanup.
25881         * sysdeps/arm/fedisblxcpt.c: Cleanup.
25882         * sysdeps/arm/feenablxcpt.c: Cleanup.
25883         * sysdeps/arm/fegetenv.c: Cleanup.
25884         * sysdeps/arm/fegetexcept.c: Cleanup.
25885         * sysdeps/arm/fegetround.c: Cleanup.
25886         * sysdeps/arm/feholdexcpt.c: Cleanup.
25887         * sysdeps/arm/fesetenv.c: Cleanup.
25888         * sysdeps/arm/fesetround.c: Cleanup.
25889         * sysdeps/arm/feupdateenv.c: Cleanup.
25890         * sysdeps/arm/fgetexcptflg.c: Cleanup.
25891         * sysdeps/arm/fraiseexcpt.c: Cleanup.
25892         * sysdeps/arm/fsetexcptflg.c: Cleanup.
25893         * sysdeps/arm/ftestexcept.c: Cleanup.
25894         * sysdeps/arm/get-rounding-mode.h: Cleanup.
25895         * sysdeps/arm/setfpucw.c: Cleanup.
25897 2014-05-09  Will Newton  <will.newton@linaro.org>
25899         * sysdeps/arm/armv7/strcmp.S: New file.
25900         * NEWS: Mention addition of ARMv7 optimized strcmp.
25902 2014-05-08  Roland McGrath  <roland@hack.frob.com>
25904         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
25905         look for %.ac rather than %.in.
25907         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
25908         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
25909         * sysdeps/mach/hurd/configure: Regenerated.
25910         * sysdeps/unix/sysv/linux/configure: Regenerated.
25912         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
25914 2014-05-07  Steve Ellcey  <sellcey@mips.com>
25916         [BZ# 16922]
25917         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
25918         (LONG_SUB): Ditto.
25919         (PTR_SUB): Ditto.
25921 2014-05-07  Andreas Schwab  <schwab@suse.de>
25923         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
25924         when skipping over non-matching result from nscd.
25926 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
25928         [BZ #16876]
25929         * nptl/sockperf.c (client): Check socket return value.
25931         [BZ #16877]
25932         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
25933         nscd security class.
25935 2014-05-06  Roland McGrath  <roland@hack.frob.com>
25937         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
25938         * sysdeps/arm/unwind.h: ... here.
25940 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
25942         [BZ# 16916]
25943         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
25944         Define.
25946 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25948         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
25949         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
25950         multiarch strncpy for PPC64.
25951         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
25952         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
25953         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
25954         multiarch optimizations.
25955         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25956         (__libc_ifunc_impl_list): Likewise.
25957         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
25958         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
25959         multiarch stpncpy for PPC64.
25960         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
25961         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
25963 2014-05-06  Andreas Schwab  <schwab@suse.de>
25965         [BZ #16912]
25966         * gmon/mcount.c (_MCOUNT_DECL): Use
25967         atomic_compare_and_exchange_bool_acq instead of
25968         catomic_compare_and_exchange_bool_acq.
25970 2014-05-05  Roland McGrath  <roland@hack.frob.com>
25972         * elf/Makefile (others, install-bin): Remove pldd.
25973         (pldd-modules): Variable removed.
25974         ($(objpfx)pldd): Target removed.
25975         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
25976         (others, install-bin): Append pldd here.
25977         ($(objpfx)pldd): New target.
25979         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
25980         to 0, so the first #if test emitted later doesn't see it undefined.
25981         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
25982         * sysdeps/gnu/errlist.c: Regenerated.
25984 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25986         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
25987         [libc_hidden_builtin_def]: Define to empty value.
25988         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
25989         [libc_hidden_builtin_def]: Likewise.
25990         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
25991         [libc_hidden_builtin_def]: Likewise.
25992         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
25993         [libc_hidden_builtin_def]: Likewise.
25994         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
25995         __redirect_memcpy and define ifunc as default hidden symbol.
25996         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
25997         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
25999 2014-05-04  Adam Conrad  <adconrad@0c3.net>
26001         * locale/iso-4217.def: Reintroduce XDR currency.
26003 2014-05-04  Allan McRae  <allan@archlinux.org>
26005         * po/eo.po: Update Esperanto translation from translation project.
26007 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
26009         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
26010         and FEATURE_INDEX_MAX to 1.
26011         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
26013 2014-05-01  Steve Ellcey  <sellcey@mips.com>
26015         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
26016         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
26017         * iconvdata/big5.c (ONE_DIRECTION): Define.
26018         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
26019         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
26020         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
26021         * iconvdata/cp932.c (ONE_DIRECTION): Define.
26022         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
26023         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
26024         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
26025         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
26026         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
26027         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
26028         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
26029         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
26030         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
26031         * iconvdata/gbk.c (ONE_DIRECTION): Define.
26032         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
26033         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
26034         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
26035         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
26036         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
26037         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
26038         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
26039         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
26040         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
26041         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
26042         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
26043         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
26044         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
26045         * iconvdata/iso646.c (ONE_DIRECTION): Define.
26046         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
26047         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
26048         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
26049         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
26050         * iconvdata/johab.c (ONE_DIRECTION): Define.
26051         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
26052         * iconvdata/sjis.c (ONE_DIRECTION): Define.
26053         * iconvdata/t.61.c (ONE_DIRECTION): Define.
26054         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
26055         * iconvdata/tscii.c (ONE_DIRECTION): Define.
26056         * iconvdata/uhc.c (ONE_DIRECTION): Define.
26057         * iconvdata/unicode.c (ONE_DIRECTION): Define.
26058         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
26059         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
26060         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
26062 2014-05-01  Roland McGrath  <roland@hack.frob.com>
26064         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
26065         (_IO_JUMPS_OFFSET): Define to 0.
26067         * nptl/sysdeps/pthread/bits/libc-lock.h
26068         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
26069         (__libc_lock_define_initialized_recursive): Always define using
26070         initializer.  Modern compilers treat uninitialized (implicit zero) and
26071         explicit zero initializers the same (i.e. put the datum in bss).
26073 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26075         * nscd/nscd-client.h: Include <string.h>.
26077 2014-05-01  David S. Miller  <davem@davemloft.net>
26079         [BZ #16885]
26080         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
26081         multiple zero bytes exist at the end of a string.
26082         Reported by Aurelien Jarno <aurelien@aurel32.net>
26084         * string/test-strcmp.c (check): Add explicit test for situations where
26085         there are multiple zero bytes after the first.
26087 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26089         [BZ #16890]
26090         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
26091         when compiling wprintf.
26092         * stdio-common/tstdiomisc.c (t3): New function.
26093         (main): Call it.
26095 2014-05-01  Steve Ellcey  <sellcey@mips.com>
26097         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
26098         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
26099         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
26100         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
26102 2014-05-01  Steve Ellcey  <sellcey@mips.com>
26104         * stdlib/longlong.h: Updated from GCC.
26106 2014-05-01  Will Newton  <will.newton@linaro.org>
26107             Bernard Ogden  <bernie.ogden@linaro.org>
26109         * NEWS: Update fixed bug list.
26111         [BZ #15119]
26112         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
26114 2014-04-30  David S. Miller  <davem@davemloft.net>
26116         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
26117         (libc_feholdexcept_setround_sparc_ctx): New function.
26118         (libc_fesetenv_sparc_ctx): Likewise.
26119         (libc_feupdateenv_sparc_ctx): Likewise.
26120         (libc_feholdsetround_sparc_ctx): Likewise.
26121         (libc_feholdexcept_setround_ctx): Define.
26122         (libc_feholdexcept_setroundf_ctx): Likewise.
26123         (libc_feholdexcept_setroundl_ctx): Likewise.
26124         (libc_fesetenv_ctx): Likewise.
26125         (libc_fesetenvf_ctx): Likewise.
26126         (libc_fesetenvl_ctx): Likewise.
26127         (libc_feupdateenv_ctx): Likewise.
26128         (libc_feupdateenvf_ctx): Likewise.
26129         (libc_feupdateenvl_ctx): Likewise.
26130         (libc_feresetround_ctx): Likewise.
26131         (libc_feresetroundf_ctx): Likewise.
26132         (libc_feresetroundl_ctx): Likewise.
26133         (libc_feholdsetround_ctx): Likewise.
26134         (libc_feholdsetroundf_ctx): Likewise.
26135         (libc_feholdsetroundl_ctx): Likewise.
26137         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
26138         with __USE_GNU instead of XOPEN cpp guards.
26140         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
26141         0.
26143         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
26144         with XOPEN cpp guards.
26146 2014-04-30  Julian Brown  <julian@codesourcery.com>
26148         [BZ #16888]
26149         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
26150         handling.
26152 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
26154         [BZ #9894]
26155         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
26156         Change to 2.6.32.
26157         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
26158         * sysdeps/unix/sysv/linux/configure: Regenerated.
26159         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
26160         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
26161         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
26162         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
26163         * README: Update reference to required Linux kernel version.
26164         * manual/install.texi (Linux): Update reference to required Linux
26165         kernel headers version.
26166         * INSTALL: Regenerated.
26168         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
26169         header inclusion.
26170         [POSIX] (limits.h): Likewise.
26171         [POSIX] (math.h): Likewise.
26172         [POSIX] (sys/wait.h): Likewise.
26173         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
26174         function.
26175         [POSIX] (stddef.h): Do not allow header inclusion.
26177 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26179         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
26181 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
26183         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
26184         Return immediately after lll_futex_wake.
26186 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26188         [BZ #16791]
26189         * nscd/nscd-client.h (datahead_init_common): Initialize entire
26190         structure.
26191         (datahead_init_pos): Call datahead_init_common early.
26192         (datahead_init_neg): Likewise.
26194         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
26195         datahead_init_neg): New functions.
26196         * nscd/aicache.c (addhstaiX): Use them.
26197         * nscd/grpcache.c (cache_addgr): Likewise.
26198         * nscd/hstcache.c (cache_addhst): Likewise.
26199         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26200         * nscd/netgroupcache.c (do_notfound): Likewise.
26201         (addgetnetgrentX): Likewise.
26202         (addinnetgrX): Likewise.
26203         * nscd/pwdcache.c (cache_addpw): Likewise.
26204         * nscd/servicescache.c (cache_addserv): Likewise.
26206 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26207             Atsushi Onoe  <atsushi@onoe.org>
26209         [BZ #14308]
26210         [BZ #12994]
26211         [BZ #13651]
26212         * resolv/res_query.c (__libc_res_nsearch): Return if at least
26213         one response is valid.
26214         * resolv/res_send.c (send_dg): Check for validity of other
26215         response if the current response is a referral.
26217 2014-04-29  Steve Ellcey  <sellcey@mips.com>
26219         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
26221 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
26223         [BZ #16823]
26224         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
26225         Always divide by positive zero when computing -Inf result.
26226         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
26227         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
26229 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26231         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
26232         FPSCR if value do not change.
26233         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26234         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
26235         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
26236         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
26237         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
26238         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
26239         function.
26241 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
26243         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
26244         * sysdeps/unix/sysv/linux/hppa: Move directory from
26245         ports/systeps/unix/sysv/linux/hppa.
26246         * README: Update listing for hppa-*-linux-gnu.
26248 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
26250         [BZ #16754]
26251         * manual/stdio.texi (Hook functions): Fix types of stream hook
26252         functions.
26253         [BZ #16854]
26254         * socket/sys/socket.h: Fix typo in comment.
26256 2014-04-28  Wilco  <wdijkstr@arm.com>
26258         * sysdeps/arm/fenv_private.h: New file.
26259         * sysdeps/arm/math_private.h: New file.
26260         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
26262 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
26264         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
26265         with __int128_t.
26266         (La_x86_64_retval): Likewise.
26268 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
26270         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
26271         fpsr if value didn't change.
26272         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
26273         to fpcr if value didn't change.
26274         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
26275         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
26276         fpsr or fpcr if value didn't change.
26277         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
26278         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
26279         fpcr if value didn't change.
26280         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
26281         to fpsr if value didn't change.
26283 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
26285         * nptl/tst-sem3.c: Use test-skeleton.c
26286         (main): Rename to do_test.  Use return instead of
26287         exit.
26288         * nptl/tst-sem4.c: Use test-skeleton.c
26289         (main): Rename to do_test.
26291 2014-04-22  David S. Miller  <davem@davemloft.net>
26293         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
26294         (struct sigaction): New struct member __glibc_reserved0, change
26295         type of sa_flags to int.
26297 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
26299         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
26300         (COUNT_LEADING_ZEROS_0): Define for AArch64.
26302 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26304         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
26305         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
26307 2014-04-22  Will Newton  <will.newton@linaro.org>
26308             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
26310         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
26311         (__longjmp): Add longjmp and longjmp_target SystemTap
26312         probes.
26313         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
26314         (__sigsetjmp): Add setjmp SystemTap probe.
26316 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
26318         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
26319         match manual order.
26321 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26323         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
26325         * sysdeps/powerpc/fpu/fenv_private.h
26326         (libc_feholdexcept_setroundl_ctx): Define to
26327         libc_feholdexcept_setround_ppc_ctx.
26328         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
26329         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
26330         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
26331         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
26333 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
26335         * sysdeps/aarch64/math-tests.h: New file.
26337 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
26339         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
26340         New.
26341         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26342         Check and set bit_AVX2_Usable.
26343         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
26344         macro.
26345         (bit_AVX2): Likewise.
26346         (index_AVX2_Usable): Likewise.
26347         (CPUID_AVX2): Likewise.
26348         (HAS_AVX2): Likewise.
26350 2014-04-17  Will Newton  <will.newton@linaro.org>
26352         * manual/setjmp.texi (System V contexts): Add note that
26353         calling setcontext on a context created by a call to a
26354         signal handler is undefined.  Update text to note that
26355         setcontext from a signal handler is possible but not
26356         recommended.
26358         [BZ #16629]
26359         * stdlib/tst-setcontext.c: Include signal.h.
26360         (main): Check that the signal stack before and
26361         after swapcontext is the same.
26363         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
26364         Re-implement to restore registers in user code and avoid
26365         rt_sigreturn system call.
26367 2014-04-17  Wilco  <wdijkstr@arm.com>
26369         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
26370         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
26371         * math/test-fenv.c: Skip exception trap tests on targets which only
26372         support non-stop mode.
26374 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
26375             Wilco Dijkstra  <wilco.dijkstra@arm.com>
26377         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
26378         (libc_feholdsetround_aarch64_ctx)
26379         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
26380         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
26381         (libc_feresetround_ctx, libc_feresetroundf_ctx)
26382         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
26383         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
26384         (libc_feresetround_noexl_ctx): Define.
26386 2014-04-16  Richard Henderson  <rth@redhat.com>
26388         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
26390         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
26391         unwind tables.
26393         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
26394         const from the non-libc, non-ldso copy.
26396         * sysdeps/alpha/libm-test-ulps: Regenerate.
26398 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
26399             Wilco Dijkstra  <wilco.dijkstra@arm.com>
26401         * sysdeps/aarch64/fpu/math_private.h: New file.
26403 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
26405         * sysdeps/aarch64/libm-test-ulps: Regenerate.
26407 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
26409         [BZ #16275]
26410         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
26411         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
26412         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
26413         Intel MPX bound registers before _dl_profile_fixup.
26414         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
26415         registers after _dl_profile_fixup.  Save and restore bound
26416         registers bnd0/bnd1 when calling _dl_call_pltexit.
26417         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
26418         (LR_BND_OFFSET): Likewise.
26419         (LRV_BND0_OFFSET): Likewise.
26420         (LRV_BND1_OFFSET): Likewise.
26422 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26424         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
26425         to...
26426         * sysdeps/mach/hurd/i386/tls.h: ... here.
26427         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
26428         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
26429         fields.
26431 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26433         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
26435 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
26437         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26439 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
26441         [BZ #14770]
26442         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
26443         * sysdeps/s390/configure: Regenerate.
26445         [BZ #16824]
26446         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
26447         Set round-to-nearest internally to reduce error accumulation.
26449 2014-04-16  Alan Modra  <amodra@gmail.com>
26451         [BZ #16740]
26452         [BZ #16619]
26453         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
26454         * math/libm-test.inc (frexp_test_data): Add tests.
26455         * NEWS: Update fixed bug list.
26457 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26459         * benchtests/Makefile: Depend on libraries in build directory.
26460         (bench-math): Separate out math tests.
26461         (bench-pthread): Separate out pthread tests.
26462         (bench): Include math and pthread tests.
26464 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
26466         [BZ #16831]
26467         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
26468         _dl_debug_initialize.
26470         * configure.ac: Remove SELinux header check.
26471         * configure: Regenerate.
26472         * nscd/selinux.c (perms): Array of const char* to permission names.
26473         (nscd_request_avc_has_perm): Call security_deny_unknown to find
26474         default policy. Call string_to_security_class and string_to_av_perm to
26475         translate strings. Enforce default policy and call avs_has_perm with
26476         results of translated strings.
26478 2014-04-13  David S. Miller  <davem@davemloft.net>
26480         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26482 2014-04-12  Allan McRae  <allan@archlinux.org>
26484         [BZ #16838]
26485         * manual/string.texi (Collation Functions): Fix qsort argument
26486         order in example.
26487         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
26489 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
26491         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
26492         Make the test a no-op if there are no exceptions defined.
26494 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
26496         * elf/Makefile (tests): make tst-dlopen-aout conditional on
26497         enable-hardcoded-path-in-tests
26499 2014-04-11  Will Newton  <will.newton@linaro.org>
26501         * benchtests/Makefile (extra-objs): Add json-lib.o.
26502         (bench-func): Tidy up JSON output.
26503         * benchtests/bench-skeleton.c: Include json-lib.h.
26504         (main): Use JSON library functions to do output of
26505         benchmark results.
26506         * benchtests/bench-timing-type.c (main): Output the
26507         timing type simply, leaving formatting to the user.
26508         * benchtests/json-lib.c: New file.
26509         * benchtests/json-lib.h: Likewise.
26511 2014-04-11  Torvald Riegel  <triegel@redhat.com>
26513         [BZ #15215]
26514         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
26515         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
26516         memory barriers.  Add comments.
26517         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
26518         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
26519         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
26520         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
26521         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
26522         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
26524 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26526         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
26527         * sysdeps/s390/s390-64/configure.ac: ... this ...
26528         * sysdeps/s390/configure.ac: ... to here.
26529         * sysdeps/s390/s390-32/configure: Delete file.
26530         * sysdeps/s390/s390-64/configure: Delete file.
26531         * sysdeps/s390/configure: Regenerate.
26533 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
26535         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
26537 2014-04-11  Will Newton  <will.newton@linaro.org>
26539         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
26540         to zero if it is not defined elsewhere.  (mtrim): Test
26541         the value of MALLOC_DEBUG with #if rather than #ifdef.
26543 2014-04-10 Torvald Riegel  <triegel@redhat.com>
26545         * benchtests/pthread_once-inputs: New file.
26546         * benchtests/pthread_once-source.c: New file.
26547         * benchtests/README: Update documentation.
26549 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
26550             H.J. Lu  <hongjiu.lu@intel.com>
26552         [BZ #16275]
26553         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
26554         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
26555         * sysdeps/x86_64/configure: Regenerated.
26556         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
26557         macro.
26558         (REGISTER_SAVE_RAX): Likewise.
26559         (REGISTER_SAVE_RCX): Likewise.
26560         (REGISTER_SAVE_RDX): Likewise.
26561         (REGISTER_SAVE_RSI): Likewise.
26562         (REGISTER_SAVE_RDI): Likewise.
26563         (REGISTER_SAVE_R8): Likewise.
26564         (REGISTER_SAVE_R9): Likewise.
26565         (REGISTER_SAVE_BND0): Likewise.
26566         (REGISTER_SAVE_BND1): Likewise.
26567         (REGISTER_SAVE_BND2): Likewise.
26568         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
26569         bound registers when calling _dl_fixup.
26571 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26573         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
26574         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
26575         of its definition.
26576         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
26577         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
26578         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
26579         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
26580         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
26581         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
26582         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
26584 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
26586         [BZ #15514]
26587         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
26588         pathconf(_PC_NAME_MAX).
26590 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26592         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
26593         Remove macro usage.
26594         (__PTHREAD_SPINS): Move definition to ...
26595         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
26596         (__PTHREAD_SPINS): ... here.
26597         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
26598         (__PTHREAD_SPIN): Likewise.
26599         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
26600         (__PTHREAD_SPIN): Likewise.
26601         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
26602         (__PTHREAD_SPIN): Likewise.
26603         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
26604         (__PTHREAD_SPIN): Likewise.
26605         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
26606         (__PTHREAD_SPIN): Likewise.
26607         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
26608         (__PTHREAD_SPIN): Likewise.
26609         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
26610         (__PTHREAD_SPIN): Likewise.
26611         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
26612         (__PTHREAD_SPIN): Likewise.
26613         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
26614         (__PTHREAD_SPIN): Likewise.
26615         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
26616         (__PTHREAD_SPIN): Likewise.
26617         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
26618         (__PTHREAD_SPIN): Likewise.
26619         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
26620         (__PTHREAD_SPIN): Likewise.
26622         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
26623         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
26624         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
26625         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
26626         imply folder.
26627         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
26628         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
26629         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
26630         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
26631         correct imply path.
26632         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
26633         strlen symbol for non multi-arch builds.
26634         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
26635         missing hidden_def and weak_alias.
26637 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
26639         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
26641 2014-04-07  Will Newton  <will.newton@linaro.org>
26643         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
26644         and contents.  [!_LIBC] Remove #ifndef and contents.
26645         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
26646         * string/memccpy.c (__memccpy): Use ANSI prototype.
26647         * string/memfrob.c (memfrob): Likewise.
26648         * string/strcoll.c (STRCOLL): Likewise.
26649         * string/strlen.c (strlen): Likewise.
26650         * string/strtok.c (STRTOK): Likewise.
26651         * string/strcat.c: Remove unused #include of memcopy.h.
26652         (strcat): Use ANSI prototype.
26653         * string/strchr.c: Remove unused #include of memcopy.h.
26654         (strchr): Use ANSI prototype.
26655         * string/strcmp.c: Remove unused #include of memcopy.h.
26656         (strcmp): Use ANSI prototype.
26657         * string/strcpy.c: Remove unused #include of memcopy.h.
26658         (strcpy): Use ANSI prototype.
26660 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26662         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
26663         * config.make.in (config-extra-cppflags): Set it from
26664         libc_extra_cppflags.
26665         * configure.ac (libc_extra_cflags): Make it accumulate over
26666         configure fragments.
26667         (libc_extra_cppflags): New flag.
26668         * configure. Regenerate.
26669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
26670         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
26671         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
26672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
26674         [BZ #16815]
26675         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
26676         result for FE_DOWNWARD rounding mode.
26677         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
26678         Likewise.
26679         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26681 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
26683         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
26684         in function argument name.
26686 2014-04-03  David Svoboda  <svoboda@cert.org>
26688         [BZ #5666]
26689         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
26690         explicitly.
26692 2014-04-03  Roland McGrath  <roland@hack.frob.com>
26694         * elf/dl-unmap-segments.h: New file.
26695         * sysdeps/generic/ldsodefs.h
26696         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
26697         * elf/dl-close.c: Include <dl-unmap-segments.h>.
26698         * elf/dl-fptr.c: Likewise.
26699         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
26700         * sysdeps/aarch64/tlsdesc.c: Likewise.
26701         * sysdeps/arm/tlsdesc.c: Likewise.
26702         * sysdeps/i386/tlsdesc.c: Likewise.
26703         * sysdeps/tile/dl-runtime.c: Likewise.
26704         * sysdeps/x86_64/tlsdesc.c: Likewise.
26705         * elf/dl-load.h: New file.
26706         * elf/dl-load.c: Include it.
26707         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
26708         Macros moved to dl-load.h.
26709         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
26710         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
26711         Use _dl_unmap_segments in place of __munmap.
26712         Break out segment-mapping loop into ...
26713         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
26715 2014-04-03  Will Newton  <will.newton@linaro.org>
26717         * elf/dl-lookup.c (do_lookup_x): Remove comment
26718         referring to nested function and move variable
26719         declarations down to before first use.
26721 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
26723         [BZ #16799]
26724         [BZ #16800]
26725         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
26726         with 0 numerator.
26727         * math/s_catanf.c (__catanf): Likewise.
26728         * math/s_catanh.c (__catanh): Likewise.
26729         * math/s_catanhf.c (__catanhf): Likewise.
26730         * math/s_catanhl.c (__catanhl): Likewise.
26731         * math/s_catanl.c (__catanl): Likewise.
26732         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
26733         by positive zero when computing -Inf result.
26734         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
26735         (catanh_test): Likewise.
26736         * sysdeps/i386/fpu/libm-test-ulps: Update.
26737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26739         [BZ #16789]
26740         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
26741         instead of using underflowing value in computing result.
26742         * math/s_clog10.c (__clog10): Likewise.
26743         * math/s_clog10f.c (__clog10f): Likewise.
26744         * math/s_clog10l.c (__clog10l): Likewise.
26745         * math/s_clogf.c (__clogf): Likewise.
26746         * math/s_clogl.c (__clogl): Likewise.
26747         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
26748         (clog10_test): Likewise.
26749         * sysdeps/i386/fpu/libm-test-ulps: Update.
26750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26752 2014-04-02  Alan Modra  <amodra@gmail.com>
26754         [BZ #16739]
26755         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
26756         output when value is near a power of two.  Use int64_t for lx and
26757         remove casts.  Use decimal rather than hex exponent constants.
26758         Don't use long double multiplication when double will suffice.
26759         * math/libm-test.inc (nextafter_test_data): Add tests.
26760         * NEWS: Add 16739 and 16786 to bug list.
26762         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
26764         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
26766 2014-04-01  Will Newton  <will.newton@linaro.org>
26768         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
26769         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
26771 2014-04-01  Florian Weimer  <fweimer@redhat.com>
26773         [BZ #13347]
26774         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
26775         * nptl/tst-setuid2.c: New file.
26776         * nptl/Makefile (xtests): Add tst-setuid2.
26778 2014-04-01  Alan Modra  <amodra@gmail.com>
26780         [BZ #16786]
26781         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
26783 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
26785         [BZ #6803]
26786         [BZ #6804]
26787         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
26788         set errno as appropriate.
26789         * math/w_scalbf.c (__scalbf): Likewise.
26790         * math/w_scalbl.c (__scalbl): Likewise.
26791         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
26792         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
26793         * math/libm-test.inc (scalb_test_data): Add errno expectations.
26794         Add more NaN tests.
26796         [BZ #16349]
26797         * math/w_atan2.c: Include <errno.h>.
26798         (__atan2): Set errno for result underflowing to zero.
26799         * math/w_atan2f.c: Include <errno.h>.
26800         (__atan2f): Set errno for result underflowing to zero.
26801         * math/w_atan2l.c: Include <errno.h>.
26802         (__atan2l): Set errno for result underflowing to zero.
26803         * math/auto-libm-test-in: Don't allow missing errno for some atan2
26804         tests.
26805         * math/auto-libm-test-out: Regenerated.
26807 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26809         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
26810         Encode instruction correctly in little endian.
26811         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
26812         Likewise.
26813         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
26814         Likewise.
26815         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
26816         Likewise.
26817         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
26818         Likewise.
26820 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
26822         [BZ #9894]
26823         * sysdeps/unix/sysv/linux/kernel-features.h
26824         [__sparc__ && !__arch64__ && !__sparc_v9__]
26825         (__ASSUME_SET_ROBUST_LIST): Do not define.
26826         [__sparc__ && !__arch64__ && !__sparc_v9__]
26827         (__ASSUME_FUTEX_LOCK_PI): Likewise.
26828         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
26829         Likewise.
26830         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26831         (__ASSUME_FUTEX_LOCK_PI): Undefine.
26832         (__ASSUME_REQUEUE_PI): Likewise.
26833         (__ASSUME_SET_ROBUST_LIST): Likewise.
26834         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26835         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
26836         Undefine.
26837         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26838         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
26839         Likewise.
26840         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
26841         Likewise.
26842         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
26843         Likewise.
26844         * sysdeps/unix/sysv/linux/mips/kernel-features.h
26845         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
26846         Undefine.
26847         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
26848         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
26849         Likewise.
26851         [BZ #16648]
26852         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26853         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
26854         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
26856 2014-03-31  Will Newton  <will.newton@linaro.org>
26858         * benchtests/Makefile (bench): Add ffs and ffsll to list
26859         of tests.
26860         * benchtests/ffs-inputs: New file.
26861         * benchtests/ffsll-inputs: Likewise.
26863 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
26865         [BZ #16770]
26866         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
26867         too large before casting to int.
26868         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
26869         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
26870         * math/libm-test.inc (scalb_test_data): Add more tests.
26872 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26874         * benchtests/Makefile (DETAILED_OPT): New make option.
26875         (bench-func): Run benchmark program with -d if DETAILED_OPT is
26876         set.
26877         * benchtests/bench-skeleton.c: Include stdbool.h.
26878         (main): Store and print timings per input.
26879         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
26880         member to each argument value.
26881         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
26882         (_print_arg_data): Initialize per-input timing to 0.
26884         * benchtests/Makefile (timing-type): New binary.
26885         (bench-clean): Also remove bench-timing-type.
26886         (bench): New target for timing-type.
26887         (bench-func): Print output in JSON format.
26888         * benchtests/bench-skeleton.c (main): Print output in JSON
26889         format.
26890         * benchtests/bench-timing-type.c: New file.
26891         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
26892         (TIMING_PRINT_STATS): Remove.
26893         * benchtests/scripts/bench.py (_print_arg_data): Store variant
26894         name separately.
26896         * benchtests/bench-modf.c: Remove.
26897         * benchtests/modf-inputs: New inputs file.
26899 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
26901         [BZ #16362]
26902         * math/s_clog10.c (M_PI_LOG10E): New macro.
26903         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
26904         imaginary parts are 0.
26905         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
26906         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
26907         imaginary parts are 0.
26908         * math/s_clog10l.c (M_PI_LOG10El): New macro.
26909         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
26910         imaginary parts are 0.
26911         * math/libm-test.inc (clog10_test_data): Update expected results
26912         for when real and imaginary parts are 0.
26914 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
26916         * elf/dl-load.c: Finish conversion of __builtin_expect into
26917         __glibc_{un}likely.
26919 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
26921         [BZ #16348]
26922         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
26923         1+x for argument with exponent below -67.
26924         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
26925         Likewise.
26926         * math/auto-libm-test-in: Add more tests of exp.
26927         * math/auto-libm-test-out: Regenerated.
26929 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26931         [BZ #16759]
26932         * inet/getnetgrent_r.c (get_nonempty_val): New function.
26933         (nscd_getnetgrent): Use it.
26935         [BZ #16760]
26936         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
26937         of stpcpy.
26939 2014-03-27  Andi Kleen  <ak@linux.intel.com>
26941         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
26942         (lll_robust_lock, lll_cond_lock, lll_timedlock)
26943         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
26944         (lll_robust_unlock): Remove out of line section. Use cfi
26945         intrinsics.
26946         (LLL_STUB_UNWIND_INFO*): Remove.
26947         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
26948         (lll_robust_lock, lll_cond_lock, lll_timedlock)
26949         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
26950         (lll_robust_unlock): Remove out of line section. Use cfi
26951         intrinsics.
26952         (LLL_STUB_UNWIND_INFO*): Remove.
26954 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26956         [BZ #16758]
26957         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
26958         blank values.
26960 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
26962         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
26964 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
26966         [BZ #16198]
26967         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
26968         fnstenv.
26969         * math/test-fenv-preserve.c: New file.
26970         * math/Makefile (tests): Add test-fenv-preserve.
26972 2014-03-26  Will Newton <will.newton@linaro.org>
26974         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
26976 2014-03-25  Roland McGrath  <roland@hack.frob.com>
26978         * scripts/versionlist.awk: Partition the version sets and emit all
26979         GLIBC_* (sorted) before all others (sorted).
26981 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
26983         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
26984         GLIBC_2.2.5 version.
26986 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26988         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
26989         calls.
26991         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
26992         previous change.
26994         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26996 2014-03-25  Andreas Schwab  <schwab@suse.de>
26998         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
26999         label to be used after in6ailist is initialized.
27001 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27003         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27004         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
27006 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
27008         [BZ #16357]
27009         [BZ #16599]
27010         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
27011         min_plus_half.
27012         (fp_formats): Update initializers.
27013         (init_fp_formats): Initialize new field.
27014         (output_for_one_input_case): Allow underflow for results up to
27015         min_plus_half.
27016         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
27017         * math/auto-libm-test-in: Don't mark some underflows from asin and
27018         atanh as spurious.
27019         * math/auto-libm-test-out: Regenerated.
27020         * sysdeps/i386/fpu/libm-test-ulps: Update.
27021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27023 2014-03-25  Andreas Schwab  <schwab@suse.de>
27025         * libio/Makefile (tst-ftell-partial-wide-ENV)
27026         (tst-ftell-active-handler-ENV): Define.
27028 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
27030         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
27032 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
27034         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
27036 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
27038         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
27039         * sysdeps/x86_64/fpu/multiarch/e_exp.c
27040         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27042 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
27044         [BZ #16634]
27045         * elf/dl-load.c (open_verify): Add mode parameter.
27046         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
27047         (open_path): Change from boolean 'secure' to complete flag 'mode'
27048         (_dl_map_object): Adjust.
27049         * elf/Makefile (tests): Add tst-dlopen-aout.
27050         * elf/tst-dlopen-aout.c: New test.
27052 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
27054         [BZ #16714]
27055         * sysdeps/unix/sysv/linux/s390/bits/stat.h
27056         (struct stat): Rename member pad0 to __glibc_reserved0.
27058         [BZ #16712]
27059         * sysdeps/s390/s390-32/bits/wordsize.h
27060         (__WORDSIZE32_SIZE_ULONG): New define.
27061         * sysdeps/s390/s390-64/bits/wordsize.h
27062         (__WORDSIZE32_SIZE_ULONG): Likewise.
27063         * sysdeps/generic/stdint.h (SIZE_MAX):
27064         Define as UL if __WORDSIZE32_SIZE_ULONG.
27066         [BZ #16713]
27067         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
27068         (__glibc_reserved0): New variable.
27069         (sa_flags): Change type to int.
27071         * posix/Makefile (before-compile): Use += before-compile instead
27072         of a :=.
27074         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
27075         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
27077 2014-03-20  Andreas Schwab  <schwab@suse.de>
27079         [BZ #16743]
27080         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
27081         non-matching result from nscd.
27083 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27085         * scripts/bench.py: Moved to ...
27086         * benchtests/scripts/bench.py: ... here.
27087         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
27089 2014-03-24  Andreas Schwab  <schwab@suse.de>
27091         [BZ #16002]
27092         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
27093         alloca_account and account alloca use for struct in6ailist.
27095 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
27097         [BZ #16284]
27098         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
27099         rounding mode to recompute results that overflow to infinity or
27100         underflow to zero.
27101         * math/auto-libm-test-in: Don't mark tests as expected to fail for
27102         bug 16284.
27103         * math/auto-libm-test-out: Regenerated.
27104         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
27105         (ccosh_test): Likewise.
27106         (csin_test_data): Use plus_oflow.
27107         (csin_test): Use ALL_RM_TEST.
27108         (csinh_test_data): Use plus_oflow.
27109         (csinh_test): Use ALL_RM_TEST.
27110         * sysdeps/i386/fpu/libm-test-ulps: Update.
27111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27113 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
27115         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
27116         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
27117         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
27119         [BZ #16731]
27120         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
27121         when x - 1 is zero.
27122         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
27123         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
27124         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
27125         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
27126         argument is 1.
27127         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
27128         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
27129         zero.
27130         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
27131         * sysdeps/i386/fpu/libm-test-ulps: Update.
27132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27134 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27136         * scripts/bench.pl: Remove file.
27137         * scripts/bench.py: New benchmark script.
27138         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
27139         * benchtests/README: Mention python dependency.
27140         * scripts/pylintrc: New file.
27141         * scripts/pylint: New file.
27143         * bits/mathdef.h: Use #ifdef instead of #if.
27144         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
27145         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
27146         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
27147         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
27148         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
27149         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
27151 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27152             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27154         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
27155         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
27156         and strpbrk-ppc64 objects.
27157         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27158         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
27159         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
27160         multiarch strpbrk for POWER7.
27161         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
27162         multiarch strpbrk for PPC64.
27163         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
27164         ifunc selector.
27165         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
27166         strpbrk for POWER7.
27168 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
27170         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
27171         (atan_test): Likewise.
27172         (atanh_test_data): Use NO_TEST_INLINE for two tests.
27173         (atanh_test): Use ALL_RM_TEST.
27174         (atan2_test_data): Likewise.
27175         (cabs_test): Likewise.
27176         (cacosh_test): Likewise.
27177         (carg_test): Likewise.
27178         (casin_test): Likewise.
27179         (casinh_test): Likewise.
27180         (cbrt_test): Likewise.
27181         (csqrt_test): Likewise.
27182         (erf_test): Likewise.
27183         (erfc_test): Likewise.
27184         (pow10_test): Likewise.
27185         (exp2_test): Likewise.
27186         (hypot_test): Likewise.
27187         (j0_test): Likewise.
27188         (j1_test): Likewise.
27189         (lgamma_test): Likewise.
27190         (gamma_test): Likewise.
27191         (sincos_test): Likewise.
27192         (tanh_test): Likewise.
27193         (y0_test): Likewise.
27194         (y1_test): Likewise.
27195         * sysdeps/i386/fpu/libm-test-ulps: Update.
27196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27198 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27200         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
27201         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
27202         and strcspn-ppc64 objects.
27203         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27204         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
27205         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
27206         multiarch strcspn for POWER7.
27207         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
27208         multiarch strcspn for PPC64.
27209         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
27210         ifunc selector.
27211         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
27212         strcspn for POWER7.
27214 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
27216         * math/gen-libm-test.pl (generate_testfile): Expect only function
27217         name as argument to AUTO_TESTS_* and pass results for all rounding
27218         modes to parse_args.
27219         (parse_auto_input): Separate inputs of automatic tests from
27220         outputs before storing in %auto_tests.
27221         * math/libm-test.inc (acos_test_data): Update call to
27222         AUTO_TESTS_f_f.
27223         (acos_test): Use ALL_RM_TEST.
27224         (acos_tonearest_test_data): Remove.
27225         (acos_test_tonearest): Likewise.
27226         (acos_towardzero_test_data): Likewise.
27227         (acos_test_towardzero): Likewise.
27228         (acos_downward_test_data): Likewise.
27229         (acos_test_downward): Likewise.
27230         (acos_upward_test_data): Likewise.
27231         (acos_test_upward): Likewise.
27232         (acosh_test_data): Update call to AUTO_TESTS_f_f.
27233         (asin_test_data): Likewise.
27234         (asin_test): Use ALL_RM_TEST.
27235         (asin_tonearest_test_data): Remove.
27236         (asin_test_tonearest): Likewise.
27237         (asin_towardzero_test_data): Likewise.
27238         (asin_test_towardzero): Likewise.
27239         (asin_downward_test_data): Likewise.
27240         (asin_test_downward): Likewise.
27241         (asin_upward_test_data): Likewise.
27242         (asin_test_upward): Likewise.
27243         (asinh_test_data): Update call to AUTO_TESTS_f_f.
27244         (atan_test_data): Likewise.
27245         (atanh_test_data): Likewise.
27246         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
27247         (cabs_test_data): Update call to AUTO_TESTS_c_f.
27248         (carg_test_data): Likewise.
27249         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
27250         (ccos_test_data): Update call to AUTO_TESTS_c_c.
27251         (ccosh_test_data): Likewise.
27252         (cexp_test_data): Likewise.
27253         (clog_test_data): Likewise.
27254         (clog10_test_data): Likewise.
27255         (cos_test_data): Update call to AUTO_TESTS_f_f.
27256         (cos_test): Use ALL_RM_TEST.
27257         (cos_tonearest_test_data): Remove.
27258         (cos_test_tonearest): Likewise.
27259         (cos_towardzero_test_data): Likewise.
27260         (cos_test_towardzero): Likewise.
27261         (cos_downward_test_data): Likewise.
27262         (cos_test_downward): Likewise.
27263         (cos_upward_test_data): Likewise.
27264         (cos_test_upward): Likewise.
27265         (cosh_test_data): Update call to AUTO_TESTS_f_f.
27266         (cosh_test): Use ALL_RM_TEST.
27267         (cosh_tonearest_test_data): Remove.
27268         (cosh_test_tonearest): Likewise.
27269         (cosh_towardzero_test_data): Likewise.
27270         (cosh_test_towardzero): Likewise.
27271         (cosh_downward_test_data): Likewise.
27272         (cosh_test_downward): Likewise.
27273         (cosh_upward_test_data): Likewise.
27274         (cosh_test_upward): Likewise.
27275         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
27276         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
27277         (ctan_test_data): Likewise.
27278         (ctan_test): Use ALL_RM_TEST.
27279         (ctan_tonearest_test_data): Remove.
27280         (ctan_test_tonearest): Likewise.
27281         (ctan_towardzero_test_data): Likewise.
27282         (ctan_test_towardzero): Likewise.
27283         (ctan_downward_test_data): Likewise.
27284         (ctan_test_downward): Likewise.
27285         (ctan_upward_test_data): Likewise.
27286         (ctan_test_upward): Likewise.
27287         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
27288         (ctanh_test): Use ALL_RM_TEST.
27289         (ctanh_tonearest_test_data): Remove.
27290         (ctanh_test_tonearest): Likewise.
27291         (ctanh_towardzero_test_data): Likewise.
27292         (ctanh_test_towardzero): Likewise.
27293         (ctanh_downward_test_data): Likewise.
27294         (ctanh_test_downward): Likewise.
27295         (ctanh_upward_test_data): Likewise.
27296         (ctanh_test_upward): Likewise.
27297         (erf_test_data): Update call to AUTO_TESTS_f_f.
27298         (erfc_test_data): Likewise.
27299         (exp_test_data): Likewise.
27300         (exp_test): Use ALL_RM_TEST.
27301         (exp_tonearest_test_data): Remove.
27302         (exp_test_tonearest): Likewise.
27303         (exp_towardzero_test_data): Likewise.
27304         (exp_test_towardzero): Likewise.
27305         (exp_downward_test_data): Likewise.
27306         (exp_test_downward): Likewise.
27307         (exp_upward_test_data): Likewise.
27308         (exp_test_upward): Likewise.
27309         (exp10_test_data): Update call to AUTO_TESTS_f_f.
27310         (exp10_test): Use ALL_RM_TEST.
27311         (exp10_tonearest_test_data): Remove.
27312         (exp10_test_tonearest): Likewise.
27313         (exp10_towardzero_test_data): Likewise.
27314         (exp10_test_towardzero): Likewise.
27315         (exp10_downward_test_data): Likewise.
27316         (exp10_test_downward): Likewise.
27317         (exp10_upward_test_data): Likewise.
27318         (exp10_test_upward): Likewise.
27319         (exp2_test_data): Update call to AUTO_TESTS_f_f.
27320         (expm1_test_data): Likewise.
27321         (expm1_test): Use ALL_RM_TEST.
27322         (expm1_tonearest_test_data): Remove.
27323         (expm1_test_tonearest): Likewise.
27324         (expm1_towardzero_test_data): Likewise.
27325         (expm1_test_towardzero): Likewise.
27326         (expm1_downward_test_data): Likewise.
27327         (expm1_test_downward): Likewise.
27328         (expm1_upward_test_data): Likewise.
27329         (expm1_test_upward): Likewise.
27330         (fma_test_data): Update call to AUTO_TESTS_fff_f.
27331         (fma_test): Use ALL_RM_TEST.
27332         (fma_towardzero_test_data): Remove.
27333         (fma_test_towardzero): Likewise.
27334         (fma_downward_test_data): Likewise.
27335         (fma_test_downward): Likewise.
27336         (fma_upward_test_data): Likewise.
27337         (fma_test_upward): Likewise.
27338         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
27339         (j0_test_data): Update call to AUTO_TESTS_f_f.
27340         (j1_test_data): Likewise.
27341         (jn_test_data): Update call to AUTO_TESTS_if_f.
27342         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
27343         (log_test_data): Update call to AUTO_TESTS_f_f.
27344         (log10_test_data): Likewise.
27345         (log1p_test_data): Likewise.
27346         (log2_test_data): Likewise.
27347         (pow_test_data): Update call to AUTO_TESTS_ff_f.
27348         (pow_tonearest_test_data): Likewise.
27349         (sin_test_data): Update call to AUTO_TESTS_f_f.
27350         (sin_test): Use ALL_RM_TEST.
27351         (sin_tonearest_test_data): Remove.
27352         (sin_test_tonearest): Likewise.
27353         (sin_towardzero_test_data): Likewise.
27354         (sin_test_towardzero): Likewise.
27355         (sin_downward_test_data): Likewise.
27356         (sin_test_downward): Likewise.
27357         (sin_upward_test_data): Likewise.
27358         (sin_test_upward): Likewise.
27359         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
27360         (sinh_test_data): Update call to AUTO_TESTS_f_f.
27361         (sinh_test): Use ALL_RM_TEST.
27362         (sinh_tonearest_test_data): Remove.
27363         (sinh_test_tonearest): Likewise.
27364         (sinh_towardzero_test_data): Likewise.
27365         (sinh_test_towardzero): Likewise.
27366         (sinh_downward_test_data): Likewise.
27367         (sinh_test_downward): Likewise.
27368         (sinh_upward_test_data): Likewise.
27369         (sinh_test_upward): Likewise.
27370         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
27371         (sqrt_test): Use ALL_RM_TEST.
27372         (sqrt_tonearest_test_data): Remove.
27373         (sqrt_test_tonearest): Likewise.
27374         (sqrt_towardzero_test_data): Likewise.
27375         (sqrt_test_towardzero): Likewise.
27376         (sqrt_downward_test_data): Likewise.
27377         (sqrt_test_downward): Likewise.
27378         (sqrt_upward_test_data): Likewise.
27379         (sqrt_test_upward): Likewise.
27380         (tan_test_data): Update call to AUTO_TESTS_f_f.
27381         (tan_test): Use ALL_RM_TEST.
27382         (tan_tonearest_test_data): Remove.
27383         (tan_test_tonearest): Likewise.
27384         (tan_towardzero_test_data): Likewise.
27385         (tan_test_towardzero): Likewise.
27386         (tan_downward_test_data): Likewise.
27387         (tan_test_downward): Likewise.
27388         (tan_upward_test_data): Likewise.
27389         (tan_test_upward): Likewise.
27390         (tanh_test_data): Update call to AUTO_TESTS_f_f.
27391         (tgamma_test_data): Likewise.
27392         (y0_test_data): Likewise.
27393         (y1_test_data): Likewise.
27394         (yn_test_data): Update call to AUTO_TESTS_if_f.
27395         (main): Do not call removed functions.
27397 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
27399         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
27400         (ldexp_test_data): Remove.
27401         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
27402         scalbn_test_data.
27403         (scalb_test): Use ALL_RM_TEST.
27405 2014-03-19  Andreas Schwab  <schwab@suse.de>
27407         * nscd/nscd.service: Also invalidate netgroup cache on reload.
27409 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
27411         [BZ #16649]
27412         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27413         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
27414         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
27415         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27416         (__ASSUME_PREADV): Undefine.
27417         (__ASSUME_PWRITEV): Likewise.
27419 2014-03-18  Roland McGrath  <roland@hack.frob.com>
27421         * bits/mman-linux.h: Add comment about non-Linux use.
27422         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
27423         bits/mman-linux.h resting place.
27425         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
27426         * bits/mman-linux.h: ... here.
27428 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27430         * conform/conformtest.pl: Add standard definition when calling C
27431         preprocessor on data files.
27432         (checknamespace): Remove unused variable.
27434 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
27436         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
27437         minus_oflow, plus_uflow and minus_uflow in expected results.
27438         * math/libm-test.inc (scalbn_test_data): Add more tests of
27439         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
27440         minus_uflow.
27441         (scalbn_test): Use ALL_RM_TEST.
27442         (scalbln_test_data): Add more tests of negative arguments.  Use
27443         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
27444         (scalbln_test): Use ALL_RM_TEST.
27446 2014-03-18  Roland McGrath  <roland@hack.frob.com>
27448         * scripts/abilist.awk: Ignore symbols marked with .hidden.
27450 2014-03-18  Will Newton  <will.newton@linaro.org>
27452         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
27453         inaccurate comment.
27455 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
27457         * Makerules [!subdir] (check-abi): Exit with error status if a
27458         test failed.
27460 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
27462         * math/libm-test.inc (nearbyint_test_data): Include all tests used
27463         for rint.  Include results for all rounding modes.
27464         (nearbyint_test): Use ALL_RM_TEST.
27465         (rint_test_data): Include all tests used for nearbyint.
27467 2014-03-17  Will Newton  <will.newton@linaro.org>
27469         * nptl/sysdeps/pthread/pthread.h: Revert previous
27470         change.
27472         * sysdeps/generic/ldsodefs.h: Revert previous
27473         change.
27475         * libio/genops.c: Revert previous change.
27476         * libio/libioP.h: Likewise.
27477         * stdio-common/vfprintf.c: Likewise.
27479         * sysdeps/generic/math_private.h: Revert previous
27480         change.
27482         * sysdeps/generic/math_private.h: Check whether
27483         HAVE_RM_CTX is defined with #ifdef rather
27484         than #if.
27486         * argp/argp-fmtstream.h: Check whether
27487         __STRICT_ANSI__ is defined with #ifdef rather
27488         than #if.
27489         * argp/argp.h: Likewise.
27491         * libio/genops.c: Check whether
27492         _IO_JUMPS_OFFSET is defined with #ifdef rather
27493         than #if.
27494         * libio/libioP.h: Likewise.
27495         * stdio-common/vfprintf.c: Likewise.
27497         * sysdeps/generic/ldsodefs.h: Check whether
27498         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
27499         than #if.
27501         * nptl/sysdeps/pthread/pthread.h: Check
27502         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
27503         its value.
27505 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27507         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
27508         setting O_APPEND.
27509         * libio/tst-ftell-active-handler.c (do_append_test): Add a
27510         test case.
27512         [BZ #16680]
27513         * libio/fileops.c (_IO_file_open): Seek to end of file but
27514         don't cache the offset.
27515         (get_file_offset): Remove function.
27516         (do_ftell): Use cached offset when available.
27517         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
27518         don't cache the offset.
27519         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
27520         case.
27521         (do_one_test): Call it.
27522         (do_ftell_test): Fix up expected old offset for a+ mode.
27523         * libio/wfileops.c (do_ftell_wide): Used cached offset when
27524         available.
27526         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
27527         up test status with function return status.
27528         (do_write_test): Likewise.
27529         (do_append_test): Likewise.
27531         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
27532         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
27533         Remove.
27535 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
27537         * math/gen-libm-test.pl (parse_args): Handle results specified for
27538         each rounding mode separately.
27539         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
27540         tests and results from lrint_tonearest_test_data,
27541         lrint_towardzero_test_data, lrint_downward_test_data and
27542         lrint_upward_test_data.
27543         (lrint_test): Use ALL_RM_TEST.
27544         (lrint_tonearest_test_data): Remove.
27545         (lrint_test_tonearest): Likewise.
27546         (lrint_towardzero_test_data): Likewise.
27547         (lrint_test_towardzero): Likewise.
27548         (lrint_downward_test_data): Likewise.
27549         (lrint_test_downward): Likewise.
27550         (lrint_upward_test_data): Likewise.
27551         (lrint_test_upward): Likewise.
27552         (llrint_test_data): Merge in per-rounding-mode tests and results
27553         from llrint_tonearest_test_data, llrint_towardzero_test_data,
27554         llrint_downward_test_data and llrint_upward_test_data.
27555         (llrint_test): Use ALL_RM_TEST.
27556         (llrint_tonearest_test_data): Remove.
27557         (llrint_test_tonearest): Likewise.
27558         (llrint_towardzero_test_data): Likewise.
27559         (llrint_test_towardzero): Likewise.
27560         (llrint_downward_test_data): Likewise.
27561         (llrint_test_downward): Likewise.
27562         (llrint_upward_test_data): Likewise.
27563         (llrint_test_upward): Likewise.
27564         (rint_test_data): Merge in per-rounding-mode tests and results
27565         from rint_tonearest_test_data, rint_towardzero_test_data,
27566         rint_downward_test_data and rint_upward_test_data.  Add
27567         per-rounding-mode results for tests not in those arrays.
27568         (rint_test): Use ALL_RM_TEST.
27569         (rint_tonearest_test_data): Remove.
27570         (rint_test_tonearest): Likewise.
27571         (rint_towardzero_test_data): Likewise.
27572         (rint_test_towardzero): Likewise.
27573         (rint_downward_test_data): Likewise.
27574         (rint_test_downward): Likewise.
27575         (rint_upward_test_data): Likewise.
27576         (rint_test_upward): Likewise.
27577         (main): Don't call removed functions.
27579 2014-03-14  Roland McGrath  <roland@hack.frob.com>
27581         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
27582         "Compiled on ..." crapola.  It is anti-useful.
27584 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
27586         * scripts/evaluate-test.sh: Handle fourth argument to determine
27587         whether test run should stop on failure.
27588         * Makeconfig (stop-on-test-failure): New variable.
27589         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
27590         $(stop-on-test-failure).
27591         * Makefile (tests): Give a summary of results from testing and
27592         exit with failure status if they include an ERROR or FAIL.
27593         (xtests): Likewise.
27594         * manual/install.texi (Configuring and compiling): Mention
27595         stop-on-test-failure=y.
27596         * INSTALL: Regenerated.
27598 2014-03-14  Roland McGrath  <roland@hack.frob.com>
27600         * scripts/versionlist.awk: New file.
27601         * Makerules [$(build-shared) = yes]
27602         (postclean-generated): Add Versions.def, not Versions.def.v and
27603         Versions.def.v.i.
27604         ($(common-objpfx)Versions.def.v.i): Target removed.
27605         ($(common-objpfx)Versions.def): New target.
27606         ($(common-objpfx)Versions.all): Depend on that rather that
27607         $(common-objpfx)Versions.def.v.
27608         * Versions.def: File removed.
27610         * Makeconfig (+gccwarn): Add -Wundef.
27611         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
27612         a dl-sysdep.h breaking its contract.
27613         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
27614         * include/stackinfo.h: New file.
27615         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
27616         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
27617         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
27618         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
27619         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
27620         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
27621         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27622         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27623         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27624         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27625         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27626         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
27627         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27628         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27629         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27631 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27633         [BZ #16707]
27634         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
27635         implementation.
27636         * math/libm-test.inc (round_test_data): Add more tests.
27638         [BZ #16706]
27639         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
27640         implementation.
27641         * math/libm-test.inc (nearbyint_test_data): Add more tests.
27643         [BZ #16701]
27644         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
27645         implementation.
27646         * math/libm-test.inc (ceil_test_data): Add more tests.
27648         * math/libm-test.inc (trunc_test_data): Add more tests related to
27649         BZ#16414.
27651 2014-03-14  Roland McGrath  <roland@hack.frob.com>
27653         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
27654         with #if rather than #ifdef.
27655         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
27657 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
27659         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
27660         first.  Disable AVX-512 GCC support if assembler doesn't support
27661         it.
27662         * sysdeps/x86_64/configure: Regenerated.
27664 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
27666         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
27667         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
27668         (__old_pthread_attr_setstack): Likewise.
27669         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
27670         [!_STACK_GROWS_DOWN]: Likewise.
27672 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
27674         * config.make.in (have-bash2): Delete.
27675         * configure.ac (libc_cv_have_bash2): Delete.
27676         * configure: Regenerate.
27677         * elf/Makefile (common-ldd-rewrite): Rename to ...
27678         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
27679         (sh-ldd-rewrite): Delete.
27680         (bash-ldd-rewrite): Delete.
27681         (have-bash2): Delete checks.
27682         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
27683         ldd-rewrite.
27685         * config.make.in (have-ksh): Delete.
27686         (KSH): Delete.
27687         * configure.ac (libc_cv_have_ksh): Delete.
27688         * configure: Regenerate.
27690         * elf/Makefile: Delete $(have-ksh) check.
27691         ($(objpfx)sotruss): Change KSH to BASH.
27692         * elf/sotruss.ksh: Rename to ...
27693         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
27694         function style to match POSIX.  Drop ksh vim mode setting.
27696         * manual/time.texi (Specifying the Time Zone with TZ): Change
27697         Tuesday to Thursday.
27699         * debug/tst-longjmp_chk2.c: Update header comment.
27700         (stackoverflow_handler): Add comment.  Call assert on pass value.
27702 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
27704         [BZ #16194]
27705         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
27706         (HAVE_AVX512_ASM_SUPPORT): Likewise.
27707         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
27708         (La_x86_64_vector): Add zmm.
27709         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
27710         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
27711         ($(objpfx)tst-audit10): New target.
27712         ($(objpfx)tst-audit10.out): Likewise.
27713         (tst-audit10-ENV): New.
27714         (AVX512-CFLAGS): Likewise.
27715         (CFLAGS-tst-audit10.c): Likewise.
27716         (CFLAGS-tst-auditmod10a.c): Likewise.
27717         (CFLAGS-tst-auditmod10b.c): Likewise.
27718         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
27719         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
27720         * sysdeps/x86_64/configure: Regenerated.
27721         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
27722         AVX-512 zmm register support.
27723         (_dl_x86_64_save_sse): Likewise.
27724         (_dl_x86_64_restore_sse): Likewise.
27725         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
27726         size vector registers.
27727         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
27728         (ZMM_SIZE): Likewise.
27729         * sysdeps/x86_64/tst-audit10.c: New file.
27730         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
27731         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
27733 2014-03-13  Roland McGrath  <roland@hack.frob.com>
27735         * configure.ac (HAVE_EHDR_START): New check.
27736         * configure: Regenerated.
27737         * config.h.in (HAVE_EHDR_START): New #undef.
27738         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
27739         assuming the lowest-addressed segment maps the start of the file.
27741 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
27743         * INSTALL: Regenerated.
27745 2014-03-13  Will Newton  <will.newton@linaro.org>
27747         * manual/setjmp.texi (System V contexts): Improve
27748         clarity and grammar of documentation.
27750 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
27752         [BZ #16381]
27753         * elf/Makefile (tests): Add tst-pie2.
27754         (tests-pie): Add tst-pie2.
27755         * elf/tst-pie2.c: New file.
27756         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
27757         for ET_EXEC.
27758         * elf/rtld.c (map_doit): Load executable as lt_executable.
27759         (dl_main): Likewise.
27761 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
27763         [BZ #16642]
27764         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27765         (__ASSUME_PSELECT): Undefine.
27767 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27769         [BZ #16689]
27770         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
27771         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
27772         static build.
27773         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
27774         selector for static builds.
27776 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27778         [BZ #16695]
27779         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
27780         key in the buffer.
27782 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27784         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
27785         IFUNC selector for static builds.
27787 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
27789         * sysdeps/mips/math_private.h [__mips_hard_float]
27790         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
27791         libc_feresetround_mips_ctx.
27792         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
27793         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
27794         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
27796         [BZ #16677]
27797         * math/s_nextafter.c (__nextafter): Do not return value from
27798         overflowing computation.
27799         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
27800         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
27801         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
27802         Likewise.
27803         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
27804         Likewise.
27805         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
27806         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
27808 2014-03-11  Roland McGrath  <roland@hack.frob.com>
27810         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
27811         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
27812         Move sfi_sp use from the load-multiple (that no longer sets sp) to
27813         the new mov targetting sp.
27815 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27817         [BZ #16683]
27818         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
27819         Define it for static builds as well.
27820         (NO_BZERO_IMPL): Likewise.
27822 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27824         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
27825         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
27826         multiarch strspn for PPC64.
27827         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
27828         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
27829         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27830         (__libc_ifunc_impl_list): Likewise.
27831         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
27832         multiarch optimizations
27833         * string/strspn.c (strspn): Using macro to redefine symbol name.
27835 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27836             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27838         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
27839         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
27840         multiarch strncat for PPC64.
27841         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
27842         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
27843         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27844         (__libc_ifunc_impl_list): Likewise.
27845         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
27846         multiarch optimizations
27848 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27850         [BZ #16639]
27851         * nscd/nscd.service: Make service type forking.
27853 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27855         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
27856         sign in non default rounding modes.
27857         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
27859 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
27861         * math/libm-test.inc (ALL_RM_TEST): New macro.
27862         (ceil_test): Use ALL_RM_TEST.
27863         (cimag_test): Likewise.
27864         (conj_test): Likewise.
27865         (copysign_test): Likewise.
27866         (cproj_test): Likewise.
27867         (creal_test): Likewise.
27868         (fabs_test): Likewise.
27869         (floor_test): Likewise.
27870         (fmax_test): Likewise.
27871         (fmin_test): Likewise.
27872         (fmod_test): Likewise.
27873         (fpclassify_test): Likewise.
27874         (frexp_test): Likewise.
27875         (ilogb_test): Likewise.
27876         (isfinite_test): Likewise.
27877         (finite_test): Likewise.
27878         (isgreater_test): Likewise.
27879         (isgreaterequal_test): Likewise.
27880         (isinf_test): Likewise.
27881         (isless_test): Likewise.
27882         (islessequal_test): Likewise.
27883         (islessgreater_test): Likewise.
27884         (isnan_test): Likewise.
27885         (isnormal_test): Likewise.
27886         (issignaling_test): Likewise.
27887         (isunordered_test): Likewise.
27888         (logb_test): Likewise.
27889         (logb_downward_test_data): Remove.
27890         (logb_test_downward): Likewise.
27891         (lround_test): Use ALL_RM_TEST.
27892         (llround_test): Likewise.
27893         (modf_test): Likewise.
27894         (nexttoward_test): Likewise.
27895         (remainder_test): Likewise.
27896         (drem_test): Likewise.
27897         (remainder_tonearest_test_data): Likewise.
27898         (remainder_test_tonearest): Likewise.
27899         (drem_test_tonearest): Likewise.
27900         (remainder_towardzero_test_data): Likewise.
27901         (remainder_test_towardzero): Likewise.
27902         (drem_test_towardzero): Likewise.
27903         (remainder_downward_test_data): Likewise.
27904         (remainder_test_downward): Likewise.
27905         (drem_test_downward): Likewise.
27906         (remainder_upward_test_data): Likewise.
27907         (remainder_test_upward): Likewise.
27908         (drem_test_upward): Likewise.
27909         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
27910         (round_test): Use ALL_RM_TEST.
27911         (signbit_test): Likewise.
27912         (trunc_test): Likewise.
27913         (significand_test): Likewise.
27914         (main): Don't call removed functions.
27916 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
27918         [BZ #16674]
27919         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
27920         || __USE_XOPEN2K8].
27921         (ILL_ILLOPN): Likewise.
27922         (ILL_ILLADR): Likewise.
27923         (ILL_ILLTRP): Likewise.
27924         (ILL_PRVOPC): Likewise.
27925         (ILL_PRVREG): Likewise.
27926         (ILL_COPROC): Likewise.
27927         (ILL_BADSTK): Likewise.
27928         (FPE_INTDIV): Likewise.
27929         (FPE_INTOVF): Likewise.
27930         (FPE_FLTDIV): Likewise.
27931         (FPE_FLTOVF): Likewise.
27932         (FPE_FLTUND): Likewise.
27933         (FPE_FLTRES): Likewise.
27934         (FPE_FLTINV): Likewise.
27935         (FPE_FLTSUB): Likewise.
27936         (SEGV_MAPERR): Likewise.
27937         (SEGV_ACCERR): Likewise.
27938         (BUS_ADRALN): Likewise.
27939         (BUS_ADRERR): Likewise.
27940         (BUS_OBJERR): Likewise.
27941         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27942         (TRAP_TRACE): Likewise.
27943         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27944         __USE_XOPEN2K8].
27945         (CLD_KILLED): Likewise.
27946         (CLD_DUMPED): Likewise.
27947         (CLD_TRAPPED): Likewise.
27948         (CLD_STOPPED): Likewise.
27949         (CLD_CONTINUED): Likewise.
27950         (POLL_IN): Likewise.
27951         (POLL_OUT): Likewise.
27952         (POLL_MSG): Likewise.
27953         (POLL_ERR): Likewise.
27954         (POLL_PRI): Likewise.
27955         (POLL_HUP): Likewise.
27956         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
27957         Likewise.
27958         (ILL_ILLOPN): Likewise.
27959         (ILL_ILLADR): Likewise.
27960         (ILL_ILLTRP): Likewise.
27961         (ILL_PRVOPC): Likewise.
27962         (ILL_PRVREG): Likewise.
27963         (ILL_COPROC): Likewise.
27964         (ILL_BADSTK): Likewise.
27965         (FPE_INTDIV): Likewise.
27966         (FPE_INTOVF): Likewise.
27967         (FPE_FLTDIV): Likewise.
27968         (FPE_FLTOVF): Likewise.
27969         (FPE_FLTUND): Likewise.
27970         (FPE_FLTRES): Likewise.
27971         (FPE_FLTINV): Likewise.
27972         (FPE_FLTSUB): Likewise.
27973         (SEGV_MAPERR): Likewise.
27974         (SEGV_ACCERR): Likewise.
27975         (BUS_ADRALN): Likewise.
27976         (BUS_ADRERR): Likewise.
27977         (BUS_OBJERR): Likewise.
27978         (BUS_MCEERR_AR): Likewise.
27979         (BUS_MCEERR_AO): Likewise.
27980         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
27981         (TRAP_TRACE): Likewise.
27982         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
27983         __USE_XOPEN2K8].
27984         (CLD_KILLED): Likewise.
27985         (CLD_DUMPED): Likewise.
27986         (CLD_TRAPPED): Likewise.
27987         (CLD_STOPPED): Likewise.
27988         (CLD_CONTINUED): Likewise.
27989         (POLL_IN): Likewise.
27990         (POLL_OUT): Likewise.
27991         (POLL_MSG): Likewise.
27992         (POLL_ERR): Likewise.
27993         (POLL_PRI): Likewise.
27994         (POLL_HUP): Likewise.
27995         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
27996         (ILL_ILLOPN): Likewise.
27997         (ILL_ILLADR): Likewise.
27998         (ILL_ILLTRP): Likewise.
27999         (ILL_PRVOPC): Likewise.
28000         (ILL_PRVREG): Likewise.
28001         (ILL_COPROC): Likewise.
28002         (ILL_BADSTK): Likewise.
28003         (FPE_INTDIV): Likewise.
28004         (FPE_INTOVF): Likewise.
28005         (FPE_FLTDIV): Likewise.
28006         (FPE_FLTOVF): Likewise.
28007         (FPE_FLTUND): Likewise.
28008         (FPE_FLTRES): Likewise.
28009         (FPE_FLTINV): Likewise.
28010         (FPE_FLTSUB): Likewise.
28011         (SEGV_MAPERR): Likewise.
28012         (SEGV_ACCERR): Likewise.
28013         (BUS_ADRALN): Likewise.
28014         (BUS_ADRERR): Likewise.
28015         (BUS_OBJERR): Likewise.
28016         (BUS_MCEERR_AR): Likewise.
28017         (BUS_MCEERR_AO): Likewise.
28018         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28019         (TRAP_TRACE): Likewise.
28020         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28021         __USE_XOPEN2K8].
28022         (CLD_KILLED): Likewise.
28023         (CLD_DUMPED): Likewise.
28024         (CLD_TRAPPED): Likewise.
28025         (CLD_STOPPED): Likewise.
28026         (CLD_CONTINUED): Likewise.
28027         (POLL_IN): Likewise.
28028         (POLL_OUT): Likewise.
28029         (POLL_MSG): Likewise.
28030         (POLL_ERR): Likewise.
28031         (POLL_PRI): Likewise.
28032         (POLL_HUP): Likewise.
28033         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
28034         Likewise.
28035         (ILL_ILLOPN): Likewise.
28036         (ILL_ILLADR): Likewise.
28037         (ILL_ILLTRP): Likewise.
28038         (ILL_PRVOPC): Likewise.
28039         (ILL_PRVREG): Likewise.
28040         (ILL_COPROC): Likewise.
28041         (ILL_BADSTK): Likewise.
28042         (ILL_BADIADDR): Likewise.
28043         (ILL_BREAK): Likewise.
28044         (FPE_INTDIV): Likewise.
28045         (FPE_INTOVF): Likewise.
28046         (FPE_FLTDIV): Likewise.
28047         (FPE_FLTOVF): Likewise.
28048         (FPE_FLTUND): Likewise.
28049         (FPE_FLTRES): Likewise.
28050         (FPE_FLTINV): Likewise.
28051         (FPE_FLTSUB): Likewise.
28052         (FPE_DECOVF): Likewise.
28053         (FPE_DECDIV): Likewise.
28054         (FPE_DECERR): Likewise.
28055         (FPE_INVASC): Likewise.
28056         (FPE_INVDEC): Likewise.
28057         (SEGV_MAPERR): Likewise.
28058         (SEGV_ACCERR): Likewise.
28059         (SEGV_PSTKOVF): Likewise.
28060         (BUS_ADRALN): Likewise.
28061         (BUS_ADRERR): Likewise.
28062         (BUS_OBJERR): Likewise.
28063         (BUS_MCEERR_AR): Likewise.
28064         (BUS_MCEERR_AO): Likewise.
28065         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28066         (TRAP_TRACE): Likewise.
28067         (TRAP_BRANCH): Likewise.
28068         (TRAP_HWBKPT): Likewise.
28069         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28070         __USE_XOPEN2K8].
28071         (CLD_KILLED): Likewise.
28072         (CLD_DUMPED): Likewise.
28073         (CLD_TRAPPED): Likewise.
28074         (CLD_STOPPED): Likewise.
28075         (CLD_CONTINUED): Likewise.
28076         (POLL_IN): Likewise.
28077         (POLL_OUT): Likewise.
28078         (POLL_MSG): Likewise.
28079         (POLL_ERR): Likewise.
28080         (POLL_PRI): Likewise.
28081         (POLL_HUP): Likewise.
28082         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
28083         (ILL_ILLOPN): Likewise.
28084         (ILL_ILLADR): Likewise.
28085         (ILL_ILLTRP): Likewise.
28086         (ILL_PRVOPC): Likewise.
28087         (ILL_PRVREG): Likewise.
28088         (ILL_COPROC): Likewise.
28089         (ILL_BADSTK): Likewise.
28090         (FPE_INTDIV): Likewise.
28091         (FPE_INTOVF): Likewise.
28092         (FPE_FLTDIV): Likewise.
28093         (FPE_FLTOVF): Likewise.
28094         (FPE_FLTUND): Likewise.
28095         (FPE_FLTRES): Likewise.
28096         (FPE_FLTINV): Likewise.
28097         (FPE_FLTSUB): Likewise.
28098         (SEGV_MAPERR): Likewise.
28099         (SEGV_ACCERR): Likewise.
28100         (BUS_ADRALN): Likewise.
28101         (BUS_ADRERR): Likewise.
28102         (BUS_OBJERR): Likewise.
28103         (BUS_MCEERR_AR): Likewise.
28104         (BUS_MCEERR_AO): Likewise.
28105         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28106         (TRAP_TRACE): Likewise.
28107         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28108         __USE_XOPEN2K8].
28109         (CLD_KILLED): Likewise.
28110         (CLD_DUMPED): Likewise.
28111         (CLD_TRAPPED): Likewise.
28112         (CLD_STOPPED): Likewise.
28113         (CLD_CONTINUED): Likewise.
28114         (POLL_IN): Likewise.
28115         (POLL_OUT): Likewise.
28116         (POLL_MSG): Likewise.
28117         (POLL_ERR): Likewise.
28118         (POLL_PRI): Likewise.
28119         (POLL_HUP): Likewise.
28120         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
28121         (ILL_ILLOPN): Likewise.
28122         (ILL_ILLADR): Likewise.
28123         (ILL_ILLTRP): Likewise.
28124         (ILL_PRVOPC): Likewise.
28125         (ILL_PRVREG): Likewise.
28126         (ILL_COPROC): Likewise.
28127         (ILL_BADSTK): Likewise.
28128         (FPE_INTDIV): Likewise.
28129         (FPE_INTOVF): Likewise.
28130         (FPE_FLTDIV): Likewise.
28131         (FPE_FLTOVF): Likewise.
28132         (FPE_FLTUND): Likewise.
28133         (FPE_FLTRES): Likewise.
28134         (FPE_FLTINV): Likewise.
28135         (FPE_FLTSUB): Likewise.
28136         (SEGV_MAPERR): Likewise.
28137         (SEGV_ACCERR): Likewise.
28138         (BUS_ADRALN): Likewise.
28139         (BUS_ADRERR): Likewise.
28140         (BUS_OBJERR): Likewise.
28141         (BUS_MCEERR_AR): Likewise.
28142         (BUS_MCEERR_AO): Likewise.
28143         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28144         (TRAP_TRACE): Likewise.
28145         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28146         __USE_XOPEN2K8].
28147         (CLD_KILLED): Likewise.
28148         (CLD_DUMPED): Likewise.
28149         (CLD_TRAPPED): Likewise.
28150         (CLD_STOPPED): Likewise.
28151         (CLD_CONTINUED): Likewise.
28152         (POLL_IN): Likewise.
28153         (POLL_OUT): Likewise.
28154         (POLL_MSG): Likewise.
28155         (POLL_ERR): Likewise.
28156         (POLL_PRI): Likewise.
28157         (POLL_HUP): Likewise.
28158         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
28159         (ILL_ILLOPN): Likewise.
28160         (ILL_ILLADR): Likewise.
28161         (ILL_ILLTRP): Likewise.
28162         (ILL_PRVOPC): Likewise.
28163         (ILL_PRVREG): Likewise.
28164         (ILL_COPROC): Likewise.
28165         (ILL_BADSTK): Likewise.
28166         (FPE_INTDIV): Likewise.
28167         (FPE_INTOVF): Likewise.
28168         (FPE_FLTDIV): Likewise.
28169         (FPE_FLTOVF): Likewise.
28170         (FPE_FLTUND): Likewise.
28171         (FPE_FLTRES): Likewise.
28172         (FPE_FLTINV): Likewise.
28173         (FPE_FLTSUB): Likewise.
28174         (SEGV_MAPERR): Likewise.
28175         (SEGV_ACCERR): Likewise.
28176         (BUS_ADRALN): Likewise.
28177         (BUS_ADRERR): Likewise.
28178         (BUS_OBJERR): Likewise.
28179         (BUS_MCEERR_AR): Likewise.
28180         (BUS_MCEERR_AO): Likewise.
28181         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28182         (TRAP_TRACE): Likewise.
28183         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28184         __USE_XOPEN2K8].
28185         (CLD_KILLED): Likewise.
28186         (CLD_DUMPED): Likewise.
28187         (CLD_TRAPPED): Likewise.
28188         (CLD_STOPPED): Likewise.
28189         (CLD_CONTINUED): Likewise.
28190         (POLL_IN): Likewise.
28191         (POLL_OUT): Likewise.
28192         (POLL_MSG): Likewise.
28193         (POLL_ERR): Likewise.
28194         (POLL_PRI): Likewise.
28195         (POLL_HUP): Likewise.
28196         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
28197         (ILL_ILLOPN): Likewise.
28198         (ILL_ILLADR): Likewise.
28199         (ILL_ILLTRP): Likewise.
28200         (ILL_PRVOPC): Likewise.
28201         (ILL_PRVREG): Likewise.
28202         (ILL_COPROC): Likewise.
28203         (ILL_BADSTK): Likewise.
28204         (ILL_DBLFLT): Likewise.
28205         (ILL_HARDWALL): Likewise.
28206         (FPE_INTDIV): Likewise.
28207         (FPE_INTOVF): Likewise.
28208         (FPE_FLTDIV): Likewise.
28209         (FPE_FLTOVF): Likewise.
28210         (FPE_FLTUND): Likewise.
28211         (FPE_FLTRES): Likewise.
28212         (FPE_FLTINV): Likewise.
28213         (FPE_FLTSUB): Likewise.
28214         (SEGV_MAPERR): Likewise.
28215         (SEGV_ACCERR): Likewise.
28216         (BUS_ADRALN): Likewise.
28217         (BUS_ADRERR): Likewise.
28218         (BUS_OBJERR): Likewise.
28219         (BUS_MCEERR_AR): Likewise.
28220         (BUS_MCEERR_AO): Likewise.
28221         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28222         (TRAP_TRACE): Likewise.
28223         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28224         __USE_XOPEN2K8].
28225         (CLD_KILLED): Likewise.
28226         (CLD_DUMPED): Likewise.
28227         (CLD_TRAPPED): Likewise.
28228         (CLD_STOPPED): Likewise.
28229         (CLD_CONTINUED): Likewise.
28230         (POLL_IN): Likewise.
28231         (POLL_OUT): Likewise.
28232         (POLL_MSG): Likewise.
28233         (POLL_ERR): Likewise.
28234         (POLL_PRI): Likewise.
28235         (POLL_HUP): Likewise.
28236         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
28237         (ILL_ILLOPN): Likewise.
28238         (ILL_ILLADR): Likewise.
28239         (ILL_ILLTRP): Likewise.
28240         (ILL_PRVOPC): Likewise.
28241         (ILL_PRVREG): Likewise.
28242         (ILL_COPROC): Likewise.
28243         (ILL_BADSTK): Likewise.
28244         (FPE_INTDIV): Likewise.
28245         (FPE_INTOVF): Likewise.
28246         (FPE_FLTDIV): Likewise.
28247         (FPE_FLTOVF): Likewise.
28248         (FPE_FLTUND): Likewise.
28249         (FPE_FLTRES): Likewise.
28250         (FPE_FLTINV): Likewise.
28251         (FPE_FLTSUB): Likewise.
28252         (SEGV_MAPERR): Likewise.
28253         (SEGV_ACCERR): Likewise.
28254         (BUS_ADRALN): Likewise.
28255         (BUS_ADRERR): Likewise.
28256         (BUS_OBJERR): Likewise.
28257         (BUS_MCEERR_AR): Likewise.
28258         (BUS_MCEERR_AO): Likewise.
28259         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28260         (TRAP_TRACE): Likewise.
28261         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28262         __USE_XOPEN2K8].
28263         (CLD_KILLED): Likewise.
28264         (CLD_DUMPED): Likewise.
28265         (CLD_TRAPPED): Likewise.
28266         (CLD_STOPPED): Likewise.
28267         (CLD_CONTINUED): Likewise.
28268         (POLL_IN): Likewise.
28269         (POLL_OUT): Likewise.
28270         (POLL_MSG): Likewise.
28271         (POLL_ERR): Likewise.
28272         (POLL_PRI): Likewise.
28273         (POLL_HUP): Likewise.
28274         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
28275         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
28277         [BZ #16670]
28278         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
28279         before #include of <time.h>.
28280         [!__USE_XOPEN2K] (__need_timespec): Likewise.
28281         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
28282         (test-xfail-UNIX98/sched.h/conform): Likewise.
28284 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
28286         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
28287         error absence of trapping exception support.
28288         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
28290 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
28292         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
28293         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
28294         * timezone/Makefile (testdata): Move definition above include of
28295         Rules.
28296         (test-zones): New variable.
28297         (tests-special): Add zone files.
28298         (build-testdata): Use $(evaluate-test).
28300         * elf/Makefile (tests-special): Rename tests to end with .out.
28301         ($(objpfx)noload-mem): Likewise.
28302         ($(objpfx)tst-leaks1-mem): Likewise.
28303         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
28304         * iconv/Makefile (xtests-special): Change test-iconvconfig to
28305         $(objpfx)test-iconvconfig.out.
28306         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
28307         set -e inside subshell and redirect output to file.
28308         * iconvdata/Makefile (generated): Rename tests to end with .out.
28309         Correct type.
28310         (tests-special): Rename tests to end with .out.
28311         ($(objpfx)mtrace-tst-loading): Likewise.
28312         * intl/Makefile (generated): Likewise.
28313         (tests-special): Likewise.
28314         ($(objpfx)mtrace-tst-gettext): Likewise.
28315         * misc/Makefile (generated): Likewise.
28316         (tests-special): Likewise.
28317         ($(objpfx)tst-error1-mem): Likewise.
28318         * nptl/Makefile (tests-special): Likewise.
28319         ($(objpfx)tst-stack3-mem): Likewise.
28320         (generated): Likewise.
28321         * posix/Makefile (generated): Likewise.
28322         (tests-special): Likewise.
28323         (xtests-special): Likewise.
28324         ($(objpfx)tst-fnmatch-mem): Likewise.
28325         ($(objpfx)bug-regex2-mem): Likewise.
28326         ($(objpfx)bug-regex14-mem): Likewise.
28327         ($(objpfx)bug-regex21-mem): Likewise.
28328         ($(objpfx)bug-regex31-mem): Likewise.
28329         ($(objpfx)tst-vfork3-mem): Likewise.
28330         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
28331         ($(objpfx)tst-pcre-mem): Likewise.
28332         ($(objpfx)tst-boost-mem): Likewise.
28333         ($(objpfx)bug-ga2-mem): Likewise.
28334         ($(objpfx)bug-glob2-mem): Likewise.
28335         * resolv/Makefile (generate): Likewise.
28336         (tests-special): Likewise.
28337         (xtests-special): Likewise.
28338         (generated): Likewise.
28339         ($(objpfx)mtrace-tst-leaks): Likewise.
28340         ($(objpfx)mtrace-tst-leaks2): Likewise.
28342         * scripts/merge-test-results.sh: New file.
28343         * Makefile (tests-special-notdir): New variable.
28344         (tests): Run merge-test-results.sh.
28345         (xtests): Likewise.
28346         * Rules (tests-special-notdir): New variable.
28347         (xtests-special-notdir): Likewise.
28348         (tests): Run merge-test-results.sh
28349         (xtests): Likewise.
28351         * Makeconfig (test-xfail-name): New variable.
28352         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
28353         compute variable name for expected failures.
28354         * conform/Makefile (conformtest-headers-data): New variable.
28355         (conformtest-standards): Likewise.
28356         (conformtest-headers-ISO): Likewise.
28357         (conformtest-headers-ISO99): Likewise.
28358         (conformtest-headers-ISO11): Likewise.
28359         (conformtest-headers-POSIX): Likewise.
28360         (conformtest-headers-XPG3): Likewise.
28361         (conformtest-headers-XPG4): Likewise.
28362         (conformtest-headers-UNIX98): Likewise.
28363         (conformtest-headers-XOPEN2K): Likewise.
28364         (conformtest-headers-POSIX2008): Likewise.
28365         (conformtest-headers-XOPEN2K8): Likewise.
28366         (conformtest-header-list-base): Likewise.
28367         (conformtest-header-list-tests): Likewise.
28368         (conformtest-header-base): Likewise.
28369         (conformtest-header-tests): Likewise.
28370         (tests-special): Add $(conformtest-header-list-tests).  If
28371         [$(fast-check) && !$(cross-compiling)], add
28372         $(conformtest-header-tests) instead of
28373         $(objpfx)run-conformtest.out.
28374         (generated): Add $(conformtest-header-list-base).  If
28375         [$(fast-check) && !$(cross-compiling)], add
28376         $(conformtest-header-base).  Remove previous setting.
28377         ($(conformtest-header-list-tests)): New target.
28378         (test-xfail-run-conformtest): Remove variable.
28379         ($(objpfx)run-conformtest.out): Remove target.
28380         (test-xfail-ISO11/complex.h/conform): New variable.
28381         (test-xfail-ISO11/stdalign.h/conform): Likewise.
28382         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
28383         (test-xfail-XPG3/varargs.h/conform): Likewise.
28384         (test-xfail-XPG4/varargs.h/conform): Likewise.
28385         (test-xfail-UNIX98/varargs.h/conform): Likewise.
28386         (test-xfail-XPG4/ndbm.h/conform): Likewise.
28387         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
28388         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
28389         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
28390         (test-xfail-XPG3/fcntl.h/conform): Likewise.
28391         (test-xfail-XPG3/ftw.h/conform): Likewise.
28392         (test-xfail-XPG3/grp.h/conform): Likewise.
28393         (test-xfail-XPG3/langinfo.h/conform): Likewise.
28394         (test-xfail-XPG3/limits.h/conform): Likewise.
28395         (test-xfail-XPG3/pwd.h/conform): Likewise.
28396         (test-xfail-XPG3/search.h/conform): Likewise.
28397         (test-xfail-XPG3/signal.h/conform): Likewise.
28398         (test-xfail-XPG3/stdio.h/conform): Likewise.
28399         (test-xfail-XPG3/stdlib.h/conform): Likewise.
28400         (test-xfail-XPG3/string.h/conform): Likewise.
28401         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
28402         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
28403         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
28404         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
28405         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
28406         (test-xfail-XPG3/sys/types.h/conform): Likewise.
28407         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
28408         (test-xfail-XPG3/termios.h/conform): Likewise.
28409         (test-xfail-XPG3/time.h/conform): Likewise.
28410         (test-xfail-XPG3/unistd.h/conform): Likewise.
28411         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
28412         (test-xfail-XPG4/fcntl.h/conform): Likewise.
28413         (test-xfail-XPG4/langinfo.h/conform): Likewise.
28414         (test-xfail-XPG4/netdb.h/conform): Likewise.
28415         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
28416         (test-xfail-XPG4/signal.h/conform): Likewise.
28417         (test-xfail-XPG4/stdio.h/conform): Likewise.
28418         (test-xfail-XPG4/stdlib.h/conform): Likewise.
28419         (test-xfail-XPG4/stropts.h/conform): Likewise.
28420         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
28421         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
28422         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
28423         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
28424         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
28425         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
28426         (test-xfail-XPG4/sys/time.h/conform): Likewise.
28427         (test-xfail-XPG4/sys/types.h/conform): Likewise.
28428         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
28429         (test-xfail-XPG4/termios.h/conform): Likewise.
28430         (test-xfail-XPG4/ucontext.h/conform): Likewise.
28431         (test-xfail-XPG4/unistd.h/conform): Likewise.
28432         (test-xfail-XPG4/utmpx.h/conform): Likewise.
28433         (test-xfail-POSIX/sched.h/conform): Likewise.
28434         (test-xfail-POSIX/signal.h/conform): Likewise.
28435         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
28436         (test-xfail-POSIX/tar.h/conform): Likewise.
28437         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
28438         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
28439         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
28440         (test-xfail-UNIX98/netdb.h/conform): Likewise.
28441         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
28442         (test-xfail-UNIX98/sched.h/conform): Likewise.
28443         (test-xfail-UNIX98/signal.h/conform): Likewise.
28444         (test-xfail-UNIX98/stdio.h/conform): Likewise.
28445         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
28446         (test-xfail-UNIX98/stropts.h/conform): Likewise.
28447         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
28448         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
28449         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
28450         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
28451         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
28452         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
28453         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
28454         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
28455         (test-xfail-UNIX98/unistd.h/conform): Likewise.
28456         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
28457         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
28458         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
28459         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
28460         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
28461         (test-xfail-XOPEN2K/math.h/conform): Likewise.
28462         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
28463         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
28464         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
28465         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
28466         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
28467         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
28468         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
28469         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
28470         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
28471         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
28472         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
28473         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
28474         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
28475         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
28476         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
28477         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
28478         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
28479         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
28480         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
28481         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
28482         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
28483         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
28484         (test-xfail-POSIX2008/signal.h/conform): Likewise.
28485         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
28486         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
28487         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
28488         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
28489         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
28490         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
28491         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
28492         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
28493         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
28494         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
28495         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
28496         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
28497         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
28498         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
28499         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
28500         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
28501         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
28502         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
28503         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
28504         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
28505         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
28506         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
28507         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
28508         (conformtest-cc-flags): Likewise.
28509         ($(conformtest-header-tests): New target.
28510         * conform/check-header-lists.sh: New file.
28511         * conform/run-conformtest.sh: Remove.
28513         * conform/conformtest.pl: Allow ' and \ in values given for
28514         constants.
28515         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
28516         inclusion.
28517         [POSIX] (sys/types.h): Likewise.
28518         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
28519         inclusion.
28520         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
28521         inclusion.
28522         * conform/data/signal.h-data (SIGIO): Remove expectation.
28523         [XPG3] (SIGBUS): Do not expect.
28524         [POSIX || XPG3] (SIGPOLL): Likewise.
28525         [POSIX || XPG3] (SIGPROF): Likewise.
28526         [POSIX || XPG3] (SIGSYS): Likewise.
28527         [XPG3] (SIGTRAP): Likewise.
28528         [POSIX || XPG3] (SIGURG): Likewise.
28529         [POSIX || XPG3] (SIGVTALRM): Likewise.
28530         [POSIX || XPG3] (SIGXCPU): Likewise.
28531         [POSIX || XPG3] (SIGXFSZ): Likewise.
28532         [POSIX] (SA_SIGINFO): Expect.
28533         [XPG3] (siginfo_t): Do not expect type or contents.
28534         [POSIX] (si_pid): Do not expect element.
28535         [POSIX] (si_uid): Likewise.
28536         [POSIX] (si_addr): Likewise.
28537         [POSIX] (si_status): Likewise.
28538         [POSIX] (si_band): Likewise.
28539         [XPG4] (si_value): Likewise.
28540         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
28541         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
28542         [POSIX || XPG3] (ILL_ILLADR): Likewise.
28543         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
28544         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
28545         [POSIX || XPG3] (ILL_PRVREG): Likewise.
28546         [POSIX || XPG3] (ILL_COPROC): Likewise.
28547         [POSIX || XPG3] (ILL_BADSTK): Likewise.
28548         [POSIX || XPG3] (FPE_INTDIV): Likewise.
28549         [POSIX || XPG3] (FPE_INTOVF): Likewise.
28550         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
28551         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
28552         [POSIX || XPG3] (FPE_FLTUND): Likewise.
28553         [POSIX || XPG3] (FPE_FLTRES): Likewise.
28554         [POSIX || XPG3] (FPE_FLTINV): Likewise.
28555         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
28556         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
28557         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
28558         [POSIX || XPG3] (BUS_ADRALN): Likewise.
28559         [POSIX || XPG3] (BUS_ADRERR): Likewise.
28560         [POSIX || XPG3] (BUS_OBJERR): Likewise.
28561         [POSIX || XPG3] (CLD_EXITED): Likewise.
28562         [POSIX || XPG3] (CLD_KILLED): Likewise.
28563         [POSIX || XPG3] (CLD_DUMPED): Likewise.
28564         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
28565         [POSIX || XPG3] (CLD_STOPPED): Likewise.
28566         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
28567         [POSIX || XPG3] (POLL_IN): Likewise.
28568         [POSIX || XPG3] (POLL_OUT): Likewise.
28569         [POSIX || XPG3] (POLL_MSG): Likewise.
28570         [POSIX || XPG3] (POLL_ERR): Likewise.
28571         [POSIX || XPG3] (POLL_PRI): Likewise.
28572         [POSIX || XPG3] (POLL_HUP): Likewise.
28573         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
28574         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
28575         (SIG*): Do not allow.
28576         [XPG3] (si_*): Likewise.
28577         [XPG3] (SI_*): Likewise.
28578         [XPG3 || XPG4] (sigev_*): Likewise.
28579         [XPG3 || XPG4] (SIGEV_*): Likewise.
28580         [XPG3 || XPG4] (sival_*): Likewise.
28581         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
28582         [POSIX || XPG3] (BUS_*): Likewise.
28583         [POSIX || XPG3] (CLD_*): Likewise.
28584         [POSIX || XPG3] (FPE_*): Likewise.
28585         [POSIX || XPG3] (ILL_*): Likewise.
28586         [POSIX || XPG3] (POLL_*): Likewise.
28587         [POSIX || XPG3] (SEGV_*): Likewise.
28588         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
28589         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
28590         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
28591         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
28592         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
28593         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
28594         Specify type and value.
28595         (TVERSLEN): Likewise.
28596         (REGTYPE): Likewise.
28597         (AREGTYPE): Likewise.
28598         (LNKTYPE): Likewise.
28599         (SYMTYPE): Likewise.
28600         (CHRTYPE): Likewise.
28601         (BLKTYPE): Likewise.
28602         (DIRTYPE): Likewise.
28603         (FIFOTYPE): Likewise.
28604         (CONTTYPE): Likewise.
28605         (TSUID): Likewise.
28606         (TSGID): Likewise.
28607         (TSVTX): Likewise.
28608         (TUREAD): Likewise.
28609         (TUWRITE): Likewise.
28610         (TUEXEC): Likewise.
28611         (TGREAD): Likewise.
28612         (TGWRITE): Likewise.
28613         (TGEXEC): Likewise.
28614         (TOREAD): Likewise.
28615         (TOWRITE): Likewise.
28616         (TOEXEC): Likewise.
28617         [POSIX] (TSVTX): Expect constant.
28619 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
28621         * Makefile (tests): Change dependencies to ....
28622         (tests-special): ... additions to this variable.
28623         (tests): Depend on $(tests-special).
28624         * Makerules (check-abi-list): New variable.
28625         (check-abi): Depend on $(check-abi-list).
28626         [$(subdir) = elf] (tests-special): Add
28627         $(objpfx)check-abi-libc.out.
28628         [$(build-shared) = yes && subdir] (tests-special): Add
28629         $(check-abi-list).
28630         [$(build-shared) = yes && subdir] (tests): Do not depend on
28631         check-abi.
28632         * Rules (tests): Depend on $(tests-special).
28633         (xtests): Depend on $(xtests-special).
28634         * catgets/Makefile (tests): Change dependencies to ....
28635         (tests-special): ... additions to this variable.
28636         * conform/Makefile (tests): Change dependencies to ....
28637         (tests-special): ... additions to this variable.
28638         * elf/Makefile (tests): Change dependencies to ....
28639         (tests-special): ... additions to this variable.
28640         * grp/Makefile (tests): Change dependencies to ....
28641         (tests-special): ... additions to this variable.
28642         * iconv/Makefile (xtests): Change dependencies to ....
28643         (xtests-special): ... additions to this variable.
28644         * iconvdata/Makefile (tests): Change dependencies to ....
28645         (tests-special): ... additions to this variable.
28646         * intl/Makefile (tests): Change dependencies to ....
28647         (tests-special): ... additions to this variable.  Also add
28648         $(objpfx)tst-gettext.out.
28649         * io/Makefile (tests): Change dependencies to ....
28650         (tests-special): ... additions to this variable.
28651         * libio/Makefile (tests): Change dependencies to ....
28652         (tests-special): ... additions to this variable.
28653         * malloc/Makefile (tests): Change dependencies to ....
28654         (tests-special): ... additions to this variable.
28655         * misc/Makefile (tests): Change dependencies to ....
28656         (tests-special): ... additions to this variable.
28657         * nptl/Makefile (tests): Change dependencies to ....
28658         (tests-special): ... additions to this variable.
28659         * nptl_db/Makefile (tests): Change dependencies to ....
28660         (tests-special): ... additions to this variable.
28661         * posix/Makefile (tests): Change dependencies to ....
28662         (tests-special): ... additions to this variable.
28663         (xtests): Change dependencies to ....
28664         (xtests-special): ... additions to this variable.
28665         * resolv/Makefile (tests): Change dependencies to ....
28666         (tests-special): ... additions to this variable.
28667         (xtests): Change dependencies to ....
28668         (xtests-special): ... additions to this variable.
28669         * stdio-common/Makefile (tests): Change dependencies to ....
28670         (tests-special): ... additions to this variable.
28671         (do-tst-unbputc): Remove target.
28672         (do-tst-printf): Likewise.
28673         * stdlib/Makefile (tests): Change dependencies to ....
28674         (tests-special): ... additions to this variable.
28675         * string/Makefile (tests): Change dependencies to ....
28676         (tests-special): ... additions to this variable.
28677         * sysdeps/x86/Makefile (tests): Change dependencies to ....
28678         (tests-special): ... additions to this variable.
28680         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
28681         whole file.
28682         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
28683         whole file.
28684         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
28685         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
28687         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
28688         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
28689         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
28690         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
28691         * conform/data/libgen.h-data [XPG3]: Likewise.
28692         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
28693         * conform/data/ndbm.h-data [XPG3]: Likewise.
28694         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
28695         * conform/data/netdb.h-data [XPG3]: Likewise.
28696         * conform/data/netinet/in.h-data [XPG3]: Likewise.
28697         * conform/data/poll.h-data [XPG3]: Likewise.
28698         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
28699         * conform/data/strings.h-data [XPG3]: Likewise.
28700         * conform/data/stropts.h-data [XPG3]: Likewise.
28701         * conform/data/sys/mman.h-data [XPG3]: Likewise.
28702         * conform/data/sys/resource.h-data [XPG3]: Likewise.
28703         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
28704         Likewise.
28705         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
28706         * conform/data/sys/time.h-data [XPG3]: Likewise.
28707         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
28708         * conform/data/sys/uio.h-data [XPG3]: Likewise.
28709         * conform/data/sys/un.h-data [XPG3]: Likewise.
28710         * conform/data/syslog.h-data [XPG3]: Likewise.
28711         * conform/data/ucontext.h-data [XPG3]: Likewise.
28712         * conform/data/utmpx.h-data [XPG3]: Likewise.
28713         * conform/data/varargs.h-data [UNIX98]: Enable file.
28715         * manual/Makefile (INSTALL_INFO): Remove variable setting.
28717         * math/libm-test.inc (struct test_f_f_data): Move expected results
28718         into structure for each rounding mode.
28719         (struct test_ff_f_data): Likewise.
28720         (struct test_ff_f_data_nexttoward): Likewise.
28721         (struct test_fi_f_data): Likewise.
28722         (struct test_fl_f_data): Likewise.
28723         (struct test_if_f_data): Likewise.
28724         (struct test_fff_f_data): Likewise.
28725         (struct test_c_f_data): Likewise.
28726         (struct test_f_f1_data): Likewise.
28727         (struct test_fF_f1_data): Likewise.
28728         (struct test_ffI_f1_data): Likewise.
28729         (struct test_c_c_data): Likewise.
28730         (struct test_cc_c_data): Likewise.
28731         (struct test_f_i_data): Likewise.
28732         (struct test_ff_i_data): Likewise.
28733         (struct test_f_l_data): Likewise.
28734         (struct test_f_L_data): Likewise.
28735         (struct test_fFF_11_data): Likewise.
28736         (RM_): New macro.
28737         (RM_FE_DOWNWARD): Likewise.
28738         (RM_FE_TONEAREST): Likewise.
28739         (RM_FE_TOWARDZERO): Likewise.
28740         (RM_FE_UPWARD): Likewise.
28741         (RUN_TEST_LOOP_f_f): Update references to expected results.
28742         (RUN_TEST_LOOP_2_f): Likewise.
28743         (RUN_TEST_LOOP_fff_f): Likewise.
28744         (RUN_TEST_LOOP_c_f): Likewise.
28745         (RUN_TEST_LOOP_f_f1): Likewise.
28746         (RUN_TEST_LOOP_fF_f1): Likewise.
28747         (RUN_TEST_LOOP_fI_f1): Likewise.
28748         (RUN_TEST_LOOP_ffI_f1): Likewise.
28749         (RUN_TEST_LOOP_c_c): Likewise.
28750         (RUN_TEST_LOOP_cc_c): Likewise.
28751         (RUN_TEST_LOOP_f_i): Likewise.
28752         (RUN_TEST_LOOP_f_i_tg): Likewise.
28753         (RUN_TEST_LOOP_ff_i_tg): Likewise.
28754         (RUN_TEST_LOOP_f_b): Likewise.
28755         (RUN_TEST_LOOP_f_b_tg): Likewise.
28756         (RUN_TEST_LOOP_f_l): Likewise.
28757         (RUN_TEST_LOOP_f_L): Likewise.
28758         (RUN_TEST_LOOP_fFF_11): Likewise.
28759         * math/gen-libm-test.pl (parse_args): Output four copies of
28760         expected results for each test.
28762         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28763         (__ASSUME_UTIMES): Remove.
28764         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28765         (__ASSUME_UTIMES): Likewise.
28767         * math/gen-auto-libm-tests.c: Update comment on output format.
28768         (output_for_one_input_case): Generate before-rounding and
28769         after-rounding information as conditions on output flags not
28770         floating-point format.
28771         * math/auto-libm-test-out: Regenerated.
28772         * math/gen-libm-test.pl (cond_value): New function.
28773         (or_cond_value): Use cond_value.
28774         (generate_testfile): Handle conditional exceptions.
28776 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
28778         * math/libm-test.inc (max_valid_error): New variable.
28779         (init_max_error): Take new argument specifying whether function
28780         results are exactly determined.  Set max_valid_error and bound
28781         other variables for errors based on this argument.
28782         (set_max_error): Do not record results above max_valid_error.
28783         (check_float_internal): Only accept errors of up to 0.5ulps if
28784         also at most max_valid_error.
28785         (START): Take new argument EXACT and pass it to init_max_error.
28786         (acos_test): Update call to START.
28787         (acos_test_tonearest): Likewise.
28788         (acos_test_towardzero): Likewise.
28789         (acos_test_downward): Likewise.
28790         (acos_test_upward): Likewise.
28791         (acosh_test): Likewise.
28792         (asin_test): Likewise.
28793         (asin_test_tonearest): Likewise.
28794         (asin_test_towardzero): Likewise.
28795         (asin_test_downward): Likewise.
28796         (asin_test_upward): Likewise.
28797         (asinh_test): Likewise.
28798         (atan_test): Likewise.
28799         (atanh_test): Likewise.
28800         (atan2_test): Likewise.
28801         (cabs_test): Likewise.
28802         (cacos_test): Likewise.
28803         (cacosh_test): Likewise.
28804         (carg_test): Likewise.
28805         (casin_test): Likewise.
28806         (casinh_test): Likewise.
28807         (catan_test): Likewise.
28808         (catanh_test): Likewise.
28809         (cbrt_test): Likewise.
28810         (ccos_test): Likewise.
28811         (ccosh_test): Likewise.
28812         (ceil_test): Likewise.
28813         (cexp_test): Likewise.
28814         (cimag_test): Likewise.
28815         (clog_test): Likewise.
28816         (clog10_test): Likewise.
28817         (conj_test): Likewise.
28818         (copysign_test): Likewise.
28819         (cos_test): Likewise.
28820         (cos_test_tonearest): Likewise.
28821         (cos_test_towardzero): Likewise.
28822         (cos_test_downward): Likewise.
28823         (cos_test_upward): Likewise.
28824         (cosh_test): Likewise.
28825         (cosh_test_tonearest): Likewise.
28826         (cosh_test_towardzero): Likewise.
28827         (cosh_test_downward): Likewise.
28828         (cosh_test_upward): Likewise.
28829         (cpow_test): Likewise.
28830         (cproj_test): Likewise.
28831         (creal_test): Likewise.
28832         (csin_test): Likewise.
28833         (csinh_test): Likewise.
28834         (csqrt_test): Likewise.
28835         (ctan_test): Likewise.
28836         (ctan_test_tonearest): Likewise.
28837         (ctan_test_towardzero): Likewise.
28838         (ctan_test_downward): Likewise.
28839         (ctan_test_upward): Likewise.
28840         (ctanh_test): Likewise.
28841         (ctanh_test_tonearest): Likewise.
28842         (ctanh_test_towardzero): Likewise.
28843         (ctanh_test_downward): Likewise.
28844         (ctanh_test_upward): Likewise.
28845         (erf_test): Likewise.
28846         (erfc_test): Likewise.
28847         (exp_test): Likewise.
28848         (exp_test_tonearest): Likewise.
28849         (exp_test_towardzero): Likewise.
28850         (exp_test_downward): Likewise.
28851         (exp_test_upward): Likewise.
28852         (exp10_test): Likewise.
28853         (exp10_test_tonearest): Likewise.
28854         (exp10_test_towardzero): Likewise.
28855         (exp10_test_downward): Likewise.
28856         (exp10_test_upward): Likewise.
28857         (pow10_test): Likewise.
28858         (exp2_test): Likewise.
28859         (expm1_test): Likewise.
28860         (expm1_test_tonearest): Likewise.
28861         (expm1_test_towardzero): Likewise.
28862         (expm1_test_downward): Likewise.
28863         (expm1_test_upward): Likewise.
28864         (fabs_test): Likewise.
28865         (fdim_test): Likewise.
28866         (floor_test): Likewise.
28867         (fma_test): Likewise.
28868         (fma_test_towardzero): Likewise.
28869         (fma_test_downward): Likewise.
28870         (fma_test_upward): Likewise.
28871         (fmax_test): Likewise.
28872         (fmin_test): Likewise.
28873         (fmod_test): Likewise.
28874         (fpclassify_test): Likewise.
28875         (frexp_test): Likewise.
28876         (hypot_test): Likewise.
28877         (ilogb_test): Likewise.
28878         (isfinite_test): Likewise.
28879         (finite_test): Likewise.
28880         (isgreater_test): Likewise.
28881         (isgreaterequal_test): Likewise.
28882         (isinf_test): Likewise.
28883         (isless_test): Likewise.
28884         (islessequal_test): Likewise.
28885         (islessgreater_test): Likewise.
28886         (isnan_test): Likewise.
28887         (isnormal_test): Likewise.
28888         (issignaling_test): Likewise.
28889         (isunordered_test): Likewise.
28890         (j0_test): Likewise.
28891         (j1_test): Likewise.
28892         (jn_test): Likewise.
28893         (ldexp_test): Likewise.
28894         (lgamma_test): Likewise.
28895         (gamma_test): Likewise.
28896         (lrint_test): Likewise.
28897         (lrint_test_tonearest): Likewise.
28898         (lrint_test_towardzero): Likewise.
28899         (lrint_test_downward): Likewise.
28900         (lrint_test_upward): Likewise.
28901         (llrint_test): Likewise.
28902         (llrint_test_tonearest): Likewise.
28903         (llrint_test_towardzero): Likewise.
28904         (llrint_test_downward): Likewise.
28905         (llrint_test_upward): Likewise.
28906         (log_test): Likewise.
28907         (log10_test): Likewise.
28908         (log1p_test): Likewise.
28909         (log2_test): Likewise.
28910         (logb_test): Likewise.
28911         (logb_test_downward): Likewise.
28912         (lround_test): Likewise.
28913         (llround_test): Likewise.
28914         (modf_test): Likewise.
28915         (nearbyint_test): Likewise.
28916         (nextafter_test): Likewise.
28917         (nexttoward_test): Likewise.
28918         (pow_test): Likewise.
28919         (pow_test_tonearest): Likewise.
28920         (pow_test_towardzero): Likewise.
28921         (pow_test_downward): Likewise.
28922         (pow_test_upward): Likewise.
28923         (remainder_test): Likewise.
28924         (drem_test): Likewise.
28925         (remainder_test_tonearest): Likewise.
28926         (drem_test_tonearest): Likewise.
28927         (remainder_test_towardzero): Likewise.
28928         (drem_test_towardzero): Likewise.
28929         (remainder_test_downward): Likewise.
28930         (drem_test_downward): Likewise.
28931         (remainder_test_upward): Likewise.
28932         (drem_test_upward): Likewise.
28933         (remquo_test): Likewise.
28934         (rint_test): Likewise.
28935         (rint_test_tonearest): Likewise.
28936         (rint_test_towardzero): Likewise.
28937         (rint_test_downward): Likewise.
28938         (rint_test_upward): Likewise.
28939         (round_test): Likewise.
28940         (scalb_test): Likewise.
28941         (scalbn_test): Likewise.
28942         (scalbln_test): Likewise.
28943         (signbit_test): Likewise.
28944         (sin_test): Likewise.
28945         (sin_test_tonearest): Likewise.
28946         (sin_test_towardzero): Likewise.
28947         (sin_test_downward): Likewise.
28948         (sin_test_upward): Likewise.
28949         (sincos_test): Likewise.
28950         (sinh_test): Likewise.
28951         (sinh_test_tonearest): Likewise.
28952         (sinh_test_towardzero): Likewise.
28953         (sinh_test_downward): Likewise.
28954         (sinh_test_upward): Likewise.
28955         (sqrt_test): Likewise.
28956         (sqrt_test_tonearest): Likewise.
28957         (sqrt_test_towardzero): Likewise.
28958         (sqrt_test_downward): Likewise.
28959         (sqrt_test_upward): Likewise.
28960         (tan_test): Likewise.
28961         (tan_test_tonearest): Likewise.
28962         (tan_test_towardzero): Likewise.
28963         (tan_test_downward): Likewise.
28964         (tan_test_upward): Likewise.
28965         (tanh_test): Likewise.
28966         (tgamma_test): Likewise.
28967         (trunc_test): Likewise.
28968         (y0_test): Likewise.
28969         (y1_test): Likewise.
28970         (yn_test): Likewise.
28971         (significand_test): Likewise.
28973         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
28974         individual tests in comment.
28975         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
28976         (prev_max_error): New variable.
28977         (prev_real_max_error): Likewise.
28978         (prev_imag_max_error): Likewise.
28979         (compare_ulp_data): Don't refer to test names in comment.
28980         (find_test_ulps): Remove function.
28981         (find_function_ulps): Likewise.
28982         (find_complex_function_ulps): Likewise.
28983         (init_max_error): Take function name as argument.  Look up ulps
28984         for that function.
28985         (print_ulps): Remove function.
28986         (print_max_error): Use prev_max_error instead of calling
28987         find_function_ulps.
28988         (print_complex_max_error): Use prev_real_max_error and
28989         prev_imag_max_error instead of calling find_complex_function_ulps.
28990         (check_float_internal): Take max_ulp parameter instead of calling
28991         find_test_ulps.  Don't call print_ulps.
28992         (check_float): Update call to check_float_internal.
28993         (check_complex): Update calls to check_float_internal.
28994         (START): Pass argument to init_max_error.
28995         * math/gen-libm-test.pl (%results): Don't include "kind"
28996         information.
28997         (parse_ulps): Don't handle ulps of individual tests.
28998         (print_ulps_file): Likewise.
28999         (output_ulps): Likewise.
29000         * math/README.libm-test: Update.
29001         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
29002         individual tests.
29003         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
29004         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
29005         * sysdeps/arm/libm-test-ulps: Likewise.
29006         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
29007         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
29008         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
29009         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
29010         * sysdeps/microblaze/libm-test-ulps: Likewise.
29011         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29012         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29013         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29014         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
29015         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29016         * sysdeps/sh/libm-test-ulps: Likewise.
29017         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29018         * sysdeps/tile/libm-test-ulps: Likewise.
29019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29021 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
29023         * math/libm-test.inc (print_complex_max_error): Check separately
29024         whether real and imaginary errors are within allowed range and
29025         pass 0 to print_complex_function_ulps instead of value within
29026         allowed range.
29028 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29030         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
29031         formatting.
29032         (get_handles_fopen): Likewise.
29033         (do_write_test): Likewise.
29035         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
29037         * libio/fileops.c (do_ftell): Use cached offset when
29038         available.
29039         * libio/iofwide.c (do_ftell_wide): Likewise.
29040         * libio/iofdopen.c (_IO_new_fdopen): Don't use
29041         _IO_file_attach.
29042         * libio/wfileops.c (_IO_fwide): Don't cache offset.
29044         [BZ #16532]
29045         * libio/libioP.h (get_file_offset): New function.
29046         * libio/fileops.c (get_file_offset): Likewise.
29047         (do_ftell): Likewise.
29048         (_IO_new_file_seekoff): Split out ftell logic.
29049         * libio/wfileops.c (do_ftell_wide): Likewise.
29050         (_IO_wfile_seekoff): Split out ftell logic.
29051         * libio/tst-ftell-active-handler.c: New test case.
29052         * libio/Makefile (tests): Add it.
29054 2014-03-03  Roland McGrath  <roland@hack.frob.com>
29056         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
29057         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
29059 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
29061         [BZ #16639]
29062         * nscd/connections.c (nscd_init): Call do_exit.
29063         (start_threads): Call do_exit and notify_parent.
29064         (begin_drop_privileges): Call do_exit.
29065         (finish_drop_privileges): Likewise.
29066         * nscd/selinux.c (preserve_capabilities): Likewise.
29067         (install_real_capabilities): Likewise.
29068         (nscd_selinux_enabled): Likewise.
29069         (avc_create_thread): Likewise.
29070         (avc_alloc_lock): Likewise.
29071         (nscd_avc_init): Likewise.
29072         * nscd/nscd.c (parent_fd): New static variable.
29073         (main): Create a pipe between parent and child processes.
29074         Skip closing parent_fd.
29075         (monitor_child): New function.
29076         (do_exit): Likewise.
29077         (notify_parent): Likewise.
29078         * nscd/nscd.h (notify_parent): Likewise.
29079         (do_exit): Likewise.
29081 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
29083         * malloc/malloc.c (__libc_calloc): Revert last change.
29085 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29087         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29089 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29091         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
29092         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
29093         implementation.
29094         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29095         (__libc_ifunc_impl_list): Likewise.
29096         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
29097         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
29098         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
29099         * string/strrchr.c: Define STRRCHR.
29101 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
29103         * benchtest/bench-strtok.c (simple_strtok): Delete.
29104         (strtok_string): Use as benchmark.
29105         * string/strtok (STRTOK): New macro.
29107 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
29109         * manual/threads.texi: Add header and standard comments to all
29110         functions.
29112         * elf/dl-lookup.c (check_match): New function.
29113         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
29114         (do_lookup_x): Remove nested function check_match. Use non-nested
29115         function check_match.
29117 2014-02-28  Roland McGrath  <roland@hack.frob.com>
29119         * csu/Makefile (generated, before-compile): Use += rather than =.
29120         * catgets/Makefile (generated, generated-dirs): Likewise.
29121         * debug/Makefile (generated): Likewise.
29122         * dlfcn/Makefile (generated): Likewise.
29123         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
29124         * iconvdata/Makefile (before-compile, generated): Likewise.
29125         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
29126         * libio/Makefile (generated): Likewise.
29127         * malloc/Makefile (generated): Likewise.
29128         * manual/Makefile (generated, generated-dirs): Likewise.
29129         * misc/Makefile (generated): Likewise.
29130         * posix/Makefile (generated): Likewise.
29131         * resolv/Makefile (generated): Likewise.
29132         * sunrpc/Makefile (generated, generated-dirs): Likewise.
29133         * timezone/Makefile (generated, generated-dirs): Likewise.
29135         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
29137 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29139         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
29140         power8 implementation.
29141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
29142         file: POWER8 llround ifunc implementation.
29143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
29144         (__lllround): Add POWER8 implementation.
29145         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
29146         POWER8 llround implementation.
29148         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
29149         power8 implementation.
29150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
29151         file: POWER8 llrint ifunc implementation.
29152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
29153         Add POWER8 implementation.
29154         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
29155         POWER8 llrint implementation.
29157         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
29158         power8 implementation.
29159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
29160         file: POWER8 finite ifunc implementation.
29161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
29162         Add POWER8 implementation.
29163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
29164         Likewise.
29165         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
29166         POWER8 finite implementation.
29167         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
29169         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
29170         power8 implementation.
29171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
29172         file: POWER8 isinf ifunc implementation.
29173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
29174         POWER8 implementation.
29175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
29176         Likewise.
29177         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
29178         isinf implementation.
29179         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
29181         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
29182         (INIT_ARCH): Add hwcap2 initialization.
29183         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
29184         power8 implementation.
29185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
29186         file: POWER8 isnan ifunc implementation.
29187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
29188         POWER8 implementation.
29189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
29190         Likewise.
29191         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
29192         isnan implementation.
29193         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
29195 2014-02-27  Joey Ye  <joey.ye@arm.com>
29197         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
29198         (_FP_NANFRAC_Q): Set to zero.
29200 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29202         [BZ #16623]
29203         * math/auto-libm-test-in: New test inputs.
29204         * math/auto-libm-test-out: Regenerate.
29205         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
29206         and DA.
29207         (__cos): Likewise.
29208         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
29210 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
29212         * scripts/evaluate-test.sh: Take new argument indicating whether
29213         failure is expected.
29214         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
29215         indicating whether failure is expected.
29216         * conform/Makefile (test-xfail-run-conformtest): New variable.
29217         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
29218         level.
29219         * posix/Makefile (test-xfail-annexc): New variable.
29220         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
29222 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
29224         * argp/Makefile: Include Makeconfig immediately after defining
29225         subdir.
29226         * assert/Makefile: Likewise.
29227         * benchtests/Makefile: Likewise.
29228         * catgets/Makefile: Likewise.
29229         * conform/Makefile: Likewise.
29230         * crypt/Makefile: Likewise.
29231         * csu/Makefile: Likewise.
29232         (all): Remove target.
29233         * ctype/Makefile: Include Makeconfig immediately after defining
29234         subdir.
29235         * debug/Makefile: Likewise.
29236         * dirent/Makefile: Likewise.
29237         * dlfcn/Makefile: Likewise.
29238         * gmon/Makefile: Likewise.
29239         * gnulib/Makefile: Likewise.
29240         * grp/Makefile: Likewise.
29241         * gshadow/Makefile: Likewise.
29242         * hesiod/Makefile: Likewise.
29243         * hurd/Makefile: Likewise.
29244         (all): Remove target.
29245         * iconvdata/Makefile: Include Makeconfig immediately after
29246         defining subdir.
29247         * inet/Makefile: Likewise.
29248         * intl/Makefile: Likewise.
29249         * io/Makefile: Likewise.
29250         * libio/Makefile: Likewise.
29251         (all): Remove target.
29252         * locale/Makefile: Include Makeconfig immediately after defining
29253         subdir.
29254         * login/Makefile: Likewise.
29255         * mach/Makefile: Likewise.
29256         (all): Remove target.
29257         * malloc/Makefile: Include Makeconfig immediately after defining
29258         subdir.
29259         (all): Remove target.
29260         * manual/Makefile: Include Makeconfig immediately after defining
29261         subdir.
29262         * math/Makefile: Likewise.
29263         * misc/Makefile: Likewise.
29264         * nis/Makefile: Likewise.
29265         * nss/Makefile: Likewise.
29266         * po/Makefile: Likewise.
29267         (all): Remove target.
29268         * posix/Makefile: Include Makeconfig immediately after defining
29269         subdir.
29270         * pwd/Makefile: Likewise.
29271         * resolv/Makefile: Likewise.
29272         * resource/Makefile: Likewise.
29273         * rt/Makefile: Likewise.
29274         * setjmp/Makefile: Likewise.
29275         * shadow/Makefile: Likewise.
29276         * signal/Makefile: Likewise.
29277         * socket/Makefile: Likewise.
29278         * soft-fp/Makefile: Likewise.
29279         * stdio-common/Makefile: Likewise.
29280         * stdlib/Makefile: Likewise.
29281         * streams/Makefile: Likewise.
29282         * string/Makefile: Likewise.
29283         * sunrpc/Makefile: Likewise.
29284         (all): Remove target.
29285         * sysvipc/Makefile: Include Makeconfig immediately after defining
29286         subdir.
29287         * termios/Makefile: Likewise.
29288         * time/Makefile: Likewise.
29289         * timezone/Makefile: Likewise.
29290         (all): Remove target.
29291         * wcsmbs/Makefile: Include Makeconfig immediately after defining
29292         subdir.
29293         * wctype/Makefile: Likewise.
29295 2014-02-26  Steve Ellcey  <sellcey@mips.com>
29297         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
29298         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
29299         (libc_feholdexcept_setround_mips): Ditto.
29300         (libc_feholdsetround): New.
29301         (libc_feholdsetroundf): New.
29302         (libc_feholdsetroundl): New.
29303         (libc_feupdateenv_test_mips): New.
29304         (libc_feupdateenv_test): New.
29305         (libc_feupdateenv_testf): New.
29306         (libc_feupdateenv_testl): New.
29307         (libc_feresetround): New.
29308         (libc_feresetroundf): New.
29309         (libc_feresetroundl): New.
29310         (libc_fetestexcept_mips): New.
29311         (libc_fetestexcept): New.
29312         (libc_fetestexceptf): New.
29313         (libc_fetestexceptl): New.
29314         (HAVE_RM_CTX): New.
29315         (libc_feholdexcept_setround_mips_ctx): New.
29316         (libc_feholdexcept_setround_ctx): New.
29317         (libc_feholdexcept_setroundf_ctx): New.
29318         (libc_feholdexcept_setroundl_ctx): New.
29319         (libc_fesetenv_mips_ctx): New.
29320         (libc_fesetenv_ctx): New.
29321         (libc_fesetenv_ctxf): New.
29322         (libc_fesetenv_ctxl): New.
29323         (libc_feupdateenv_mips_ctx): New.
29324         (libc_feupdateenv_ctx): New.
29325         (libc_feupdateenvf_ctx): New.
29326         (libc_feupdateenvl_ctx): New.
29327         (libc_feholdsetround_mips_ctx): New.
29328         (libc_feholdsetround_ctx): New.
29329         (libc_feholdsetroundf_ctx): New.
29330         (libc_feholdsetroundl_ctx): New.
29331         (libc_feresetround_mips_ctx): New.
29332         (libc_feresetround_ctx): New.
29333         (libc_feresetroundf_ctx): New.
29334         (libc_feresetroundl_ctx): New.
29336 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
29338         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
29340         * manual/ipc.texi: New file.
29341         * manual/Makefile (chapters): Add ipc.
29342         * manual/job.texi: Add "Inter-Process Communication" to next.
29343         * manual/process.texi: Add "Inter-Process Communication" to prev.
29345 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29347         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29349 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
29351         * malloc/malloc.c (__libc_calloc): Simplify implementation.
29353         * manual/arith.texi: Fix spaces after sentences.
29354         * manual/charset.texi: Likewise.
29355         * manual/errno.texi: Likewise.
29356         * manual/install.texi: Likewise.
29357         * manual/llio.texi: Likewise.
29358         * manual/locale.texi: Likewise.
29359         * manual/maint.texi: Likewise.
29360         * manual/math.texi: Likewise.
29361         * manual/memory.texi: Likewise.
29362         * manual/message.texi: Likewise.
29363         * manual/probes.texi: Likewise.
29364         * manual/resource.texi: Likewise.
29365         * manual/signal.texi: Likewise.
29366         * manual/socket.texi: Likewise.
29367         * manual/stdio.texi: Likewise.
29368         * manual/string.texi: Likewise.
29369         * manual/time.texi: Likewise.
29370         * manual/users.texi: Likewise.
29372 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
29374         [BZ #16632]
29375         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
29376         _DEFAULT_SOURCE is defined.
29378 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
29379             Carlos O'Donell  <carlos@redhat.com>
29381         [BZ #16613]
29382         * elf/dl-tls.c (_dl_count_modids): New function.
29383         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
29384         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
29385         audit library and increment generation counter.
29386         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
29387         * elf/tst-audit9.c: New file.
29388         * elf/tst-auditmod9a.c: New file.
29389         * elf/tst-auditmod9b.c: New file.
29390         * elf/Makefile: Add rules to build and run tst-audit9.
29392 2014-02-25  Florian Weimer  <fweimer@redhat.com>
29394         [BZ #15347]
29395         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
29397 2014-02-25  Will Newton  <will.newton@linaro.org>
29399         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
29400         (__longjmp): Restore sp and lr before restoring callee
29401         saved registers.  Add longjmp and longjmp_target
29402         SystemTap probe point.
29403         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
29404         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
29405         Define to zero to match jmpbuf layout.
29406         * sysdeps/arm/setjmp.S: Include stap-probe.h.
29407         (__sigsetjmp): Save sp and lr before saving callee
29408         saved registers.  Add setjmp SystemTap probe point.
29410 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
29412         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29414 2014-02-24  Andreas Schwab  <schwab@suse.de>
29416         [BZ #15804]
29417         * elf/pldd.c (wait_for_ptrace_stop): New function.
29418         (main): Call it after attaching.
29420 2014-02-22  Roland McGrath  <roland@hack.frob.com>
29422         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
29423         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
29424         Versions files is now verboten.
29425         * hurd/Versions (libc: GLIBC_2.0):
29426         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
29427         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
29428         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
29429         * mach/Versions: Likewise.
29431         * csu/Versions: Remove unused %include.
29432         * resolv/Versions: Likewise.
29434 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
29436         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
29437         ($(objpfx)check-local-headers.out): Likewise.
29438         ($(objpfx)begin-end-check.out): Likewise.
29439         * Makerules (check-abi-%.out): Likewise.
29440         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
29441         ($(objpfx)test2.cat): Likewise.
29442         ($(objpfx)de/libc.cat): Likewise.
29443         ($(objpfx)test-gencat.out): Likewise.
29444         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
29445         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
29446         ($(objpfx)noload-mem): Likewise.
29447         ($(objpfx)tst-pathopt.out): Likewise.
29448         ($(objpfx)tst-rtld-load-self.out): Likewise.
29449         ($(objpfx)tst-array1-cmp.out): Likewise.
29450         ($(objpfx)tst-array1-static-cmp.out): Likewise.
29451         ($(objpfx)tst-array2-cmp.out): Likewise.
29452         ($(objpfx)tst-array3-cmp.out): Likewise.
29453         ($(objpfx)tst-array4-cmp.out): Likewise.
29454         ($(objpfx)tst-array5-cmp.out): Likewise.
29455         ($(objpfx)tst-array5-static-cmp.out): Likewise.
29456         ($(objpfx)check-textrel.out): Likewise.
29457         ($(objpfx)check-execstack.out): Likewise.
29458         ($(objpfx)check-localplt.out): Likewise.
29459         ($(objpfx)order2-cmp.out): Likewise.
29460         ($(objpfx)tst-leaks1-mem): Likewise.
29461         ($(objpfx)tst-leaks1-static-mem): Likewise.
29462         ($(objpfx)tst-initorder-cmp.out): Likewise.
29463         ($(objpfx)tst-initorder2-cmp.out): Likewise.
29464         ($(objpfx)tst-unused-dep.out): Likewise.
29465         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
29466         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
29467         * iconv/Makefile (test-iconvconfig): Likewise.
29468         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
29469         ($(objpfx)iconv-test.out): Likewise.
29470         ($(objpfx)tst-tables.out): Likewise.
29471         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
29472         ($(objpfx)tst-gettext.out): Likewise.
29473         ($(objpfx)tst-translit.out): Likewise.
29474         ($(objpfx)tst-gettext2.out): Likewise.
29475         ($(objpfx)tst-gettext4.out): Likewise.
29476         ($(objpfx)tst-gettext6.out): Likewise.
29477         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
29478         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
29479         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
29480         ($(objpfx)tst-fopenloc-mem.out): Likewise.
29481         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
29482         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
29483         * posix/Makefile ($(objpfx)globtest.out): Likewise.
29484         ($(objpfx)wordexp-tst.out): Likewise.
29485         ($(objpfx)annexc.out): Likewise.
29486         ($(objpfx)tst-fnmatch-mem): Likewise.
29487         ($(objpfx)bug-regex2-mem): Likewise.
29488         ($(objpfx)bug-regex14-mem): Likewise.
29489         ($(objpfx)bug-regex21-mem): Likewise.
29490         ($(objpfx)bug-regex31-mem): Likewise.
29491         ($(objpfx)tst-vfork3-mem): Likewise.
29492         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
29493         ($(objpfx)tst-pcre-mem): Likewise.
29494         ($(objpfx)tst-boost-mem): Likewise.
29495         ($(objpfx)tst-getconf.out): Likewise.
29496         ($(objpfx)bug-ga2-mem): Likewise.
29497         ($(objpfx)bug-glob2-mem): Likewise.
29498         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
29499         ($(objpfx)mtrace-tst-leaks2): Likewise.
29500         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
29501         ($(objpfx)tst-printf.out): Likewise.
29502         ($(objpfx)tst-setvbuf1.out): Likewise.
29503         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
29504         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
29505         ($(objpfx)tst-fmtmsg.out): Likewise.
29506         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
29507         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
29509         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
29510         * bits/sigaction.h [__USE_MISC]: Likewise.
29511         * bits/waitstatus.h: Update #endif comments.
29512         * ctype/ctype.h: Likewise.
29513         * dirent/dirent.h: Likewise.
29514         [__USE_MISC]: Remove redundant conditionals.
29515         * grp/grp.h: Update #endif comments.
29516         [__USE_GNU]: Remove redundant conditionals.
29517         [__USE_MISC]: Likewise.
29518         * inet/netinet/in.h [__USE_GNU]: Likewise.
29519         * io/sys/stat.h [__USE_MISC]: Likewise.
29520         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
29521         * libio/bits/stdio.h: Update #endif comments.
29522         [__USE_MISC]: Remove redundant conditionals.
29523         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
29524         * libio/stdio.h: Update #endif comments.
29525         [__USE_MISC]: Remove redundant conditionals.
29526         * math/bits/math-finite.h [__USE_MISC]: Likewise.
29527         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
29528         * math/math.h: Update #else and #endif comments.
29529         [__USE_MISC]: Remove redundant conditionals.
29530         * misc/sys/uio.h: Update #endif comments.
29531         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
29532         * posix/glob.h [__USE_MISC]: Likewise.
29533         * posix/sys/types.h: Update #endif comments.
29534         [__USE_MISC]: Remove redundant conditionals.
29535         * posix/sys/wait.h: Update #endif comments.
29536         [__USE_MISC]: Remove redundant conditionals.
29537         * posix/unistd.h: Update #endif comments.
29538         [__USE_MISC]: Remove redundant conditionals.
29539         * pwd/pwd.h [__USE_GNU]: Likewise.
29540         [__USE_MISC]: Likewise.
29541         * resolv/netdb.h [__USE_GNU]: Likewise.
29542         * signal/signal.h: Update #endif comments.
29543         [__USE_MISC]: Remove redundant conditionals.
29544         * stdlib/stdlib.h: Update #else and #endif comments.
29545         [__USE_MISC]: Remove redundant conditionals.
29546         [__USE_GNU]: Likewise.
29547         * string/bits/string2.h [__USE_MISC]: Likewise.
29548         * string/string.h: Update #endif comments.
29549         [__USE_MISC]: Remove redundant conditionals.
29550         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
29551         Likewise.
29552         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
29553         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
29554         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
29555         Likewise.
29556         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
29557         Likewise.
29558         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
29559         comments.
29560         [__USE_MISC]: Remove redundant conditionals.
29561         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
29562         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
29563         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
29564         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
29565         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
29566         Likewise.
29567         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
29568         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
29569         Likewise.
29570         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
29571         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
29572         Likewise.
29573         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
29574         Likewise.
29575         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
29576         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
29577         Likewise.
29578         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
29579         Likewise.
29580         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
29581         * sysdeps/x86/bits/string.h: Update #endif comments.
29582         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
29583         conditionals.
29584         * time/sys/time.h: Update #endif comments.
29585         * time/time.h: Likewise.
29586         [__USE_MISC]: Remove redundant conditionals.
29588 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
29590         [BZ #16600]
29591         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
29593 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
29595         * Versions.def (librt): Add GLIBC_2.17.
29597 2014-02-21  Adam Conrad  <adconrad@0c3.net>
29599         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
29600         synonym for _SYS_AUXV_H to allow direct inclusion.
29601         * sysdeps/sparc/bits/hwcap.h: Likewise.
29602         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
29603         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
29604         * sysdeps/sparc/sysdep.h: Likewise.
29606 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29608         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
29610 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29612         * benchtests/bench-strrchr.c: Print length instead of position.
29614 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
29616         [BZ #16611]
29617         * sysdeps/unix/sysv/linux/kernel-features.h
29618         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
29619         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
29620         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
29621         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
29622         Likewise.
29623         [__i386__ || __powerpc__ || __sh__ || __sparc__]
29624         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29625         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
29626         (__ASSUME_SENDMMSG): Define instead of using previous
29627         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
29628         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29629         (__ASSUME_SENDMMSG_SYSCALL): Define.
29630         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29631         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
29632         Likewise.
29633         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29634         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
29635         Likewise.
29636         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29637         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
29638         Likewise.
29639         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
29640         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
29641         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
29642         [__ASSUME_SENDMMSG]: Change conditionals to
29643         [__ASSUME_SENDMMSG_SOCKETCALL].
29644         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29645         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
29646         Define.
29647         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29648         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
29649         Likewise.
29650         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
29651         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
29652         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
29653         [!__ASSUME_SENDMMSG]: Change conditional to
29654         [!__ASSUME_SENDMMSG_SOCKETCALL].
29655         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29656         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
29657         Define.
29659         [BZ #16610]
29660         * sysdeps/unix/sysv/linux/kernel-features.h
29661         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
29662         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
29663         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
29664         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
29665         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29666         [__i386__ || __sparc__]
29667         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29668         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
29669         (__ASSUME_RECVMMSG): Define instead of using previous
29670         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
29671         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29672         (__ASSUME_RECVMMSG_SYSCALL): Define.
29673         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29674         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
29675         Likewise.
29676         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29677         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
29678         Likewise.
29679         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29680         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
29681         Likewise.
29682         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
29683         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
29684         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
29685         [__ASSUME_RECVMMSG]: Change condition to
29686         [__ASSUME_RECVMMSG_SOCKETCALL].
29687         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29688         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
29689         Define.
29690         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29691         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29692         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
29693         Likewise.
29694         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
29695         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
29696         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
29697         [!__ASSUME_RECVMMSG]: Change condition to
29698         [!__ASSUME_RECVMMSG_SOCKETCALL].
29699         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29700         (__ASSUME_RECVMMSG_SYSCALL): Define.
29702         [BZ #16609]
29703         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
29704         __powerpc__ || __s390__ || __sh__ || __sparc__]
29705         (__ASSUME_SOCKETCALL): Define.
29706         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
29707         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
29708         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
29709         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
29710         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29711         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
29712         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
29713         (__ASSUME_ACCEPT4): Define instead of using previous
29714         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
29715         __powerpc__ || __sparc__ || __s390__)] condition.
29716         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29717         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
29718         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
29719         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
29720         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
29721         [!__ASSUME_ACCEPT4]: Change condition to
29722         [!__ASSUME_ACCEPT4_SOCKETCALL].
29723         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29724         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
29725         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
29726         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29727         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
29728         __ASSUME_ACCEPT4_SYSCALL.
29729         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
29730         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
29731         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29732         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
29733         __ASSUME_ACCEPT4_SYSCALL.
29734         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
29735         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
29736         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
29737         [__ASSUME_ACCEPT4]: Change condition to
29738         [__ASSUME_ACCEPT4_SOCKETCALL].
29739         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29740         (__ASSUME_SOCKETCALL): Define.
29741         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
29742         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29743         (__ASSUME_SOCKETCALL): Define.
29744         (__ASSUME_ACCEPT4): Remove.
29745         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
29746         Define.
29747         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29748         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
29749         Likewise.
29750         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29751         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
29753         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
29754         macro.
29755         (HWCAP_ARM_LPAE): Likewise.
29756         (HWCAP_ARM_EVTSTRM): Likewise.
29757         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
29758         Add vpfd32, lpae and evtstrm.
29759         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
29760         Increase to 22.
29762 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
29764         * math/auto-libm-test-in: Add tests of clog10.
29765         * math/auto-libm-test-out: Regenerated.
29766         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
29767         * sysdeps/i386/fpu/libm-test-ulps: Update.
29768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29770 2014-02-18  Andreas Schwab  <schwab@suse.de>
29772         [BZ #16574]
29773         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
29774         Store non-zero if the second buffer was newly allocated.
29775         (send_dg): Likewise.
29776         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
29777         to send_vc and send_dg.
29778         (res_nsend): Pass NULL for ansp2_malloced.
29779         * resolv/res_query.c (__libc_res_nquery): Add parameter
29780         answerp2_malloced and pass it down to __libc_res_nsend.
29781         (res_nquery): Pass additional NULL to __libc_res_nquery.
29782         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
29783         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
29784         second answer buffer if answerp2_malloced was set.
29785         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
29786         (__libc_res_nquerydomain): Add parameter
29787         answerp2_malloced and pass it down to __libc_res_nquery.
29788         (res_nquerydomain): Pass additional NULL to
29789         __libc_res_nquerydomain.
29790         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
29791         additional NULL to __libc_res_nsend and __libc_res_nquery.
29792         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
29793         additional NULL to __libc_res_nsearch.
29794         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
29795         parameter of __libc_res_nsearch to check for separately allocated
29796         second buffer.
29797         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
29798         __libc_res_nquery.
29799         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
29800         additional NULL to __libc_res_nquery.
29801         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
29802         __libc_res_nsearch.
29803         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
29804         * include/resolv.h: Update prototypes of __libc_res_nquery,
29805         __libc_res_nsearch, __libc_res_nsend.
29807 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
29809         * math/auto-libm-test-in: Add tests of fma.
29810         * math/auto-libm-test-out: Regenerated.
29811         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
29812         (fma_towardzero_test_data): Likewise.
29813         (fma_downward_test_data): Likewise.
29814         (fma_upward_test_data): Likewise.
29815         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
29816         mpc_mode.
29817         (rounding_modes): Add values for new field.
29818         (func_calc_method): Add value mpfr_fff_f.
29819         (func_calc_desc): Add mpfr_fff_f union field.
29820         (test_function): Add field exact_args.
29821         (FUNC): Add macro argument EXACT_ARGS.
29822         (FUNC_mpfr_f_f): Update call to FUNC.
29823         (FUNC_mpfr_f_f): Likewise.
29824         (FUNC_mpfr_ff_f): Likewise.
29825         (FUNC_mpfr_if_f): Likewise.
29826         (FUNC_mpc_c_f): Likewise.
29827         (FUNC_mpc_c_c): Likewise.
29828         (test_functions): Add fma.  Update calls to FUNC.
29829         (handle_input_arg): Add argument exact_args.
29830         (add_test): Update call to handle_input_arg.
29831         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
29832         (output_for_one_input_case): Update call to calc_generic_results.
29833         Recalculate exact zero results in each rounding mode.
29835         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
29836         non-negative before setting low bit.
29837         * math/auto-libm-test-in: Mark one asin test possibly having
29838         spurious underflow.
29839         * math/auto-libm-test-out: Regenerated.
29840         * sysdeps/i386/fpu/libm-test-ulps: Update.
29841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29843 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
29845         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
29846         * sysdeps/unix/sysv/linux/microblaze: Move directory from
29847         ports/sysdeps/unix/sysv/linux/microblaze.
29848         * README: Add missing listing for microblaze*-*-linux-gnu.
29850 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
29852         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
29853         duplicate code
29855 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
29857         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
29858         * sysdeps/unix/sysv/linux/ia64: Move directory from
29859         ports/sysdeps/unix/sysv/linux/ia64.
29860         * README: Update listing for ia64-*-linux-gnu.
29862 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
29863             Joseph Myers  <joseph@codesourcery.com>
29865         * Makeconfig (test-name): New variable.
29866         (evaluate-test): Likewise.
29867         * Makerules (do-test-clean): Remove .test-result files.
29868         (common-mostlyclean): Likewise.
29869         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
29870         * scripts/evaluate-test.sh: New file.
29872 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
29874         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
29875         separate $(objpfx)tst-fopenloc-cmp.out and
29876         $(objpfx)tst-fopenloc-mem.out targets.
29877         (tests): Update dependencies.
29878         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
29879         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
29880         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
29881         (tst-rxspencer-no-utf8-ARGS): New variable.
29882         (tst-rxspencer-no-utf8-ENV): Likewise.
29883         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
29884         instead of $(objpfx)tst-rxspencer-mem.
29885         ($(objpfx)tst-rxspencer-mem): Change target to
29886         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
29887         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
29888         * posix/tst-rxspencer-no-utf8.c: New file.
29890         * elf/Makefile ($(objpfx)order.out): Remove rule.
29891         [$(run-built-tests) = yes] (tests): Depend on
29892         $(objpfx)order-cmp.out.
29893         ($(objpfx)order-cmp.out): New rule.
29894         [$(run-built-tests) = yes] (tests): Depend on
29895         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
29896         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
29897         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
29898         $(objpfx)tst-array5-static-cmp.out.
29899         ($(objpfx)tst-array1.out): Remove rule.
29900         ($(objpfx)tst-array1-cmp.out): New rule.
29901         ($(objpfx)tst-array1-static.out): Remove rule.
29902         ($(objpfx)tst-array1-static-cmp.out): New rule.
29903         ($(objpfx)tst-array2.out): Remove rule.
29904         ($(objpfx)tst-array2-cmp.out): New rule.
29905         ($(objpfx)tst-array3.out): Remove rule.
29906         ($(objpfx)tst-array3-cmp.out): New rule.
29907         ($(objpfx)tst-array4.out): Remove rule.
29908         ($(objpfx)tst-array4-cmp.out): New rule.
29909         ($(objpfx)tst-array5.out): Remove rule.
29910         ($(objpfx)tst-array5-cmp.out): New rule.
29911         ($(objpfx)tst-array5-static.out): Remove rule.
29912         ($(objpfx)tst-array5-static-cmp.out): New rule.
29913         [$(run-built-tests) = yes] (tests): Depend on
29914         $(objpfx)order2-cmp.out.
29915         ($(objpfx)order2.out): Remove rule.
29916         ($(objpfx)order2-cmp.out): New rule.
29917         ($(objpfx)tst-initorder.out): Remove rule.
29918         [$(run-built-tests) = yes] (tests): Depend on
29919         $(objpfx)tst-initorder-cmp.out.
29920         ($(objpfx)tst-initorder-cmp.out): New rule.
29921         ($(objpfx)tst-initorder2.out): Remove rule.
29922         [$(run-built-tests) = yes] (tests): Depend on
29923         $(objpfx)tst-initorder2-cmp.out.
29924         ($(objpfx)tst-initorder2-cmp.out): New rule.
29925         [$(run-built-tests) = yes] (tests): Depend on
29926         $(objpfx)tst-unused-dep-cmp.out.
29927         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
29928         ($(objpfx)tst-unused-dep-cmp.out): New rule.
29929         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
29930         on $(objpfx)tst-setvbuf1-cmp.out.
29931         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
29932         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
29933         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
29934         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
29935         ($(objpfx)tst-svc.out): Remove rule.
29936         ($(objpfx)tst-svc-cmp.out): New rule.
29938 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
29940         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
29941         * ctype/ctype.h [__USE_MISC]: Likewise.
29942         * dirent/dirent.h [__USE_MISC]: Likewise.
29943         * grp/grp.h [__USE_MISC]: Likewise.
29944         * io/fcntl.h [__USE_MISC]: Likewise.
29945         * io/sys/stat.h [__USE_MISC]: Likewise.
29946         * libio/stdio.h [__USE_MISC]: Likewise.
29947         * posix/unistd.h [__USE_MISC]: Likewise.
29948         * pwd/pwd.h [__USE_MISC]: Likewise.
29949         * stdlib.h [__USE_MISC]: Likewise.
29950         * string/bits/string2.h [__USE_MISC]: Likewise.
29951         * string/string.h [__USE_MISC]: Likewise.
29952         * time/time.h [__USE_MISC]: Likewise.
29954 2014-02-13  Andreas Schwab  <schwab@suse.de>
29956         [BZ #16574]
29957         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
29958         second answer buffer if it was separately allocated.
29960 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
29962         * sysdeps/mips/math-tests.h: Include <features.h>.
29963         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
29964         (ROUNDING_TESTS_long_double): Do not define.
29965         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
29966         (EXCEPTION_TESTS_long_double): Likewise.
29967         * sysdeps/mips/mips64/libm-test-ulps: Update.
29969         * include/features.h (__USE_BSD): Remove macro definitions.
29970         (__USE_SVID): Likewise.
29971         (_BSD_SOURCE): Likewise.
29972         (_SVID_SOURCE): Likewise.
29973         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
29974         from definition of _DEFAULT_SOURCE.
29975         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
29976         [_DEFAULT_SOURCE].
29977         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
29978         * bits/mman.h [__USE_BSD]: Likewise.
29979         * bits/termios.h [__USE_BSD]: Likewise.
29980         * bits/waitstatus.h [__USE_BSD]: Likewise.
29981         * ctype/ctype.h [__USE_SVID]: Likewise.
29982         * dirent/dirent.h [__USE_BSD]: Likewise.
29983         * grp/grp.h [__USE_SVID]: Likewise.
29984         [__USE_BSD]: Likewise.
29985         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
29986         * io/fcntl.h [__USE_BSD]: Likewise.
29987         * io/ftw.h [__USE_BSD]: Likewise.
29988         * io/sys/stat.h [__USE_BSD]: Likewise.
29989         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
29990         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
29991         * libio/stdio.h [__USE_SVID]: Likewise.
29992         [__USE_BSD]: Likewise.
29993         * math/math.h [__USE_SVID]: Likewise.
29994         [__USE_BSD]: Likewise.
29995         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
29996         * misc/bits/syslog.h [__USE_BSD]: Likewise.
29997         * misc/search.h [__USE_SVID]: Likewise.
29998         * misc/sys/mman.h [__USE_BSD]: Likewise.
29999         * misc/sys/syslog.h [__USE_BSD]: Likewise.
30000         * misc/sys/uio.h [__USE_BSD]: Likewise.
30001         * posix/bits/unistd.h [__USE_BSD]: Likewise.
30002         * posix/glob.h [__USE_BSD]: Likewise.
30003         * posix/regex.h [__USE_BSD]: Likewise.
30004         * posix/sys/types.h [__USE_BSD]: Likewise.
30005         [__USE_SVID]: Likewise.
30006         * posix/sys/utsname.h [__USE_SVID]: Likewise.
30007         * posix/sys/wait.h [__USE_BSD]: Likewise.
30008         [__USE_SVID]: Likewise.
30009         * posix/unistd.h [__USE_BSD]: Likewise.
30010         [__USE_SVID]: Likewise.
30011         * pwd/pwd.h [__USE_SVID]: Likewise.
30012         * resolv/netdb.h [__USE_BSD]: Likewise.
30013         * setjmp/setjmp.h [__USE_BSD]: Likewise.
30014         * signal/signal.h [__USE_BSD]: Likewise.
30015         [__USE_SVID]: Likewise.
30016         * socket/sys/socket.h [__USE_BSD]: Likewise.
30017         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
30018         * stdlib/stdlib.h [__USE_BSD]: Likewise.
30019         [__USE_SVID]: Likewise.
30020         * string/bits/string2.h [__USE_BSD]: Likewise.
30021         [__USE_SVID]: Likewise.
30022         * string/bits/string3.h [__USE_BSD]: Likewise.
30023         * string/endian.h [__USE_BSD]: Likewise.
30024         * string/string.h [__USE_SVID]: Likewise.
30025         [__USE_BSD]: Likewise.
30026         * string/strings.h [__USE_BSD]: Likewise.
30027         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
30028         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
30029         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
30030         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
30031         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
30032         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
30033         Likewise.
30034         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
30035         Likewise.
30036         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
30037         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
30038         Likewise.
30039         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
30040         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
30041         Likewise.
30042         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
30043         Likewise.
30044         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
30045         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
30046         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
30047         Likewise.
30048         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
30049         Likewise.
30050         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
30051         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
30052         * termios/termios.h [__USE_BSD]: Likewise.
30053         * time/sys/time.h [__USE_BSD]: Likewise.
30054         * time/time.h [__USE_BSD]: Likewise.
30055         [__USE_SVID]: Likewise.
30057         * Makefile (subdir_targets): Remove subdir_lint.out.
30059         * stdio-common/Makefile (do-tst-unbputc): Remove target.
30060         (do-tst-printf): Likewise.
30061         (tests): Depend directly on $(objpfx)tst-unbputc.out and
30062         $(objpfx)tst-printf.out.
30064         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
30066         * Makerules (check-abi-%): Change target to
30067         $(objpfx)check-abi-%.out.
30068         (check-abi target): Update dependencies.
30069         (check-abi-pattern variable): Redirect output of diff to $@.
30070         (check-abi variable): Likewise.
30071         * elf/Makefile (check-abi): Update dependencies.
30073         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
30074         unused.
30075         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
30076         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
30077         subnormal range.
30078         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
30079         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
30080         value has largest subnormal exponent.
30081         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
30082         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
30083         * sysdeps/aarch64/soft-fp/sfp-machine.h
30084         (_FP_TININESS_AFTER_ROUNDING): New macro.
30085         * sysdeps/alpha/soft-fp/sfp-machine.h
30086         (_FP_TININESS_AFTER_ROUNDING): Likewise.
30087         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
30088         Likewise.
30089         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
30090         (_FP_TININESS_AFTER_ROUNDING): Likewise.
30091         * sysdeps/mips/soft-fp/sfp-machine.h
30092         (_FP_TININESS_AFTER_ROUNDING): Likewise.
30093         * sysdeps/powerpc/soft-fp/sfp-machine.h
30094         (_FP_TININESS_AFTER_ROUNDING): Likewise.
30095         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
30096         Likewise.
30097         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30098         (_FP_TININESS_AFTER_ROUNDING): Likewise.
30099         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30100         (_FP_TININESS_AFTER_ROUNDING): Likewise.
30101         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
30102         Likewise.
30104 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
30106         [BZ #16545]
30107         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
30108         model 1.
30110 2014-02-12  Richard Henderson  <rth@redhat.com>
30112         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
30113         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
30114         * sysdeps/unix/sysv/linux/alpha: Move directory from
30115         ports/sysdeps/unix/sysv/linux/alpha.
30116         * README: Update listing for alpha-*-linux-gnu.
30118 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
30120         * include/features.h: Update comment documenting feature test
30121         macros.
30122         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
30123         _DEFAULT_SOURCE.
30124         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
30125         (_SVID_SOURCE): Likewise.
30126         (_DEFAULT_SOURCE): Update description of default features.
30127         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
30128         with _GNU_SOURCE.
30129         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
30130         (S_ISVTX): Likewise.
30131         * manual/math.texi (Mathematical Constants): Likewise.
30132         * manual/signal.texi (Interrupted Primitives): Likewise.
30133         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
30134         * math/test-matherr.c (_SVID_SOURCE): Do not define.
30135         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
30136         Don't refer to _SVID_SOURCE in warning text.
30138         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30140         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
30141         already defined.
30142         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
30143         * sysdeps/mips/dl-lookup.c: Remove.
30144         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
30146 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
30148         [BZ #16447]
30149         * math/auto-libm-test-in: Add testcase for expl.
30150         * math/auto-libm-test-out: Regenerate.
30151         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
30152         calculation of unsafe.
30153         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
30155 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30157         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
30158         * sysdeps/unix/sysv/linux/aarch64: Move directory from
30159         ports/sysdeps/unix/sysv/linux/aarch64.
30160         * README: Update listing for aarch64*-*-linux-gnu.
30162 2014-02-11  Will Newton  <will.newton@linaro.org>
30164         * manual/probes.texi (Mathematical Function Probes): Use
30165         "triggered" instead of "hit".
30167         * manual/probes.texi (Internal Probes): Add documentation
30168         of setjmp, longjmp and longjmp_target probes.
30170         * include/stap-probe.h: Add comment about probe argument
30171         format.
30173         * malloc/mtrace.c (attribute_hidden): Remove unused macro
30174         definition.  (tr_where, tr_freehook, tr_mallochook,
30175         tr_reallochook, tr_memalignhook): Use ANSI protoype.
30177 2014-02-11  David S. Miller  <davem@davemloft.net>
30179         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
30180         processing int_tests.
30182 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
30184         * sysdeps/mips: Move directory from ports/sysdeps/mips.
30185         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
30186         * sysdeps/unix/sysv/linux/mips: Move directory from
30187         ports/sysdeps/unix/sysv/linux/mips.
30188         * README: Update listing for mips-*-linux-gnu and
30189         mips64-*-linux-gnu.
30191 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
30193         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
30194         * sysdeps/unix/sysv/linux/m68k: Move directory from
30195         ports/sysdeps/unix/sysv/linux/m68k.
30196         * README: Update listing for m68k-*-linux-gnu.
30198 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
30200         * sysdeps/tile: Move directory from ports/sysdeps/tile.
30201         * sysdeps/unix/sysv/linux/generic: Move directory from
30202         ports/sysdeps/unix/sysv/linux/generic.
30203         * sysdeps/unix/sysv/linux/tile: Move directory from
30204         ports/sysdeps/unix/sysv/linux/tile.
30205         * README: Update listing for tile*-*-linux-gnu.
30207 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
30209         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
30210         __builtin_expect.
30211         * benchtests/bench-memmem.c (simple_memmem): Likewise.
30212         * catgets/open_catalog.c (__open_catalog): Likewise.
30213         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
30214         * debug/confstr_chk.c: Likewise.
30215         * debug/fread_chk.c (__fread_chk): Likewise.
30216         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
30217         * debug/getgroups_chk.c: Likewise.
30218         * debug/mbsnrtowcs_chk.c: Likewise.
30219         * debug/mbsrtowcs_chk.c: Likewise.
30220         * debug/mbstowcs_chk.c: Likewise.
30221         * debug/memcpy_chk.c: Likewise.
30222         * debug/memmove_chk.c: Likewise.
30223         * debug/mempcpy_chk.c: Likewise.
30224         * debug/memset_chk.c: Likewise.
30225         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
30226         * debug/strcat_chk.c (__strcat_chk): Likewise.
30227         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
30228         * debug/strncat_chk.c (__strncat_chk): Likewise.
30229         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
30230         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
30231         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
30232         * debug/wcpncpy_chk.c: Likewise.
30233         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
30234         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
30235         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
30236         * debug/wcsncpy_chk.c: Likewise.
30237         * debug/wcsnrtombs_chk.c: Likewise.
30238         * debug/wcsrtombs_chk.c: Likewise.
30239         * debug/wcstombs_chk.c: Likewise.
30240         * debug/wmemcpy_chk.c: Likewise.
30241         * debug/wmemmove_chk.c: Likewise.
30242         * debug/wmempcpy_chk.c: Likewise.
30243         * debug/wmemset_chk.c: Likewise.
30244         * dirent/scandirat.c (SCANDIRAT): Likewise.
30245         * dlfcn/dladdr1.c (dladdr1): Likewise.
30246         * dlfcn/dladdr.c (dladdr): Likewise.
30247         * dlfcn/dlclose.c (dlclose_doit): Likewise.
30248         * dlfcn/dlerror.c (__dlerror): Likewise.
30249         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
30250         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
30251         * dlfcn/dlopen.c (dlopen_doit): Likewise.
30252         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
30253         * dlfcn/dlsym.c (dlsym_doit): Likewise.
30254         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
30255         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
30256         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
30257         Likewise.
30258         * elf/dl-conflict.c: Likewise.
30259         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
30260         * elf/dl-dst.h: Likewise.
30261         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
30262         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
30263         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
30264         * elf/dl-init.c (call_init, _dl_init): Likewise.
30265         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
30266         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
30267         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
30268         Likewise.
30269         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
30270         Likewise.
30271         * elf/dl-minimal.c (__libc_memalign): Likewise.
30272         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
30273         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
30274         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
30275         * elf/dl-sym.c (do_sym): Likewise.
30276         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
30277         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
30278         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
30279         * elf/dl-writev.h (_dl_writev): Likewise.
30280         * elf/ldconfig.c (search_dir): Likewise.
30281         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
30282         (dl_main): Likewise.
30283         * elf/setup-vdso.h (setup_vdso): Likewise.
30284         * grp/compat-initgroups.c (compat_call): Likewise.
30285         * grp/fgetgrent.c (fgetgrent): Likewise.
30286         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
30287         * grp/putgrent.c (putgrent): Likewise.
30288         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30289         Likewise.
30290         * hurd/hurdinit.c: Likewise.
30291         * iconvdata/8bit-gap.c (struct): Likewise.
30292         * iconvdata/ansi_x3.110.c : Likewise.
30293         * iconvdata/big5.c : Likewise.
30294         * iconvdata/big5hkscs.c : Likewise.
30295         * iconvdata/cp1255.c: Likewise.
30296         * iconvdata/cp1258.c : Likewise.
30297         * iconvdata/cp932.c : Likewise.
30298         * iconvdata/euc-cn.c: Likewise.
30299         * iconvdata/euc-jisx0213.c : Likewise.
30300         * iconvdata/euc-jp.c: Likewise.
30301         * iconvdata/euc-jp-ms.c : Likewise.
30302         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
30303         * iconvdata/gb18030.c : Likewise.
30304         * iconvdata/gbbig5.c (const): Likewise.
30305         * iconvdata/gbgbk.c: Likewise.
30306         * iconvdata/gbk.c : Likewise.
30307         * iconvdata/ibm1364.c : Likewise.
30308         * iconvdata/ibm930.c : Likewise.
30309         * iconvdata/ibm932.c: Likewise.
30310         * iconvdata/ibm933.c : Likewise.
30311         * iconvdata/ibm935.c : Likewise.
30312         * iconvdata/ibm937.c : Likewise.
30313         * iconvdata/ibm939.c : Likewise.
30314         * iconvdata/ibm943.c: Likewise.
30315         * iconvdata/iso_11548-1.c: Likewise.
30316         * iconvdata/iso-2022-cn.c : Likewise.
30317         * iconvdata/iso-2022-cn-ext.c : Likewise.
30318         * iconvdata/iso-2022-jp-3.c: Likewise.
30319         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
30320         * iconvdata/iso-2022-kr.c : Likewise.
30321         * iconvdata/iso646.c (gconv_end): Likewise.
30322         * iconvdata/iso_6937-2.c : Likewise.
30323         * iconvdata/iso_6937.c : Likewise.
30324         * iconvdata/iso8859-1.c: Likewise.
30325         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
30326         * iconvdata/shift_jisx0213.c : Likewise.
30327         * iconvdata/sjis.c : Likewise.
30328         * iconvdata/t.61.c : Likewise.
30329         * iconvdata/tcvn5712-1.c : Likewise.
30330         * iconvdata/tscii.c: Likewise.
30331         * iconvdata/uhc.c : Likewise.
30332         * iconvdata/unicode.c (gconv_end): Likewise.
30333         * iconvdata/utf-16.c (gconv_end): Likewise.
30334         * iconvdata/utf-32.c (gconv_end): Likewise.
30335         * iconvdata/utf-7.c (base64): Likewise.
30336         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
30337         * iconv/gconv_close.c (__gconv_close): Likewise.
30338         * iconv/gconv_open.c (__gconv_open): Likewise.
30339         * iconv/gconv_simple.c (internal_ucs4_loop_single)
30340         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
30341         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
30342         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
30343         (ucs4le_internal_loop_single): Likewise.
30344         * iconv/iconv.c (iconv): Likewise.
30345         * iconv/iconv_close.c: Likewise.
30346         * iconv/loop.c (SINGLE): Likewise.
30347         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
30348         * include/atomic.h: Likewise.
30349         * inet/inet6_option.c (option_alloc): Likewise.
30350         * intl/bindtextdom.c (set_binding_values): Likewise.
30351         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
30352         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
30353         * intl/localealias.c (read_alias_file): Likewise.
30354         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
30355         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
30356         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
30357         * libio/fmemopen.c (fmemopen): Likewise.
30358         * libio/iofgets.c (_IO_fgets): Likewise.
30359         * libio/iofgets_u.c (fgets_unlocked): Likewise.
30360         * libio/iofgetws.c (fgetws): Likewise.
30361         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
30362         * libio/iogetdelim.c (_IO_getdelim): Likewise.
30363         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
30364         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
30365         * locale/findlocale.c (_nl_find_locale): Likewise.
30366         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30367         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
30368         Likewise.
30369         * locale/setlocale.c (setlocale): Likewise.
30370         * login/programs/pt_chown.c (main): Likewise.
30371         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
30372         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
30373         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
30374         (mmap, mmap64, mremap, munmap): Likewise.
30375         * math/e_exp2l.c: Likewise.
30376         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
30377         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
30378         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
30379         * math/s_catan.c (__catan): Likewise.
30380         * math/s_catanf.c (__catanf): Likewise.
30381         * math/s_catanh.c (__catanh): Likewise.
30382         * math/s_catanhf.c (__catanhf): Likewise.
30383         * math/s_catanhl.c (__catanhl): Likewise.
30384         * math/s_catanl.c (__catanl): Likewise.
30385         * math/s_ccosh.c (__ccosh): Likewise.
30386         * math/s_ccoshf.c (__ccoshf): Likewise.
30387         * math/s_ccoshl.c (__ccoshl): Likewise.
30388         * math/s_cexp.c (__cexp): Likewise.
30389         * math/s_cexpf.c (__cexpf): Likewise.
30390         * math/s_cexpl.c (__cexpl): Likewise.
30391         * math/s_clog10.c (__clog10): Likewise.
30392         * math/s_clog10f.c (__clog10f): Likewise.
30393         * math/s_clog10l.c (__clog10l): Likewise.
30394         * math/s_clog.c (__clog): Likewise.
30395         * math/s_clogf.c (__clogf): Likewise.
30396         * math/s_clogl.c (__clogl): Likewise.
30397         * math/s_csin.c (__csin): Likewise.
30398         * math/s_csinf.c (__csinf): Likewise.
30399         * math/s_csinh.c (__csinh): Likewise.
30400         * math/s_csinhf.c (__csinhf): Likewise.
30401         * math/s_csinhl.c (__csinhl): Likewise.
30402         * math/s_csinl.c (__csinl): Likewise.
30403         * math/s_csqrt.c (__csqrt): Likewise.
30404         * math/s_csqrtf.c (__csqrtf): Likewise.
30405         * math/s_csqrtl.c (__csqrtl): Likewise.
30406         * math/s_ctan.c (__ctan): Likewise.
30407         * math/s_ctanf.c (__ctanf): Likewise.
30408         * math/s_ctanh.c (__ctanh): Likewise.
30409         * math/s_ctanhf.c (__ctanhf): Likewise.
30410         * math/s_ctanhl.c (__ctanhl): Likewise.
30411         * math/s_ctanl.c (__ctanl): Likewise.
30412         * math/w_pow.c: Likewise.
30413         * math/w_powf.c: Likewise.
30414         * math/w_powl.c: Likewise.
30415         * math/w_scalb.c (sysv_scalb): Likewise.
30416         * math/w_scalbf.c (sysv_scalbf): Likewise.
30417         * math/w_scalbl.c (sysv_scalbl): Likewise.
30418         * misc/error.c (error_tail): Likewise.
30419         * misc/pselect.c (__pselect): Likewise.
30420         * nis/nis_callback.c (__nis_create_callback): Likewise.
30421         * nis/nis_call.c (__nisfind_server): Likewise.
30422         * nis/nis_creategroup.c (nis_creategroup): Likewise.
30423         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
30424         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
30425         * nis/nis_getservlist.c (nis_getservlist): Likewise.
30426         * nis/nis_lookup.c (nis_lookup): Likewise.
30427         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
30428         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
30429         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
30430         * nis/nis_xdr.c (xdr_endpoint): Likewise.
30431         * nis/nss_compat/compat-grp.c (getgrent_next_file)
30432         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
30433         * nis/nss_compat/compat-initgroups.c (add_group)
30434         (internal_getgrent_r): Likewise.
30435         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
30436         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
30437         * nis/nss_compat/compat-spwd.c (getspent_next_file)
30438         (internal_getspnam_r): Likewise.
30439         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
30440         (_nss_nis_getaliasbyname_r): Likewise.
30441         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
30442         (_nss_nis_getntohost_r): Likewise.
30443         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
30444         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
30445         (_nss_nis_getgrgid_r): Likewise.
30446         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
30447         (internal_nis_gethostent_r, internal_gethostbyname2_r)
30448         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
30449         (_nss_nis_gethostbyname4_r): Likewise.
30450         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
30451         (initgroups_netid): Likewise.
30452         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
30453         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
30454         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
30455         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
30456         (_nss_nis_getprotobynumber_r): Likewise.
30457         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
30458         (_nss_nis_getsecretkey): Likewise.
30459         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
30460         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
30461         (_nss_nis_getpwuid_r): Likewise.
30462         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
30463         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
30464         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
30465         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
30466         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
30467         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
30468         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
30469         Likewise.
30470         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
30471         (_nss_nisplus_getntohost_r): Likewise.
30472         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
30473         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
30474         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
30475         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
30476         Likewise.
30477         * nis/nss_nisplus/nisplus-initgroups.c
30478         (_nss_nisplus_initgroups_dyn): Likewise.
30479         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
30480         (_nss_nisplus_getnetbyaddr_r): Likewise.
30481         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
30482         (_nss_nisplus_getprotobynumber_r): Likewise.
30483         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
30484         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
30485         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
30486         Likewise.
30487         * nis/nss_nisplus/nisplus-service.c
30488         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
30489         (_nss_nisplus_getservbyport_r): Likewise.
30490         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
30491         (_nss_nisplus_getspnam_r): Likewise.
30492         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
30493         Likewise.
30494         * nscd/aicache.c (addhstaiX): Likewise.
30495         * nscd/cache.c (cache_search, prune_cache): Likewise.
30496         * nscd/connections.c (register_traced_file, send_ro_fd)
30497         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
30498         (main_loop_epoll): Likewise.
30499         * nscd/grpcache.c (addgrbyX): Likewise.
30500         * nscd/hstcache.c (addhstbyX): Likewise.
30501         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30502         * nscd/mem.c (gc, mempool_alloc): Likewise.
30503         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
30504         (addinnetgrX): Likewise.
30505         * nscd/nscd-client.h (__nscd_acquire_maplock)
30506         (__nscd_drop_map_ref): Likewise.
30507         * nscd/nscd_getai.c (__nscd_getai): Likewise.
30508         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30509         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
30510         Likewise.
30511         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
30512         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30513         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
30514         (__nscd_get_map_ref): Likewise.
30515         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
30516         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
30517         Likewise.
30518         * nscd/pwdcache.c (addpwbyX): Likewise.
30519         * nscd/selinux.c (preserve_capabilities): Likewise.
30520         * nscd/servicescache.c (addservbyX): Likewise.
30521         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
30522         * posix/fnmatch.c (fnmatch): Likewise.
30523         * posix/getopt.c (_getopt_internal_r): Likewise.
30524         * posix/glob.c (glob, glob_in_dir): Likewise.
30525         * posix/wordexp.c (exec_comm_child): Likewise.
30526         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
30527         (getanswer_r, gaih_getanswer_slice): Likewise.
30528         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
30529         * resolv/res_init.c: Likewise.
30530         * resolv/res_mkquery.c (res_nmkquery): Likewise.
30531         * resolv/res_query.c (__libc_res_nquery): Likewise.
30532         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
30533         Likewise.
30534         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
30535         * stdio-common/perror.c (perror): Likewise.
30536         * stdio-common/printf_fp.c (___printf_fp): Likewise.
30537         * stdio-common/tmpnam.c (tmpnam): Likewise.
30538         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
30539         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
30540         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
30541         Likewise.
30542         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
30543         * stdlib/putenv.c (putenv): Likewise.
30544         * stdlib/setenv.c (__add_to_environ): Likewise.
30545         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
30546         * stdlib/strtol_l.c (INTERNAL): Likewise.
30547         * string/memmem.c (memmem): Likewise.
30548         * string/strerror.c (strerror): Likewise.
30549         * string/strnlen.c (__strnlen): Likewise.
30550         * string/test-memmem.c (simple_memmem): Likewise.
30551         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
30552         * sunrpc/pm_getport.c (__get_socket): Likewise.
30553         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
30554         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
30555         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
30556         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
30557         Likewise.
30558         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
30559         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
30560         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
30561         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
30562         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
30563         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
30564         Likewise.
30565         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
30566         Likewise.
30567         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
30568         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
30569         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30570         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30571         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
30572         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
30573         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
30574         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
30575         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
30576         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
30577         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
30578         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
30579         Likewise.
30580         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
30581         Likewise.
30582         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
30583         Likewise.
30584         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
30585         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30586         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
30587         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
30588         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
30589         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
30590         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30591         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
30592         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
30593         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
30594         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
30595         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30596         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
30597         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
30598         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30599         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
30600         Likewise.
30601         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
30602         Likewise.
30603         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
30604         Likewise.
30605         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
30606         Likewise.
30607         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30608         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30609         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
30610         Likewise.
30611         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
30612         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
30613         * sysdeps/posix/opendir.c (__opendirat): Likewise.
30614         * sysdeps/posix/sleep.c: Likewise.
30615         * sysdeps/posix/tempname.c: Likewise.
30616         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
30617         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30618         Likewise.
30619         * sysdeps/powerpc/powerpc32/dl-machine.h
30620         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
30621         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
30622         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30623         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
30624         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
30625         Likewise.
30626         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
30627         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
30628         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
30629         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
30630         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
30631         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
30632         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
30633         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
30634         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30635         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
30636         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
30637         (elf_machine_lazy_rel): Likewise.
30638         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30639         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
30640         (elf_machine_lazy_rel): Likewise.
30641         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
30642         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
30643         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
30644         * sysdeps/unix/grantpt.c (grantpt): Likewise.
30645         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
30646         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
30647         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
30648         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30649         Likewise.
30650         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
30651         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
30652         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
30653         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
30654         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30655         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30656         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
30657         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
30658         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
30659         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30660         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
30661         Likewise.
30662         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
30663         (__posix_fallocate64_l64): Likewise.
30664         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
30665         (posix_fallocate): Likewise.
30666         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
30667         Likewise.
30668         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30669         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
30670         (getifaddrs_internal): Likewise.
30671         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
30672         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
30673         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
30674         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
30675         * sysdeps/unix/sysv/linux/posix_fallocate64.c
30676         (__posix_fallocate64_l64): Likewise.
30677         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
30678         Likewise.
30679         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
30680         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
30681         (__get_clockfreq): Likewise.
30682         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
30683         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
30684         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
30685         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30686         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30687         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
30688         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
30689         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
30690         Likewise.
30691         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
30692         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
30693         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
30694         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
30695         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30696         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
30697         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
30698         Likewise.
30699         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30700         (posix_fallocate): Likewise.
30701         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30702         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
30703         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
30704         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
30705         (elf_machine_rela, elf_machine_rela_relative)
30706         (elf_machine_lazy_rel): Likewise.
30707         * time/asctime.c (asctime_internal): Likewise.
30708         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
30709         * time/tzset.c (__tzset_parse_tz): Likewise.
30710         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
30711         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
30712         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
30713         * wcsmbs/wcsmbsload.h: Likewise.
30715         [BZ #15894]
30716         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
30718         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
30719         (arena_get2): Remove THREAD_STATS conditionals.
30720         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
30721         (__malloc_stats, int): Likewise.
30723 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
30725         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
30726         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
30728         * manual/setjmp.texi: Fix typos/grammar errors.
30730         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
30731         Only return early when n is <= 0.  Delete unused return statement.
30733         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
30734         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
30735         * debug/tst-longjmp_chk3.c: New file.
30737         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
30738         (test_main): Replace code with set_fortify_handler call.
30739         * debug/test-strcpy_chk.c: Likewise.
30740         * debug/tst-chk1.c: Likewise.
30741         * debug/tst-longjmp_chk.c: Likewise.
30742         * test-skeleton.c: Include fcntl.h & paths.h
30743         (set_fortify_handler): Define.
30745         * debug/tst-longjmp_chk.c: Add header comment and include
30746         ../test-skeleton.c.
30747         (do_test): Mark static.
30748         (TEST_FUNCTION): Define.
30750         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
30751         (IP_PMTUDISC_INTERFACE): Likewise.
30752         (IP_MULTICAST_IF): Likewise.
30753         (IP_MULTICAST_TTL): Likewise.
30754         (IP_MULTICAST_LOOP): Likewise.
30755         (IP_ADD_MEMBERSHIP): Likewise.
30756         (IP_DROP_MEMBERSHIP): Likewise.
30757         (IP_UNBLOCK_SOURCE): Likewise.
30758         (IP_BLOCK_SOURCE): Likewise.
30759         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
30760         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
30761         (IP_MSFILTER): Likewise.
30762         (MCAST_JOIN_GROUP): Likewise.
30763         (MCAST_BLOCK_SOURCE): Likewise.
30764         (MCAST_UNBLOCK_SOURCE): Likewise.
30765         (MCAST_LEAVE_GROUP): Likewise.
30766         (MCAST_JOIN_SOURCE_GROUP): Likewise.
30767         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
30768         (MCAST_MSFILTER): Likewise.
30769         (IP_MULTICAST_ALL): Likewise.
30770         (IP_UNICAST_IF): Likewise.
30772         * timezone/Makefile: Delete $(have-ksh) check.
30773         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
30774         * timezone/tzselect.ksh: Add +x mode bits.
30776         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
30777         (ANON_INODE_FS_MAGIC): Likewise.
30778         (BDEVFS_MAGIC): Likewise.
30779         (BINFMTFS_MAGIC): Likewise.
30780         (BTRFS_TEST_MAGIC): Likewise.
30781         (CRAMFS_MAGIC_WEND): Likewise.
30782         (DEBUGFS_MAGIC): Likewise.
30783         (ECRYPTFS_SUPER_MAGIC): Likewise.
30784         (EXT3_SUPER_MAGIC): Likewise.
30785         (EXT4_SUPER_MAGIC): Likewise.
30786         (FUTEXFS_SUPER_MAGIC): Likewise.
30787         (HOSTFS_SUPER_MAGIC): Likewise.
30788         (HUGETLBFS_MAGIC): Likewise.
30789         (MINIX3_SUPER_MAGIC): Likewise.
30790         (MTD_INODE_FS_MAGIC): Likewise.
30791         (NILFS_SUPER_MAGIC): Likewise.
30792         (OPENPROM_SUPER_MAGIC): Likewise.
30793         (PIPEFS_MAGIC): Likewise.
30794         (PSTOREFS_MAGIC): Likewise.
30795         (QNX6_SUPER_MAGIC): Likewise.
30796         (RAMFS_MAGIC): Likewise.
30797         (REISERFS_SUPER_MAGIC_STRING): Likewise.
30798         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
30799         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
30800         (SECURITYFS_MAGIC): Likewise.
30801         (SELINUX_MAGIC): Likewise.
30802         (SMACK_MAGIC): Likewise.
30803         (SOCKFS_MAGIC): Likewise.
30804         (SQUASHFS_MAGIC): Likewise.
30805         (STACK_END_MAGIC): Likewise.
30806         (TMPFS_MAGIC): Likewise.
30807         (USBDEVICE_SUPER_MAGIC): Likewise.
30808         (V9FS_MAGIC): Likewise.
30809         (XENFS_SUPER_MAGIC): Likewise.
30810         (CRAMFS_MAGIC): Fix typo in comment.
30811         (EXT2_SUPER_MAGIC): Update comment.
30812         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
30814 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
30816         * sysdeps/arm: Move directory from ports/sysdeps/arm.
30817         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
30818         * sysdeps/unix/sysv/linux/arm: Move directory from
30819         ports/sysdeps/unix/sysv/linux/arm.
30820         * README: Update listing for arm-*-linux-gnueabi.
30822         * README: Remove mention of am33.
30824 2014-02-07  Roland McGrath  <roland@hack.frob.com>
30826         * bits/sigset.h (__sigemptyset): Use a statement expression rather
30827         than the comma operator, to avoid "rhs of comma has no effect"
30828         compiler warnings.
30829         (__sigfillset, __sigandset, __sigorset): Likewise.
30830         * include/signal.h (__sigemptyset): Likewise.
30831         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
30833 2014-02-07  Allan McRae  <allan@archlinux.org>
30835         * version.h (RELEASE): Set to "development".
30836         (VERSION): Set to "2.19.90"
30837         * NEWS: Add 2.20 section.
30839 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
30841         [BZ #16529]
30842         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
30844 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
30846         * manual/contrib.texi: Update entry for Carlos O'Donell,
30847         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
30849 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
30851         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
30853         * sysdeps/unix/sysv/linux/kernel-features.h
30854         [__LINUX_KERNEL_VERSION >= 0x020621]
30855         (__ASSUME_PROC_PID_TASK_COMM): Define.
30857 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30859         [BZ #16398]
30860         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
30861         conversion when destination buffer does not have enough space.
30862         * libio/tst-ftell-partial-wide.c: New test case.
30863         * libio/Makefile (tests): Add tst-ftell-partial-wide.
30865         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
30866         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
30867         Leonard and Allan McRae.
30869 2014-02-04  David S. Miller  <davem@davemloft.net>
30871         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
30872         32-bit.
30874 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
30877         New file
30878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
30879         New file
30880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
30881         New file.
30882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
30883         New file.
30884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
30885         New file.
30886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
30887         New file.
30888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
30889         New file.
30890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
30891         New file.
30892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
30893         New file.
30894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
30895         New file.
30896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
30897         New file.
30898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
30899         New file.
30900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
30901         New file.
30903 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30905         * nptl/shlib-versions: Change powerpc*le start to 2.17.
30906         * shlib-versions: Likewise.
30908 2014-02-04  Roland McGrath  <roland@hack.frob.com>
30909             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30911         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
30912         (abilist-pattern): New variable, set to %-le.abilist.
30914         * Makerules (abilist-pattern): New variable.
30915         (vpath): Use $(abilist-pattern) in place of %.abilist.
30916         (check-abi-% pattern rule): Likewise.
30917         (check-abi, update-abi): Likewise.
30919 2014-02-04  Eric Wong  <normalperson@yhbt.net>
30921         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30923 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
30925         * manual/startup.texi: Add next, previous, and top entries for
30926         the `Program Arguments' and `Environment Variables' nodes.
30928 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
30930         * manual/macros.texi: Add comments before MTASC-safety macros.
30932         * manual/users.texi: Document MTASC-safety properties.
30934         * manual/threads.texi (pthread_key_create, pthread_key_delete)
30935         (pthread_getspecific, pthread_setspecific): Format with
30936         @deftypefun, and add @safety note.
30937         * manual/signal.texi: Move comments that analyze the above
30938         functions to their home place.
30940 2014-02-03  Allan McRae  <allan@archlinux.org>
30942         * po/sl.po: Update Slovenian translation from translation project.
30944 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
30946         * manual/time.texi (timegm): Add missing blank after @c.
30947         Reported by Joseph Myers <joseph@codesourcery.com>.
30949 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
30951         * manual/check-safety.sh: New.
30952         * manual/Makefile ($(objpfx)stamp-summary): Run it.
30954         * manual/terminal.texi: Document MTASC-safety properties.
30956         * manual/filesys.texi: Document MTASC-safety properties.
30958         * manual/errno.texi: Document MTASC-safety properties.
30960         * manual/intro.texi: Document safety identifiers and
30961         conditionals.
30963         * manual/string.texi (wcstok): Fix prototype.
30964         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
30966         * manual/time.texi: Document MTASC-safety properties.
30968         * manual/string.texi: Document MTASC-safety properties.
30970         * manual/threads.texi: Document MTASC-safety properties.
30972         * manual/stdio.texi: Document MTASC-safety properties.
30974         * manual/syslog.texi: Document MTASC-safety properties.
30976         * manual/sysinfo.texi: Document MTASC-safety properties.
30978         * manual/startup.texi: Document MTASC-safety properties.
30980         * manual/socket.texi: Document MTASC-safety properties.
30982         * manual/signal.texi: Document MTASC-safety properties.
30984 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
30986         * manual/setjmp.texi: Document MTASC-safety properties.
30988         * manual/search.texi: Document MTASC-safety properties.
30990         * manual/resource.texi: Document MTASC-safety properties.
30992         * manual/process.texi: Document MTASC-safety properties.
30994         * manual/platform.texi: Document MTASC-safety properties.
30996         * manual/pipe.texi: Document MTASC-safety properties.
30998         * manual/pattern.texi: Document MTASC-safety properties.
31000         * manual/message.texi: Document MTASC-safety properties.
31002         [BZ #12751]
31003         * manual/memory.texi: Document MTASC-safety properties.
31005         * manual/math.texi: Document MTASC-safety properties.
31007         * manual/locale.texi: Document MTASC-safety properties.
31009         * manual/llio.texi: Document MTASC-safety properties.
31011         * manual/libdl.texi: New.
31013         * manual/lang.texi: Document MTASC-safety properties.
31015         * manual/job.texi: Document MTASC-safety properties.
31017         * manual/getopt.texi: Document MTASC-safety properties.
31019         * manual/ctype.texi: Document MTASC-safety properties.
31021 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
31023         [BZ #16046]
31024         * csu/libc-tls.c (static_map): Remove variable.
31025         (__libc_setup_tls): Use main executable's link map for TLS data.
31026         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
31027         casing for LM_ID_BASE and GL(dl_nns).
31028         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
31029         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
31030         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
31031         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
31032         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
31033         member.
31034         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
31035         l_phnum members.
31037 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
31039         * manual/debug.texi: Document MTASC-safety properties.
31041 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
31043         [BZ #16510]
31044         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
31045         of __x86_64__ when disabling x87 inline functions.
31047 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
31049         * manual/charset.texi: Document MTASC-safety properties.
31051         * manual/crypt.texi: Document MTASC-safety properties.
31053         * manual/conf.texi: Document MTASC-safety properties.
31055         * manual/arith.texi: Document MTASC-safety properties.
31057         * manual/argp.texi: Document MTASC-safety properties.
31059         * manual/macros.texi: Introduce macros to document multi
31060         thread, asynchronous signal and asynchronous cancellation
31061         safety properties.
31062         * manual/intro.texi: Introduce the properties themselves.
31064 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31066         * sysdeps/sh/sh4/Makefile: New file.
31068 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
31070         * math/gen-libm-test.pl ($srcdir): New variable.
31071         ($auto_input): Use it.
31073 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31075         [BZ #16506]
31076         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
31077         access beyond array bounds when parsing netgroups file.
31079         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
31080         the old buffer before realloc.
31082 2014-01-27  Allan McRae  <allan@archlinux.org>
31084         * po/fr.po: Update French translation from translation project.
31086 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31088         * sysdeps/sh/libm-test-ulps: Regenerate.
31090 2014-01-24  David S. Miller  <davem@davemloft.net>
31092         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
31094 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31096         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
31097         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
31099 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31101         [BZ #16474]
31102         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
31103         string pointers after reallocation.
31105 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31107         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
31108         __SH4A__ instead of __SH_FPU_ANY__.
31110 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31112         * sysdeps/sh/fpu_control.h: New file.
31113         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
31114         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
31115         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
31116         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
31117         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
31118         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
31119         * sysdeps/sh/sys/ucontext.h: Remove.
31120         * sysdeps/sh/sys: Remove directory.
31122 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31124         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
31125         s390/sys/ucontext.h.
31126         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
31127         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
31129 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
31131         [BZ #15605]
31132         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
31134 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31136         [BZ#16431]
31137         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
31138         Adjust the vDSO correctly for internal calls.
31139         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
31141 2014-01-20  Allan McRae  <allan@archlinux.org>
31143         * po/ca.po: Update Catalan translation from translation project.
31145 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
31147         * sysdeps/s390/sotruss-lib.c: New file.
31149 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31151         [BZ#16430]
31152         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
31153         (__GI___gettimeofday): Alias for a different internal symbol to avoid
31154         local calls issues by not having a PLT stub required for IFUNC calls.
31155         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
31157 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
31159         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
31160         * math/test-fpucw-static.c: Likewise.
31162 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31164         [BZ #16453]
31165         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
31167 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31169         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
31170         implementation for powerpc.
31172 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
31174         [BZ #14782]
31175         * sysdeps/posix/system.c (__libc_system): Do not enable
31176         asynchronous cancellation.
31178 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31180         [BZ #16427]
31181         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
31182         handling only for numbers special also in the IEEE case.
31184 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31186         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31188 2014-01-11  Allan McRae  <allan@archlinux.org>
31190         * po/bg.po: Update Bulgarian translation from translation project.
31192         * po/de.po: Update German translation from translation project.
31194 2014-01-10  Roland McGrath  <roland@hack.frob.com>
31196         * sysdeps/generic/gcc-compat.h: New file.
31198 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31200         * benchtests/asin-inputs: Correct slow inputs.
31201         * benchtests/acos-inputs: Likewise.
31203 2014-01-10  Allan McRae  <allan@archlinux.org>
31205         * po:sv.po: Update Swedish translation from translation project.
31207         * po/vi.po: Update Vietnamese translation from translation project.
31209         * po/eo.po: Update Esperanto translation from translation project.
31211         * po/cs.po: Update Czech translation from translation project.
31213         * po/nl.po: Update Dutch translation from translation project.
31215         * po/pl.po: Update Polish translation from translation project.
31217         * po/ru.po: Update Russian translation from translation project.
31219         * po/uk.po: Update Ukrainian translation from translation project.
31221 2014-01-08  Brooks Moses  <bmoses@google.com>
31223         * elf/dl-load.c: Fix comment typo.
31225 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
31227         * po/header.pot: Rename to...
31228         * po/pot.header: ... this.
31229         * po/Makefile: Use pot.header.
31231 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
31232             Maxim Kuvyrkov  <maxim@kugelworks.com>
31234         [BZ #16394]
31235         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
31236         SRC and DEST against LEN.
31238 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31240         [BZ #16414]
31241         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
31242         implementation.
31243         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
31245 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31247         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31249 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
31251         [BZ #16408]
31252         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
31253         for large positive arguments.
31255 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
31257         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31259         * math/auto-libm-test-in: Mark various tests with
31260         xfail-rounding:ldbl-128ibm.
31261         * math/auto-libm-test-out: Regenerated.
31263         [BZ #16407]
31264         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
31265         Increase overflow threshold.
31267 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
31269         [BZ #14286]
31270         * stdio-common/vfprintf.c: Check for integer overflow.
31272 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31274         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
31275         the first argument and return value of __tls_get_addr_internal.
31277 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31279         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
31280         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
31282 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31284         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
31285         * sysdeps/s390/rtld-global-offsets.sym: New file.
31286         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
31287         GLIBC_2.19 symbol.
31288         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
31289         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
31290         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
31291         ... this.
31292         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
31293         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
31294         ... this.
31295         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31296         Regenerate.
31297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31298         Regenerate.
31299         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
31300         halfs of GPRs for high_gprs contexts.
31301         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
31302         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
31303         field.
31304         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
31305         uc_flags field.
31306         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
31307         64 bit versions:
31308         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
31309         for high GPRs (uc_high_gprs) and for future extensions
31310         (__reserved).
31311         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
31312         for future extensions (__reserved).
31313         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
31314         64 bit versions:
31315         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
31316         SC_HIGHGPRS offset definition.
31317         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
31318         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
31320         * Versions.def: Add GLIBC_2.19 for libpthread.
31321         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
31322         siglongjmp for libpthread with GLIBC_2.19 symver.
31323         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
31324         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
31325         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
31326         * sysdeps/s390/__longjmp.c: New file.
31327         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
31328         * sysdeps/s390/longjmp.c: New file.
31329         * sysdeps/s390/setjmp.S: New file.
31330         * sysdeps/s390/sigjmp.S: New file.
31331         * sysdeps/s390/v1-longjmp.c: New file.
31332         * sysdeps/s390/v1-setjmp.h: New file.
31333         * sysdeps/s390/v1-sigjmp.c: New file.
31334         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
31335         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
31336         GLIBC_2.19 version.
31337         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
31338         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
31339         versioned symbols for ____longjmp_chk.
31340         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
31341         Likewise.
31342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31343         Regenerate.
31344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31345         Regenerate.
31346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31347         Regenerate.
31348         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31349         Regenerate.
31350         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
31351         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
31352         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
31353         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
31354         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
31355         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
31356         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
31357         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
31358         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
31359         * sysdeps/s390/rtld-__longjmp.c: New file.
31360         * sysdeps/s390/rtld-setjmp.S: New file.
31362 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
31364         [BZ #16400]
31365         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31366         Return -__logl (x) for small positive arguments without evaluating
31367         a polynomial.
31369 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
31371         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
31372         Rename to ...
31373         (__ptrace_peeksiginfo_args): ... this.
31374         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31375         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31376         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31378 2014-01-06  Allan McRae  <allan@archlinux.org>
31380         * inet/netinet/in.h: Fix typo in comment.
31382 2014-01-05  Andreas Jaeger  <aj@suse.de>
31384         * sysdeps/i386/fpu/libm-test-ulps: Update.
31386 2014-01-05  Allan McRae  <allan@archlinux.org>
31388         * po/libc.pot: Regenerated.
31390         * malloc/memusagestat.c: Fix gettext call formatting.
31392 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
31394         * nscd/nscd.c: Improve usage() output.
31396 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
31398         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
31399         * sysdeps/unix/sysv/linux/configure: Regenerated.
31400         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
31401         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
31403 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
31405         [BZ #16390]
31406         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
31407         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
31409 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31411         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
31412         extra tokens at end of #undef directive.
31413         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
31414         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
31415         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
31417 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
31419         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31421         * math/auto-libm-test-in: Mark various tests with
31422         xfail-rounding:ldbl-128ibm.
31423         * math/auto-libm-test-out: Regenerated.
31425 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
31427         [BZ #16386]
31428         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
31429         numbers with subnormal high part when calculating exponent.
31431         [BZ #16385]
31432         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
31433         fabs.
31435         [BZ #16384]
31436         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
31437         M_LN2l.
31438         (__ieee754_acoshl): Use __log1pl not __log1p.
31440 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
31442         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
31443         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
31444         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
31445         (grow_heap, heap_trim, _int_new_arena, get_free_list)
31446         (reused_arena, arena_get2): Convert to GNU style.
31447         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
31448         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
31449         (memalign_check, __malloc_set_state): Likewise.
31450         * malloc/mallocbug.c (main): Likewise.
31451         * malloc/malloc.c (__malloc_assert, malloc_init_state)
31452         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
31453         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
31454         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
31455         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
31456         (__posix_memalign, malloc_info): Likewise.
31457         * malloc/malloc.h: Likewise.
31458         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
31459         (mallochook, memalignhook, reallochook, mabort): Likewise.
31460         * malloc/mcheck.h: Likewise.
31461         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
31462         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
31463         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
31464         * malloc/morecore.c (__default_morecore): Likewise.
31465         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
31466         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
31467         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
31468         (print_and_abort): Likewise.
31469         * malloc/obstack.h: Likewise.
31470         * malloc/set-freeres.c (__libc_freeres): Likewise.
31471         * malloc/tst-mallocstate.c (main): Likewise.
31472         * malloc/tst-mtrace.c (main): Likewise.
31473         * malloc/tst-realloc.c (do_test): Likewise.
31475 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31477         [BZ #16366]
31478         * nscd/netgroupcache.c (do_notfound): New function.
31479         (addgetnetgrentX): Use it.
31481         [BZ # 16365]
31482         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
31483         NSS_STATUS_NOTFOUND.
31485 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
31487         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31490 2014-01-01  Allan McRae  <allan@archlinux.org>
31492         * scripts/update-copyrights: Update configure input file suffix.
31494         * NEWS: Update copyright year.
31495         * catgets/gencat.c: Likewise.
31496         * csu/version.c: Likewise.
31497         * debug/catchsegv.sh: Likewise.
31498         * debug/pcprofiledump.c: Likewise.
31499         * debug/xtrace.sh: Likewise.
31500         * elf/ldconfig.c: Likewise.
31501         * elf/ldd.bash.in: Likewise.
31502         * elf/pldd.c: Likewise.
31503         * elf/sotruss.ksh: Likewise.
31504         * elf/sprof.c: Likewise.
31505         * iconv/iconv_prog.c: Likewise.
31506         * iconv/iconvconfig.c: Likewise.
31507         * locale/programs/locale.c: Likewise.
31508         * locale/programs/localedef.c: Likewise.
31509         * login/programs/pt_chown.c: Likewise.
31510         * malloc/memusage.sh: Likewise.
31511         * malloc/memusagestat.c: Likewise.
31512         * malloc/mtrace.pl: Likewise.
31513         * manual/libc.texinfo: Likewise.
31514         * nscd/nscd.c: Likewise.
31515         * nss/getent.c: Likewise.
31516         * nss/makedb.c: Likewise.
31517         * posix/getconf.c: Likewise.
31518         * scripts/test-installation.pl: Likewise.
31520         * All files with FSF copyright notices: Update copyright dates
31521         using scripts/update-copyrights.
31522         * intl/plural.c: Regenerated.
31523         * locale/programs/charmap-kw.h: Likewise.
31524         * locale/programs/locfile-kw.h: Likewise.
31526 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
31528         * sysdeps/unix/sysv/linux/configure: Regenerated.
31529         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
31530         the linux/fanotify.h header.
31531         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
31532         HAVE_LINUX_FANOTIFY_H is defined.
31534 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31536         * benchtests/cos-inputs: New inputs.
31537         * benchtests/sin-inputs: Likewise.
31539         * benchtests/atan-inputs: New inputs. Fix name of multiple
31540         precision fallback inputs.
31542         * benchtests/atanh-inputs: New inputs.
31543         * benchtests/tanh-inputs: Likewise.
31545         * benchtests/acosh-inputs: New inputs.
31546         * benchtests/asinh-inputs: Likewise.
31548         * benchtests/cosh-inputs: New inputs.
31549         * benchtests/sinh-inputs: Likewise.
31551         * benchtests/acos-inputs: Add more inputs.
31552         * benchtests/asin-inputs: Likewise.
31554 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
31556         [BZ #16375]
31557         * manual/arith.texi: Fix spelling.
31558         * manual/charset.texi: Likewise.
31559         * manual/errno.texi: Likewise.
31560         * manual/filesys.texi: Likewise.
31561         * manual/lang.texi: Likewise.
31562         * manual/llio.texi: Likewise.
31563         * manual/locale.texi: Likewise.
31564         * manual/message.texi: Likewise.
31565         * manual/resource.texi: Likewise.
31566         * manual/search.texi: Likewise.
31567         * manual/setjmp.texi: Likewise.
31568         * manual/stdio.texi: Likewise.
31569         * manual/string.texi: Likewise.
31570         * manual/sysinfo.texi: Likewise.
31571         * manual/time.texi: Likewise.
31573 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
31575         * po/sl.po: New file.
31577 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
31579         * .gitignore: Add core/.gdbinit/.gdb_history.
31581 2013-12-27  Allan McRae  <allan@archlinux.org>
31583         [BZ #16369]
31584         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
31585         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
31587 2013-12-24  Brooks Moses  <bmoses@google.com>
31589         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
31590         all compilers that claim C++98 compliance, not just GCC.
31591         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
31592         Likewise.
31594 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
31596         * NEWS: Restore accidentally deleted bug-fix entries.
31598 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
31599             Ondřej Bílka  <neleai@seznam.cz>
31601         [BZ #15073]
31602         * malloc/malloc.c (_int_free): Perform sanity check only if we
31603         have_lock.
31605 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
31607         [BZ #12986]
31608         * manual/stdio.texi (String Input Conversions): Clarify that character
31609         classes are not supported.
31611 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31613         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31615 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
31617         [BZ #16337]
31618         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31619         Calculate results for small negative arguments directly rather
31620         than using reflection formula with special underflow handling.
31622         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
31623         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
31624         sysdeps/unix/bsd/bsd4.4/syscalls.list.
31625         (fchflags): Likewise.
31626         (revoke): Likewise.
31627         (setlogin): Likewise.
31628         (sigaltstack): Likewise.
31629         (wait4): Likewise.
31630         (sigblock): Remove.
31631         (sigsetmask): Likewise.
31632         (wait3): Likewise.
31633         (waitpid): Likewise.
31634         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
31635         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
31636         file.
31637         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
31638         * sysdeps/unix/bsd/Makefile: ... here.
31639         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
31640         * sysdeps/unix/bsd/Versions: ... here.
31641         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
31642         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
31643         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
31644         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
31645         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
31646         * sysdeps/unix/bsd/sigblock.c: ... here.
31647         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
31648         * sysdeps/unix/bsd/sigsetmask.c: ... here.
31649         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
31650         * sysdeps/unix/bsd/sigvec.c: ... here.
31651         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
31652         * sysdeps/unix/bsd/tcdrain.c: ... here.
31653         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
31654         * sysdeps/unix/bsd/tcgetattr.c: ... here.
31655         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
31656         * sysdeps/unix/bsd/tcsetattr.c: ... here.
31657         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
31658         * sysdeps/unix/bsd/wait.c: ... here.
31659         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
31660         * sysdeps/unix/bsd/wait3.c: ... here.
31661         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
31662         * sysdeps/unix/bsd/waitpid.c: ... here.
31664 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
31666         [BZ #16356]
31667         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
31668         round-to-nearest for [!USE_AS_EXPM1L].
31669         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
31670         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
31671         more tests of exp and exp10.  Expect some exp10 tests to miss
31672         exceptions or fail in directed rounding modes.
31673         * math/auto-libm-test-out: Regenerated.
31674         * math/libm-test.inc (exp10_tonearest_test_data): New array.
31675         (exp10_test_tonearest): New function.
31676         (exp10_towardzero_test_data): New array.
31677         (exp10_test_towardzero): New function.
31678         (exp10_downward_test_data): New array.
31679         (exp10_test_downward): New function.
31680         (exp10_upward_test_data): New array.
31681         (exp10_test_upward): New function.
31682         (main): Call the new functions.
31683         * sysdeps/i386/fpu/libm-test-ulps: Update.
31684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31686 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
31688         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
31689         asinh, atan, atan2, atanh, cbrt, cos and cosh.
31690         * math/auto-libm-test-out: Regenerated.
31691         * math/libm-test.inc (acosh_test_data): Add more tests.
31692         (atanh_test_data): Likewise.
31693         (ceil_test_data): Likewise.
31694         (copysign_test_data): Likewise.
31695         * sysdeps/i386/fpu/libm-test-ulps: Update.
31696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31698         * timezone/checktab.awk: Update from tzcode 2013i.
31699         * timezone/private.h: Likewise.
31700         * timezone/scheck.c: Likewise.
31701         * timezone/tzfile.h: Likewise.
31702         * timezone/tzselect.ksh: Likewise.
31703         * timezone/zdump.c: Likewise.
31704         * timezone/zic.c: Likewise.
31706         * math/auto-libm-test-in: Add tests of cpow.
31707         * math/auto-libm-test-out: Regenerated.
31708         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
31709         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31710         mpc_cc_c.
31711         (func_calc_desc): Add mpc_cc_c union field.
31712         (test_functions): Add cpow.
31713         (special_fill_2pi): New function.
31714         (special_real_inputs): Add 2pi.
31715         (calc_generic_results): Handle mpc_cc_c.
31716         * sysdeps/i386/fpu/libm-test-ulps: Update.
31717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31719         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
31720         csqrt, ctan and ctanh.
31721         * math/auto-libm-test-out: Regenerated.
31722         * math/libm-test.inc (TEST_COND_x86_64): New macro.
31723         (TEST_COND_x86): Likewise.
31724         (ccos_test_data): Use AUTO_TESTS_c_c.
31725         (ccosh_test_data): Likewise.
31726         (cexp_test_data): Likewise.
31727         (clog_test_data): Likewise.
31728         (csqrt_test_data): Likewise.
31729         (ctan_test_data): Likewise.
31730         (ctan_tonearest_test_data): Likewise.
31731         (ctan_towardzero_test_data): Likewise.
31732         (ctan_downward_test_data): Likewise.
31733         (ctan_upward_test_data): Likewise.
31734         (ctanh_test_data): Likewise.
31735         (ctanh_tonearest_test_data): Likewise.
31736         (ctanh_towardzero_test_data): Likewise.
31737         (ctanh_downward_test_data): Likewise.
31738         (ctanh_upward_test_data): Likewise.
31739         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31740         mpc_c_c.
31741         (func_calc_desc): Add mpc_c_c union field.
31742         (FUNC_mpc_c_c): New macro.
31743         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
31744         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
31745         ctanh.
31746         (special_fill_min_subnorm_p120): New function.
31747         (special_real_inputs): Add min_subnorm_p120.
31748         (calc_generic_results): Handle mpc_c_c.
31749         * sysdeps/i386/fpu/libm-test-ulps: Update.
31750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31752 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31754         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
31755         (do_sin_slow): New functions.
31756         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
31757         (cslow2, csloww1, csloww2): Use the new functions.
31759         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
31760         Use M to change sign of result instead of X.  Assume X is
31761         positive.
31762         (csloww1): Likewise.
31763         (__sin): Adjust.
31764         (__cos): Adjust.
31766         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
31767         arguments A and DA.
31768         (__sin): Adjust.
31769         (__cos): Likewise.
31771         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
31772         (__cos): Likewise.
31773         (sloww1): Don't adjust sign of DX.
31774         (csloww1): Likewise.
31775         (sloww2): Use X directly and don't adjust sign of DX.
31776         (csloww2): Likewise.
31778 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
31780         * math/auto-libm-test-in: Add tests of cabs and carg.
31781         * math/auto-libm-test-out: Regenerated.
31782         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
31783         (carg_test_data): Likewise.
31784         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31785         mpc_c_f.
31786         (func_calc_desc): Add mpc_c_f union field.
31787         (test_functions): Add cabs and carg.
31788         (calc_generic_results): Handle mpc_c_f.
31790         * sysdeps/powerpc/powerpc32/libgcc-compat.S
31791         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
31792         as a macro and a compat symbol.
31793         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
31794         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
31795         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
31796         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
31797         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
31798         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
31799         not use .hidden.
31800         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
31801         Likewise.
31802         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
31803         Likewise.
31804         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
31805         Likewise.
31806         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
31807         Likewise.
31808         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
31809         Likewise.
31810         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
31811         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
31812         from GLIBC_2.3.2.
31814 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31816         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31818 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
31820         * manual/texinfo.tex: Update to version 2013-11-26.10 with
31821         trailing whitespace removed.
31822         * scripts/config.guess: Update to version 2013-11-29.
31823         * scripts/config.sub: Update to version 2013-10-01.
31825         * math/auto-libm-test-in: Add tests of sincos.
31826         * math/auto-libm-test-out: Regenerated.
31827         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
31828         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31829         mpfr_f_11.
31830         (func_calc_desc): Add mpfr_f_11 union field.
31831         (test_functions): Add sincos.
31832         (calc_generic_results): Handle mpfr_f_11.
31833         * sysdeps/i386/fpu/libm-test-ulps: Update.
31834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31836 2013-12-19  Andreas Schwab  <schwab@suse.de>
31838         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
31839         CALL_MCOUNT.
31840         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31841         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
31842         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
31844 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
31846         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
31847         * sysdeps/i386/fpu/libm-test-ulps: Update.
31848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31850         [BZ #16293]
31851         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
31852         round-to-nearest mode when using frndint.
31853         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
31854         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31855         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
31856         Likewise.
31857         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
31858         sinh test to fail.
31859         * math/auto-libm-test-out: Regenerated.
31860         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
31861         (TEST_COND_x86): Likewise.
31862         (expm1_tonearest_test_data): New array.
31863         (expm1_test_tonearest): New function.
31864         (expm1_towardzero_test_data): New array.
31865         (expm1_test_towardzero): New function.
31866         (expm1_downward_test_data): New array.
31867         (expm1_test_downward): New function.
31868         (expm1_upward_test_data): New array.
31869         (expm1_test_upward): New function.
31870         (main): Run the new test functions.
31871         * sysdeps/i386/fpu/libm-test-ulps: Update.
31872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31874         * include/features.h: Update comment documenting feature test
31875         macros.  Mention _DEFAULT_SOURCE in comment.
31876         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
31877         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
31878         _BSD_SOURCE and _SVID_SOURCE.
31879         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
31880         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
31881         !_SVID_SOURCE]: Likewise.
31882         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
31883         (__USE_POSIX_IMPLICITLY): Define.
31884         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
31885         (_POSIX_SOURCE): Undefine and redefine.
31886         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
31887         (_POSIX_C_SOURCE): Likewise.
31888         * manual/creature.texi (_DEFAULT_SOURCE): Document.
31889         (Feature Test Macros): Update documentation of default features.
31891 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31893         * benchtests/Makefile: Add bench-strtok.
31894         * benchtests/bench-strtok.c: New file: strtok benchtest.
31896 2013-12-19  Allan McRae  <allan@archlinux.org>
31898         * manual/install.texi: Suppress menu for plain text output.
31899         * INSTALL: Regenerated.
31901 2013-12-18  Brooks Moses  <bmoses@google.com>
31903         [BZ #15846]
31904         * misc/getauxval.c: Include errno.h.
31905         (__getauxval): Set errno to ENOENT if the requested type is not
31906         found.
31907         * misc/sys/auxv.h (getauxval): Document that it may set errno;
31908         don't declare with __attribute_const__.
31909         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
31910         * manual/startup.texi: Document that getauxval sets errno.
31912 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
31914         * math/auto-libm-test-in: Add tests of jn and yn.
31915         * math/auto-libm-test-out: Regenerated.
31916         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
31917         (yn_test_data): Likewise.
31918         * math/gen-auto-libm-tests.c (func_calc_method): Add value
31919         mpfr_if_f.
31920         (func_calc_desc): Add mpfr_if_f union field.
31921         (FUNC_mpfr_if_f): New macro.
31922         (test_functions): Add jn and yn.
31923         (calc_generic_results): Assert type of second input for
31924         mpfr_ff_f.  Handle mpfr_if_f.
31925         (output_for_one_input_case): Disable all checking for arguments
31926         fitting floating-point types in case of an integer argument.
31927         * sysdeps/i386/fpu/libm-test-ulps: Update.
31928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31931         Don't expect fegetround reference in libm.so.
31933 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31935         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
31936         $(config-cflags-nofma).
31938 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
31940         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
31941         * math/auto-libm-test-out: Regenerated.
31943         [BZ #16338]
31944         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
31945         to determine exponent and adjust argument to have exponent of -1.
31946         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
31947         log2.
31948         * math/auto-libm-test-out: Regenerated.
31949         * sysdeps/i386/fpu/libm-test-ulps: Update.
31950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31952 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
31954         * manual/probes.texi: Remove cases when per-thread arenas are
31955         disabled.
31957 2013-12-18  Andreas Schwab  <schwab@suse.de>
31959         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
31960         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
31961         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
31962         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
31963         * sysdeps/i386/i686/multiarch/Makefile: Update.
31964         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
31966 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
31968         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
31969         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
31971 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
31973         [BZ #15968]
31974         Support TZ transition times < 00:00:00.
31975         This is needed for version-3 tz-format files; it supports time
31976         stamps past 2037 for America/Godthab (the only entry in the tz
31977         database for which this change is relevant).
31978         * manual/time.texi (TZ Variable): Document transition times
31979         from -167:59:59 through -00:00:01.
31980         * time/tzset.c (tz_rule): Time of day is now signed.
31981         (__tzset_parse_tz): Parse negative time of day.
31983         Document TZ transition times >= 25:00:00.
31984         * manual/time.texi (TZ Variable): Document transition times from
31985         25:00:00 through 167:59:59.  These are already supported, and this
31986         support will help with version-3 tz-format files.
31988         * manual/time.texi (TZ Variable): Modernize North America example
31989         to reflect current (i.e., 2007-and-later) daylight saving rules.
31991         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
31993 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
31995         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
31996         * sysdeps/unix/bsd/bits/stat.h: Likewise.
31997         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
31998         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31999         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
32000         * sysdeps/unix/bsd/bsdstat.h: Likewise.
32001         * sysdeps/unix/bsd/clock.c: Likewise.
32002         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
32003         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
32004         * sysdeps/unix/bsd/init-posix.c: Likewise.
32005         * sysdeps/unix/bsd/poll.c: Likewise.
32006         * sysdeps/unix/bsd/ptsname.c: Likewise.
32007         * sysdeps/unix/bsd/seekdir.c: Likewise.
32008         * sysdeps/unix/bsd/setegid.c: Likewise.
32009         * sysdeps/unix/bsd/seteuid.c: Likewise.
32010         * sysdeps/unix/bsd/setgid.c: Likewise.
32011         * sysdeps/unix/bsd/setrgid.c: Likewise.
32012         * sysdeps/unix/bsd/setruid.c: Likewise.
32013         * sysdeps/unix/bsd/setsid.c: Likewise.
32014         * sysdeps/unix/bsd/setuid.c: Likewise.
32015         * sysdeps/unix/bsd/sigaction.c: Likewise.
32016         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
32017         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
32018         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
32019         * sysdeps/unix/bsd/telldir.c: Likewise.
32020         * sysdeps/unix/bsd/times.c: Likewise.
32021         * sysdeps/unix/bsd/usleep.c: Likewise.
32023         * misc/Makefile (install-lib): Remove libbsd-compat.a.
32024         ($(objpfx)libbsd-compat.a): Remove rule.
32026         * include/features.h (__FAVOR_BSD): Do not define.
32027         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
32028         features conflicting with POSIX.
32029         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
32030         (_BSD_SOURCE): Remove description of not being a subset of other
32031         feature test macros.
32032         * manual/job.texi (getpgrp): Do not document BSD version.
32033         (getpgid): Do not document by reference to BSD getpgrp.
32034         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
32035         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
32036         * signal/signal.h [__FAVOR_BSD]: Likewise.
32037         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
32038         instead of making contents conditional on [__FAVOR_BSD].
32039         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
32041 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32043         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32045 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
32047         [BZ #16314]
32048         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
32049         values below 2**-450, not 2**-500.
32050         * math/auto-libm-test-in: Don't allow spurious underflow from
32051         hypot.
32052         * math/auto-libm-test-out: Regenerated.
32054         [BZ #16316]
32055         [BZ #16330]
32056         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
32057         values of ha and hb and sort them after adjusting subnormal
32058         arguments.
32059         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
32060         Likewise.
32061         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
32062         values of ea and eb and sort them after adjusting subnormal
32063         arguments.
32064         * math/auto-libm-test-in: Do not expect some hypot tests of
32065         subnormals to fail.  Add more hypot tests.
32066         * math/auto-libm-test-out: Regenerated.
32068 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32070         [BZ #13304]
32071         * sysdeps/sh/s_fma.c: New file.
32072         * sysdeps/sh/s_fmaf.c: New file.
32073         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
32074         version.
32075         * sysdeps/sh/Implies: Add sh/soft-fp.
32077 2013-12-16  Roland McGrath  <roland@hack.frob.com>
32079         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
32080         level of indirection to members `objname', `errstring', `malloced'.
32081         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
32082         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
32083         it as the __longjmp argument (just pass 1 instead).
32084         (_dl_catch_error): Initialize C with argument pointers and address of
32085         volatile local ERRCODE rather than copying values out of C at return.
32087 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
32089         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
32090         * math/auto-libm-test-out: Regenerated.
32091         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
32092         (hypot_test_data): Likewise.
32093         (pow_test_data): Likewise.
32094         (pow_tonearest_test_data): Likewise.
32095         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32096         mpfr_ff_f.
32097         (func_calc_desc): Add mpfr_ff_f union field.
32098         (FUNC_mpfr_ff_f): New macro.
32099         (test_functions): Add atan2, hypot and pow.
32100         (special_fill_min): New function.
32101         (special_fill_minus_min): Likewise.
32102         (special_fill_min_subnorm): Likewise.
32103         (special_fill_minus_min_subnorm): Likewise.
32104         (special_real_inputs): Add min, -min, min_subnorm and
32105         -min_subnorm.
32106         (calc_generic_results): Handle mpfr_ff_f.
32107         * sysdeps/i386/fpu/libm-test-ulps: Update.
32108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32110 2013-12-16  Will Newton  <will.newton@linaro.org>
32112         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
32113         (Aligned Memory Blocks): Add documentation for aligned_alloc
32114         and suggest it as an alternative to posix_memalign.
32115         (Hooks for Malloc): Document __memalign_hook is also called
32116         for aligned_alloc.  (Summary of Malloc): Add summary for
32117         aligned alloc.  Document __memalign_hook is also called
32118         for aligned_alloc.
32120 2013-12-16  Will Newton  <will.newton@linaro.org>
32122         * manual/memory.texi (Malloc Examples): Clarify default
32123         alignment documentation.  Suggest posix_memalign rather
32124         than memalign or valloc.
32125         (Aligned Memory Blocks): Remove suggestion to use memalign
32126         or valloc.  Remove obsolete comment about BSD.
32127         Document memalign errno values and mark the function obsolete.
32128         Document posix_memalign returned error codes.  Mark valloc
32129         as obsolete.  (Hooks for Malloc): __memalign_hook is also
32130         called for posix_memalign and valloc.
32131         (Summary of Malloc): Add posix_memalign to function summary.
32132         __memalign_hook is also called for posix_memalign and valloc.
32134 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32136         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
32137         TAYLOR_SIN.
32138         (__sin): Adjust.
32139         (__cos): Likewise.
32140         (sloww): Use mynumber union.  Expand ternary operator into
32141         if-else statements.
32142         (cslow): use mynumber union.
32144 2013-12-16  Allan McRae  <allan@archlinux.org>
32146         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
32147         * configure: Regenerated.
32149         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
32151         [BZ #14120]
32152         * configure.ac: Added --enable-maintainer-mode. Check for
32153         autoconf when enabled.
32154         * configure: Regenerated.
32156         * nscd/nscd.service: New file.
32157         * nscd/nscd.tmpfiles: New file.
32159 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
32161         [BZ #12100]
32162         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
32163         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
32164         * sysdeps/x86_64/multiarch/strstr.c: ... here.
32165         (strstr): Add __strstr_sse2_unaligned ifunc.
32166         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
32167         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
32168         (strcasestr): Remove __strcasestr_sse42 ifunc.
32169         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
32170         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
32171         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
32173 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32175         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
32176         * sysdeps/sh/bits/fenv.h: ... here.
32177         * sysdeps/sh/sh4/fpu/bits: Remove directory.
32179 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32181         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
32183         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
32184         hypotf multiarch implementations.
32185         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
32186         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
32187         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
32188         multiarch hypot for PPC64.
32189         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
32190         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
32191         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
32192         multiarch hypotf for PPC64.
32194         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
32195         modff multiarch implementations.
32196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
32197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
32198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
32199         multiarch modf for PPC64.
32200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
32201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
32202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
32203         multiarch modff for PPC64.
32205         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
32206         and logl multiarch implementations.
32207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
32208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
32209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
32210         multiarch logb for PPC64.
32211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
32212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
32213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
32214         multiarch logb for PPC64.
32215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
32216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
32217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
32218         multiarch logb for PPC64.
32220         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
32221         isinff multiarch implementation.
32222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
32223         file.
32224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
32225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
32226         multiarch isinf for PPC64.
32227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
32228         file.
32229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
32230         multiarch isinff for PPC64.
32232         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
32233         finitef multiarch implementation.
32234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
32235         file.
32236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
32237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
32238         multiarch finite for PPC64.
32239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
32240         file.
32241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
32242         multiarch finitef for PPC64.
32244         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
32245         lrint multiarch implementation.
32246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
32247         file.
32248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
32249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
32250         multiarch llrint for PPC64.
32251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
32252         multiarch lrint for PPC64.
32254         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
32255         copysignf multiarch implementation.
32256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
32257         file.
32258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
32259         file.
32260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
32261         multiarch copysign for PPC64.
32262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
32263         multiarch copysignf for PPC64.
32265         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
32266         multiarch implementation.
32267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
32268         file.
32269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
32270         file.
32271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
32272         file.
32273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
32274         file.
32275         multiarch llround for PPC64.
32276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
32277         multiarch trunc for PPC64.
32278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
32279         multiarch truncf for PPC64.
32281         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
32282         multiarch implementation.
32283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
32284         file.
32285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
32286         file.
32287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
32288         file.
32289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
32290         file.
32291         multiarch llround for PPC64.
32292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
32293         multiarch round for PPC64.
32294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
32295         multiarch roundf for PPC64.
32297         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
32298         multiarch implementation.
32299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
32300         file.
32301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
32302         file.
32303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
32304         file.
32305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
32306         file.
32307         multiarch llround for PPC64.
32308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
32309         multiarch floor for PPC64.
32310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
32311         multiarch floorf for PPC64.
32313         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
32314         multiarch implementation.
32315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
32316         file.
32317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
32318         file.
32319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
32320         file.
32321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
32322         file.
32323         multiarch llround for PPC64.
32324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
32325         multiarch ceil for PPC64.
32326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
32327         multiarch ceilf for PPC64.
32329         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
32330         multiarch implementation.
32331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
32332         file.
32333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
32334         file.
32335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
32336         file.
32337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
32338         multiarch llround for PPC64.
32339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
32340         multiarch lround for PPC64.
32342         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
32343         multiarch implementation.
32344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
32345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
32346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
32347         file.
32348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
32349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
32350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
32351         multiarch isnan for PPC64.
32352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
32353         multiarch isnanf for PPC64.
32355         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
32356         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
32357         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
32358         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
32359         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
32360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
32362         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
32363         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32364         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32365         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32367         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
32368         multiarch implementations.
32369         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32370         (__libc_ifunc_impl_list): Likewise.
32371         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
32372         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
32373         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
32374         multiarch stpcpy for PPC64.
32376         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
32377         multiarch implementations.
32378         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32379         (__libc_ifunc_impl_list): Likewise.
32380         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
32381         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
32382         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
32383         multiarch strcpy for PPC64.
32385         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
32386         redefine function name.
32387         (_wordcopy_fwd_dest_aligned): Likewise.
32388         (_wordcopy_bwd_aligned): Likewise.
32389         (_wordcopy_bwd_dest_aligned): Likewise.
32390         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
32391         multiarch implementations.
32392         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32393         (__libc_ifunc_impl_list): Likewise.
32394         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
32395         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
32396         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
32397         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
32398         multiarch wcscpy for PPC64.
32400         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
32401         multiarch implementations.
32402         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32403         (__libc_ifunc_impl_list): Likewise.
32404         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
32405         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
32406         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
32407         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
32408         multiarch wcscpy for PPC64.
32410         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
32411         multiarch implementations.
32412         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32413         (__libc_ifunc_impl_list): Likewise.
32414         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
32415         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
32416         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
32417         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
32418         multiarch wcsrchr for PPC64.
32420         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
32421         multiarch implementations.
32422         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32423         (__libc_ifunc_impl_list): Likewise.
32424         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
32425         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
32426         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
32427         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
32428         multiarch wcschr for PPC64.
32430         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
32431         multiarch implementations.
32432         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32433         (__libc_ifunc_impl_list): Likewise.
32434         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
32435         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
32436         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
32437         multiarch strchrnul for PPC64.
32439         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
32440         implementations.
32441         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32442         (__libc_ifunc_impl_list): Likewise.
32443         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
32444         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
32445         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
32446         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
32447         strchr for PPC64.
32449         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
32450         implementations.
32451         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32452         (__libc_ifunc_impl_list): Likewise.
32453         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
32454         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
32455         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
32456         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
32457         strncmp for PPC64.
32459         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
32460         multiarch implementations.
32461         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32462         (__libc_ifunc_impl_list): Likewise.
32463         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
32464         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
32465         strncasecmp for PPC64.
32466         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
32467         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
32468         multiarch strncasecmp_l for PPC64.
32470         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
32471         multiarch implementations.
32472         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32473         (__libc_ifunc_impl_list): Likewise.
32474         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
32475         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
32476         multiarch strcasecmp for PPC64.
32477         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
32478         file.
32479         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
32480         multiarch strcasecmp_l for PPC64.
32482         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
32483         implementations.
32484         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32485         (__libc_ifunc_impl_list): Likewise.
32486         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
32487         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
32488         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
32489         strnlen for PPC64.
32491         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
32492         implementations.
32493         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32494         (__libc_ifunc_impl_list): Likewise.
32495         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
32496         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
32497         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
32498         strlen for PPC64.
32500         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
32501         implementations.
32502         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32503         (__libc_ifunc_impl_list): Likewise.
32504         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
32505         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
32506         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
32507         rawmemrchr for PPC64.
32509         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
32510         implementation.
32511         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32512         (__libc_ifunc_impl_list): Likewise.
32513         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
32514         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
32515         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
32516         memrchr for PPC64.
32518         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
32519         implementation.
32520         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32521         (__libc_ifunc_impl_list): Likewise.
32522         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
32523         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
32524         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
32525         memchr for PPC64.
32527         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
32528         implementation.
32529         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32530         (__libc_ifunc_impl_list): Likewise.
32531         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
32532         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
32533         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
32534         mempcpy for PPC64.
32536         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
32537         avoid cretion of __bzero symbol.
32538         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
32539         Likewise.
32540         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
32541         Likewise.
32542         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
32543         Likewise.
32544         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
32545         multiarch implementations.
32546         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32547         (__libc_ifunc_impl_list): Likewise.
32548         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
32549         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
32550         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
32551         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
32552         bzero for PPC32.
32553         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
32554         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
32555         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
32556         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
32557         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
32558         memset for PPC64.
32559         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
32561         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
32562         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
32563         implementations.
32564         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32565         (__libc_ifunc_impl_list): Likewise.
32566         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
32567         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
32568         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
32569         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
32570         memcmp for PPC64.
32572         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
32573         multiarch for POWER/PPC64.
32574         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
32575         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
32576         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
32577         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
32578         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
32579         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
32580         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
32581         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
32582         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
32583         memcpy for PPC64.
32585         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
32586         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
32587         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
32588         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
32589         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
32590         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
32591         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
32592         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
32593         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
32594         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
32595         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
32596         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
32597         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
32598         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
32599         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
32600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
32601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
32602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
32603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
32604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
32605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
32606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
32608 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32610         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
32612 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32614         * benchtests/Makefile (bench): Add exp2 and log2.
32615         (LDLIBS-bench-exp2): Add -lm.
32616         (LDLIBS-bench-log2): Likewise.
32617         * benchtests/exp2-inputs: New inputs file.
32618         * benchtests/log2-inputs: New inputs file.
32619         * benchtests/log-inputs: Add new inputs.
32620         * benchtests/tan-inputs: Likewise.
32622 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32624         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
32625         definition...
32626         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
32627         (csloww2): ... from here.
32629         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
32630         instead of structures.
32631         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
32632         (POLYNOMIAL): Likewise.
32633         (TAYLOR_SLOW): Likewise.
32634         (__sin): Likewise.
32635         (__cos): Likewise.
32636         (slow1): Likewise.
32637         (slow2): Likewise.
32638         (sloww): Likewise.
32639         (sloww1); Likewise.
32640         (sloww2): Likewise.
32641         (bsloww1): Likewise.
32642         (bsloww2): Likewise.
32643         (cslow2): Likewise.
32644         (csloww): Likewise.
32645         (csloww1): Likewise.
32646         (csloww2): Likewise.
32648 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
32650         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
32651         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
32652         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
32653         * malloc/hooks.c (realloc_check): Likewise.
32655         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
32656         * malloc/arena.c: Remove PER_THREAD conditional.
32657         [!PER_THREAD]: Remove code.
32658         (ptmalloc_unlock_all2): Likewise.
32659         (ptmalloc_init): Likewise.
32660         (_int_new_arena): Likewise.
32661         (arena_get2): Likewise.
32662         * malloc/hooks.c (__malloc_get_state): Likewise.
32663         (__malloc_set_state): Likewise.
32664         * malloc/malloc.c: Likewise.
32665         (struct malloc_state): Likewise.
32666         (struct malloc_par): Likewise.
32667         (__libc_realloc): Likewise.
32668         (__libc_mallopt): Likewise.
32670 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32672         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
32674 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
32676         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
32677         macro to a function.  Check for zero perturb_byte.
32678         (_int_malloc, _int_free): Remove zero perturb_byte checks.
32680         * malloc/malloc.c: (force_reg): Remove.
32681         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
32682         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
32683         force_reg by atomic_forced_read.
32684         * malloc/arena.c (ptmalloc_init): Likewise.
32685         * malloc/hooks.c (top_check): Likewise.
32687 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32689         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32691 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
32693         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32695 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
32697         * math/auto-libm-test-in: Add tests of lgamma.
32698         * math/auto-libm-test-out: Regenerated.
32699         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
32700         (M_LOG_2_SQRT_PIl): Likewise.
32701         (lgamma_test_data): Use AUTO_TESTS_f_f1.
32702         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32703         mpfr_f_f1.
32704         (func_calc_desc): Add mpfr_f_f1 union field.
32705         (ARGS1): New macro.
32706         (ARGS2): Likewise.
32707         (ARGS3): Likewise.
32708         (ARGS4): Likewise.
32709         (RET1): Likewise.
32710         (RET2): Likewise.
32711         (CALC): Likewise.
32712         (FUNC): Likewise.
32713         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
32714         (test_functions): Add lgamma.
32715         (calc_generic_results): Handle mpfr_f_f1.
32716         * sysdeps/i386/fpu/libm-test-ulps: Update.
32717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32719 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32721         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
32722         __mpn_add_n for PowerPC64/POWER7.
32723         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
32724         __mpn_sub_n for PowerPC64/POWER7.
32726         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
32727         __mpn_addmul_1 for PowerPC64.
32728         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
32729         __mpn_submul_1 for PowerPC64.
32730         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
32731         for PowerPC64.
32732         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
32733         for PowerPC64.
32735 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
32737         [BZ #15089]
32738         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
32740 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32742         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
32744         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
32745         add multiarch folders.
32746         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
32747         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
32748         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
32749         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
32750         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
32751         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
32752         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
32753         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
32754         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
32755         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
32756         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
32757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
32758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
32759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
32760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
32761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
32762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
32764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
32765         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
32766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
32767         New file.
32768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
32769         New file.
32770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
32771         multiarch __ieee754_hypot for PowerPC32.
32772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
32773         New file.
32774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
32775         New file.
32776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
32777         multiarch __ieee754_hypotf for PowerPC32.
32779         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
32780         long_double_symbol only if __logbl is defined.
32781         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
32782         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
32783         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
32784         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
32785         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
32786         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
32787         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
32788         path for implementation.
32789         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
32790         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
32791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
32792         logb, and logbl multiarch implementations for PowerPC32.
32793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
32794         file.
32795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
32796         file.
32797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
32798         multiarch logb for PowerPC32.
32799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
32800         file.
32801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
32802         file.
32803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
32804         multiarch logbf for PowerPC32.
32805         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
32806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
32807         file.
32808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
32809         multiarch logbl implementation for PowerPC32.
32811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
32812         and modff multiarch implementations.
32813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
32814         New file.
32815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
32816         New file.
32817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
32818         multiarch modf for PowerPC32.
32819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
32820         New file.
32821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
32822         New file.
32823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
32824         multiarch modff for PowerPC32.
32826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
32827         and lrintf multiarch implementations.
32828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
32829         New file.
32830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
32831         New file.
32832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
32833         multiarch lrint for PowerPC32.
32834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
32835         file: multiarch lrintf for PowerPC32.
32837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
32838         and lroundf multiarch implementations.
32839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
32840         New file.
32841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
32842         New file.
32843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
32844         New file.
32845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
32846         multiarch lround for PowerPC32.
32847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
32848         file: multiarch lroundf for PowerPC32.
32850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
32851         copysign and copysignf multiarch implementations.
32852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
32853         New file.
32854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
32855         New file.
32856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
32857         file: multiarch copysign for PowerPC32.
32858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
32859         file: multiarch copysignf for PowerPC32.
32861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
32862         and truncf multiarch implementations.
32863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
32864         New file.
32865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
32866         file.
32867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
32868         multiarch trunc for PowerPC32.
32869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
32870         New file.
32871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
32872         New file.
32873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
32874         multiarch truncf for PowerPC32.
32876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
32877         and roundf multiarch implementations.
32878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
32879         New file.
32880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
32881         file.
32882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
32883         multiarch round for PowerPC32.
32884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
32885         New file.
32886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
32887         New file.
32888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
32889         multiarch roundf for PowerPC32.
32891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
32892         and floorf multiarch implementations.
32893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
32894         New file.
32895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
32896         file.
32897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
32898         multiarch floor for PowerPC32.
32899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
32900         New file.
32901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
32902         New file.
32903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
32904         multiarch floorf for PowerPC32.
32906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
32907         and ceilf multiarch implementations.
32908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
32909         New file.
32910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
32911         file.
32912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
32913         multiarch ceil for PowerPC32.
32914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
32915         New file.
32916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
32917         file.
32918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
32919         multiarch ceilf for PowerPC32.
32921         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
32922         is defined.
32923         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
32924         FINITEF is defined.
32925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
32926         and finitef multiarch implementations.
32927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
32928         New file.
32929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
32930         file.
32931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
32932         multiarch finite for PowerPC32.
32933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
32934         New file.
32935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
32936         file: multiarch finitef for PowerPC32.
32938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
32939         and isinff multiarch implementations.
32940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
32941         file.
32942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
32943         file.
32944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
32945         multiarch isinf for PowerPC32.
32946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
32947         New file.
32948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
32949         multiarch isinff for PowerPC32.
32951         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
32952         alias when __isnan is defined.
32953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
32954         and isnanf multiarch implementations.
32955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
32956         file.
32957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
32958         file.
32959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
32960         file.
32961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
32962         file.
32963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
32964         multiarch isnan for PowerPC32.
32965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
32966         New file.
32967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
32968         New file.
32969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
32970         multiarch isnanf for PowerPC32.
32972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
32973         and sqrtf multiarch implementations.
32974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
32975         file.
32976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
32977         file.
32978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
32979         multiarch sqrt for PowerPC32.
32980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
32981         file.
32982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
32983         file.
32984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
32985         multiarch sqrtf for PowerPC32.
32987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
32988         and llroundf multiarch implementations.
32989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
32990         New file.
32991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
32992         New file.
32993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
32994         New file.
32995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
32996         file: multiarch llround for PowerPC32.
32997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
32998         file: multiarch llroundf for PowerPC32.
33000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
33001         multiarch PowerPC32 fpu implementations.
33002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
33003         New file.
33004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
33005         New file.
33006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
33007         multiarch llrint for PowerPC32.
33008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
33009         New file.
33010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
33011         New file.
33012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
33013         file.
33015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
33017         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
33018         file.
33019         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
33020         file.
33021         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
33022         file.
33023         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
33024         multiarch wordcopy for PPC32.
33025         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
33026         wordcopy objects.
33027         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33028         (__libc_ifunc_impl_list): Likewise.
33029         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
33030         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
33031         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
33032         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
33033         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
33034         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
33036         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
33037         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
33038         file.
33039         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
33040         file.
33041         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
33042         file.
33043         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
33044         multiarch wcscpy for PPC32.
33045         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
33046         multiarch objects.
33047         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33048         (__libc_ifunc_impl_list): Likewise.
33049         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
33050         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
33051         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
33052         sysdeps/powerpc/power6/wcscpy.c.
33054         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
33055         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
33056         file.
33057         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
33058         file.
33059         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
33060         file.
33061         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
33062         multiarch wcsrchr for PPC32.
33063         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
33064         multiarch objects.
33065         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33066         (__libc_ifunc_impl_list): Likewise.
33067         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
33068         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
33069         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
33070         sysdeps/powerpc/power6/wcsrchr.c.
33072         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
33073         file.
33074         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
33075         file.
33076         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
33077         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
33078         multiarch wcschr for PPc32.
33079         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
33080         multiarch objects.
33081         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33082         (__libc_ifunc_impl_list): Likewise.
33083         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
33084         * sysdeps/powerpc/power6/wcschr.c: ... to here.
33085         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
33086         sysdeps/powerpc/power6/wcschr.c.
33088         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
33089         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
33090         file.
33091         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
33092         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
33093         file: multiarch strchr for PPC32.
33094         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
33095         multiarch objects.
33096         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33097         (__libc_ifunc_impl_list): Likewise.
33099         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
33100         name.
33101         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
33102         file.
33103         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
33104         file.
33105         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
33106         multiarch strchrnul for PPC32.
33107         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
33108         multiarch objects.
33109         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33110         (__libc_ifunc_impl_list): Likewise.
33112         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
33113         file.
33114         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
33115         multiarch strncasecmp for PPC32.
33116         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
33117         file.
33118         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
33119         multiarch strncasecmp_l for PPC32.
33120         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
33121         strncasecmp multiarch objects.
33122         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33123         (__libc_ifunc_impl_list): Likewise.
33125         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
33126         file.
33127         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
33128         multiarch strncasecmp for PPC32.
33129         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
33130         New file.
33131         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
33132         multiarch strcasecmp_l for PPC32.
33133         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
33134         multiarch objects.
33135         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33136         (__libc_ifunc_impl_list): Likewise.
33138         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
33139         file.
33140         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
33141         file.
33142         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
33143         multiarch strncmp for PPC32.
33144         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
33145         multiarch objects.
33146         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33147         (__libc_ifunc_impl_list): Likewise.
33149         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
33150         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
33151         file.
33152         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
33153         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
33154         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
33155         multiarch objects.
33156         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33157         (__libc_ifunc_impl_list): Likewise.
33159         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
33160         file.
33161         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
33162         file.
33163         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
33164         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
33165         multiarch objects.
33166         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33167         (__libc_ifunc_impl_list): Likewise.
33169         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
33170         file.
33171         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
33172         file.
33173         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
33174         multiarch rawmemchr for PPC32.
33175         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
33176         multiarch objects.
33177         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33178         (__libc_ifunc_impl_list): Likewise.
33180         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
33181         file.
33182         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
33183         file.
33184         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
33185         file: memrchr multiarch for PPC32.
33186         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
33187         multiarch objects.
33188         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33189         (__libc_ifunc_impl_list): Likewise.
33191         * string/memchr.c (__memchr): Using macro to redefine symbol name.
33192         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
33193         file.
33194         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
33195         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
33196         multiarch memchr for PPC32.
33197         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
33198         multiarch objects.
33199         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
33200         (__libc_ifunc_impl_list): Likewise.
33202         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
33203         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
33204         file.
33205         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
33206         file.
33207         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
33208         file: multiarch mempcpy for PPC32.
33209         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
33210         multiarch objects.
33211         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
33212         (__libc_ifunc_impl_list): Likewise.
33214         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
33215         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
33216         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
33217         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
33218         multiarch bzero for PPC32.
33219         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
33220         file.
33221         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
33222         file.
33223         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
33224         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
33225         file: multiarch memset for PPC32.
33226         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
33227         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
33228         memset multiarch objects.
33229         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
33230         (__libc_ifunc_impl_list): Likewise.
33232         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
33233         file.
33234         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
33235         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
33236         memcmp for PPC32.
33237         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
33238         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
33239         multiarch objects.
33240         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
33241         (__libc_ifunc_impl_list): Likewise.
33243         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
33244         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
33245         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
33246         file.
33247         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
33248         file.
33249         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
33250         file.
33251         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
33252         multiarch memcpy for PPC32.
33253         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
33254         multiarch objects.
33255         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
33256         (__libc_ifunc_impl_list): Likewise.
33258         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
33259         support multiarch for POWER/PPC32.
33260         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
33261         Likewise.
33262         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
33263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
33264         Implies file to make multiarch folder appers before the fpu and
33265         default folder for power4 configuration.
33267 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33269         * scripts/bench.pl: Append volatile keyword to type.
33271 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33273         * sysdeps/sh/sotruss-lib.c: New file.
33274         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
33276 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33278         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33280 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
33282         [BZ #6810]
33283         * math/w_tgamma.c: Include <errno.h>.
33284         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
33285         * math/w_tgammaf.c: Include <errno.h>.
33286         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
33287         * math/w_tgammal.c: Include <errno.h>.
33288         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
33289         * math/auto-libm-test-in: Do not allow missing errno on tgamma
33290         underflow.  Add more tgamma tests.
33291         * math/auto-libm-test-out: Regenerated.
33292         * sysdeps/i386/fpu/libm-test-ulps: Update.
33293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33295         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
33296         sin, sinh, tan, tanh, tgamma, y0 and y1.
33297         * math/auto-libm-test-out: Regenerated.
33298         * math/libm-test.inc (TEST_COND_x86_64): New macro.
33299         (TEST_COND_x86): Likewise.
33300         (M_E2l): Remove macro.
33301         (M_E3l): Likewise.
33302         (M_2_SQRT_PIl): Likewise.
33303         (M_SQRT_PIl): Likewise.
33304         (M_1_DIV_El): Likewise.
33305         (log_test_data): Use AUTO_TESTS_f_f.
33306         (log10_test_data): Likewise.
33307         (log1p_test_data): Likewise.
33308         (log2_test_data): Likewise.
33309         (sin_test_data): Likewise.
33310         (sin_tonearest_test_data): Likewise.
33311         (sin_towardzero_test_data): Likewise.
33312         (sin_downward_test_data): Likewise.
33313         (sin_upward_test_data): Likewise.
33314         (sinh_test_data): Likewise.
33315         (sinh_tonearest_test_data): Likewise.
33316         (sinh_towardzero_test_data): Likewise.
33317         (sinh_downward_test_data): Likewise.
33318         (sinh_upward_test_data): Likewise.
33319         (tan_test_data): Likewise.
33320         (tan_tonearest_test_data): Likewise.
33321         (tan_towardzero_test_data): Likewise.
33322         (tan_downward_test_data): Likewise.
33323         (tan_upward_test_data): Likewise.
33324         (tanh_test_data): Likewise.
33325         (tgamma_test_data): Likewise.
33326         (y0_test_data): Likewise.
33327         (y1_test_data): Likewise.
33328         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
33329         (special_real_inputs): Add pi/4.
33330         * sysdeps/i386/fpu/libm-test-ulps: Update.
33331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33333 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33335         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
33336         "longjmp_target" static probes.
33337         (__longjmp): Rename to __longjmp_symbol.
33338         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33339         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
33340         on which longjmp to generate.
33341         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
33342         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
33343         probe.
33344         (__sigsetjmp): Rename to __sigsetjmp_symbol.
33345         (__sigjmp_save): Rename to __sigjmp_save_symbol.
33346         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
33347         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
33348         and __sigjmp_save_symbol based on which sigsetjmp to generated.
33349         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
33350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
33351         __longjmp_symbol based on which __longjmp to generate.
33352         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
33353         probe.
33354         (setjmp): Rename to setjmp_symbol.
33355         (__sigsetjmp): Rename to __sigsetjmp_symbol.
33356         (_setjmp): Rename to _setjmp_symbol.
33357         (__sigsetjmp): Rename to __sigsetjmp_symbol.
33358         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
33359         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
33360         which setjmp to generate.
33361         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
33362         "longjmp_target" static probes.
33364 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33366         * benchtests/README: Add note about output arguments.
33367         * benchtests/bench-sincos.c: Remove file.
33368         * benchtests/sincos-inputs: New file.
33369         * scripts/bench.pl: Identify output arguments and define
33370         static variables for them.
33372         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
33374         [BZ #15941]
33375         * Makefile (INSTALL): Add install-plain.texi as the primary
33376         dependency.
33377         * manual/install-plain.texi: New file.
33378         * manual/install.texi: Include node directive only for
33379         non-plaintext output.
33381 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
33383         * stdlib/longlong.h: Update from GCC.
33385         [BZ #6807]
33386         [BZ #15901]
33387         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
33388         * math/w_j0f.c (y0f): Likewise.
33389         * math/w_j0l.c (__y0l): Likewise.
33390         * math/w_j1.c (y1): Likewise.
33391         * math/w_j1f.c (y1f): Likewise.
33392         * math/w_j1l.c (__y1l): Likewise
33393         * math/w_jn.c (yn): Likewise.
33394         * math/w_jnf.c (ynf): Likewise.
33395         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
33396         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
33397         value for Bessel function domain errors outside _SVID_ mode.
33398         Adjust sign of return value for yn (negative integer, 0).
33399         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
33400         by zero in return for negative x and set sign appropriately for
33401         negative n.
33402         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
33403         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33404         * math/libm-test.inc (y0_test_data): Add more tests and adjust
33405         expectations in error cases.
33406         (y1_test_data): Likewise.
33407         (yn_test_data): Likewise.
33408         * sysdeps/i386/fpu/libm-test-ulps: Update.
33409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33411 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33413         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
33414         "64" to "64-v1".  Add "64-v2".
33415         (abi-64-options): Rename to ...
33416         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
33417         (abi-64-condition): Rename to ...
33418         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
33419         (abi-64-ld-soname): Rename to ...
33420         (abi-64-v1-ld-soname): ... this.
33421         (abi-64-v2-options): Define.
33422         (abi-64-v2-condition): Likewise.
33423         (abi-64-v2-ld-soname): Likewise.
33424         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
33425         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
33426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
33427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
33428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
33430 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33431             Alan Modra  <amodra@gmail.com>
33433         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
33434         New versions for use with the ELFv2 ABI.
33435         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
33436         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
33437         declaration.
33438         (struct La_ppc64v2_retval): Likewise.
33439         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
33440         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
33441         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
33442         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
33443         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
33444         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33445         Do not save or restore CR.
33446         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
33447         (_dl_profile_resolve): Do no save or restore CR.  Support extended
33448         return values for ELFv2 ABI.  Fix location of FPR return registers.
33449         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
33450         updated values for _CALL_ELF == 2.
33451         (La_regs, La_retval, int_retval): Likewise.
33453 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33455         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
33456         (FRAME_MIN_SIZE_PARM): Likewise.
33457         (FRAME_BACKCHAIN): Likewise.
33458         (FRAME_CR_SAVE): Likewise.
33459         (FRAME_LR_SAVE): Likewise.
33460         (FRAME_TOC_SAVE): Likewise.
33461         (FRAME_PARM_SAVE): Likewise.
33462         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
33463         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
33464         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
33465         (call_mcount_parm_offset): New macro.
33466         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
33467         (PROF): Use symbolic stack frame offsets.
33468         (TAIL_CALL_SYSCALL_ERROR): Likewise.
33469         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
33470         Redefine in terms of FRAME_MIN_SIZE.
33471         (_dl_runtime_resolve): Use symbolic stack frame offsets.
33472         (_dl_profile_resolve): Likewise.  Update comment.
33473         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
33474         symbols stack frame offsets.
33475         (__sigsetjmp): Likewise.
33476         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
33477         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
33478         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
33479         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
33481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
33482         (FRAME_BACKCHAIN): Remove.
33483         (FRAME_CR_SAVE): Likewise.
33484         (FRAME_LR_SAVE): Likewise.
33485         (FRAME_COMPILER_DW): Likewise.
33486         (FRAME_LINKER_DW): Likewise.
33487         (FRAME_TOC_SAVE): Likewise.
33488         (FRAME_PARM_SAVE): Likewise.
33489         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
33490         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
33491         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
33492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
33493         (CHECK_SP): Use symbolic stack frame offsets.
33494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
33495         zone" instead of caller's parameter save area for temp storage.
33496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33497         Likewise.  Also, use symbolic stack frame offsets.
33498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
33499         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
33500         our own stack frame instead of the caller's.
33501         (__socket): Use symbolic stack frame offsets.
33503 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33504             Alan Modra  <amodra@gmail.com>
33506         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
33507         Define.
33508         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
33509         (PPC64_LOCAL_ENTRY_OFFSET): Define.
33510         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
33511         New function.
33512         (elf_machine_fixup_plt): Call it.
33513         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
33514         reloc arguments.
33515         (elf_machine_rela): Update call to elf_machine_plt_conflict.
33516         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
33517         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
33518         r2 before calling target.
33520 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33521             Alan Modra  <amodra@gmail.com>
33523         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
33524         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
33525         versions of macros to support ELFv2 ABI.
33526         (LOCALENTRY): New macro.
33527         (ENTRY, EALIGN): Use it.
33528         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
33529         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
33530         fall through into ENTRY entry point.
33531         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
33532         Only define if _CALL_ELF != 2.
33534         (elf_machine_matches_host): Verify ABI version matches.
33535         (RTLD_START): Use LOCALENTRY.
33536         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
33537         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
33538         (PLT_ENTRY_WORDS): New macro.
33539         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
33540         (elf_machine_runtime_setup): Support ELFv2 ABI.
33541         (elf_machine_fixup_plt): Likewise.
33542         (elf_machine_plt_conflict): Likewise.
33543         (resolve_ifunc): Likewise.
33544         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
33545         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
33546         Likewise.
33547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
33548         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
33549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33550         (makecontext): Support ELFv2 ABI.
33551         * elf/elf.h (EF_PPC64_ABI): Define.
33553 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33555         * sysdeps/powerpc/powerpc64/sysdep.h
33556         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
33557         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
33558         (ENTRY) [ASSEMBLER]: ... but instead here ...
33559         (EALIGN) [ASSEMBLER]: ... and here.
33560         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
33561         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
33562         (ENTRY_2) [!ASSEMBLER]: Use it.
33563         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
33564         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
33565         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
33566         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
33567         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
33568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
33569         Use PPC64_LOAD_FUNCPTR.
33571         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
33573 2013-12-04  Alan Modra  <amodra@gmail.com>
33575         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
33576         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
33577         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
33578         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
33580         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
33581         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
33582         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
33583         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
33584         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
33585         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
33587 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33590         (__makecontext): Fix incorrect CFI when backtracing out of
33591         context created via makecontext.
33592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
33593         (__setcontext): Fix incorrect CFI during switch to new context.
33594         (__novec_setcontext): Likewise.
33596 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
33598         [BZ #4772]
33599         * time/strptime_l.c (__strptime_internal): Allow modifiers
33600         in strptime.
33601         * time/tst-strptime.c (day_tests): Add testcase.
33603 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33605         * scripts/bench.pl: Skip over blank lines.
33607 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
33609         [BZ #926]
33610         * manual/time.texi (Calendar Time): Clarify what timezone functions
33611         use.
33613 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33617 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
33619         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
33620         implementation.
33621         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
33622         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
33623         * debug/memset_chk.c (__memset_chk): Likewise.
33624         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
33625         * debug/strncpy_chk.c: Likewise.
33627 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
33629         [BZ #15268]
33630         [BZ #15425]
33631         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
33632         (__ieee754_exp): For possibly underflowing results, check size of
33633         result and force underflow exception if required.
33634         * math/auto-libm-test-in: Add more tests of exp.
33635         * math/auto-libm-test-out: Regenerated.
33636         * sysdeps/i386/fpu/libm-test-ulps: Update.
33637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33639         [BZ #16283]
33640         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
33641         * math/w_exp2f.c (__exp2f): Likewise.
33642         * math/w_exp2l.c (__exp2l): Likewise.
33643         * math/auto-libm-test-in: Do not allow missing errno on exp2
33644         underflow.
33645         * math/auto-libm-test-out: Regenerated.
33647 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
33649         [BZ #16274]
33650         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
33651         handle filename validation.
33652         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
33653         (do_open): Delete.
33655 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
33657         [BZ #6786]
33658         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
33659         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
33660         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
33661         <float.h>.
33662         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
33663         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
33664         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
33665         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
33666         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
33667         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
33668         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
33669         * math/auto-libm-test-in: Don't allow missing errno from erfc.
33670         Add more erfc tests.
33671         * math/auto-libm-test-out: Regenerated.
33672         * sysdeps/i386/fpu/libm-test-ulps: Update.
33673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33675         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
33676         exp2, expm1, j0 and j1.
33677         * math/auto-libm-test-out: Regenerated.
33678         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
33679         (erfc_test_data): Likewise.
33680         (exp_test_data): Likewise.
33681         (exp_tonearest_test_data): Likewise.
33682         (exp_towardzero_test_data): Likewise.
33683         (exp_downward_test_data): Likewise.
33684         (exp_upward_test_data): Likewise.
33685         (exp10_test_data): Likewise.
33686         (exp2_test_data): Likewise.
33687         (expm1_test_data): Likewise.
33688         (j0_test_data): Likewise.
33689         (j1_test_data): Likewise.
33690         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
33691         (input_flag_type): Add flag_xfail_rounding.
33692         (input_flags): Add xfail-rounding.
33693         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
33694         (output_for_one_input_case): Handle flag_xfail_rounding.
33695         * sysdeps/i386/fpu/libm-test-ulps: Update.
33696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33698 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
33700         [BZ #16289]
33701         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
33702         division by 0.
33704 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33706         [BZ #16195]
33707         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
33708         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
33709         (STAP_PROBE0): New macro.
33710         (STAP_PROBE1): Likewise.
33711         (STAP_PROBE2): Likewise.
33712         (STAP_PROBE3): Likewise.
33713         (STAP_PROBE4): Likewise.
33715 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
33717         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
33719 2013-12-02  Steve Ellcey  <sellcey@mips.com>
33721         * benchtests/Makefile (bench): Add sqrt.
33722         (LDLIBS-bench-sqrt): New.
33723         * benchtests/sqrt-input: New.
33725 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
33727         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
33728         (GAIH_EAI): Likewise.
33729         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
33730         (gaih_inet): Likewise.
33731         (getaddrinfo): Don't use GAIH_EAI.
33733         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
33734         (struct gaih): Remove definition.
33736 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33738         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
33739         Use HERRNOP directly.
33741 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33743         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33745 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
33747         * math/gen-auto-libm-tests.c (test_functions): Add more
33748         single-argument functions.
33749         (special_fill_pi_2): New function.
33750         (special_fill_minus_pi_2): Likewise.
33751         (special_fill_pi_6): Likewise.
33752         (special_fill_minus_pi_6): Likewise.
33753         (special_fill_pi_3): Likewise.
33754         (special_fill_2pi_3): Likewise.
33755         (special_fill_e): Likewise.
33756         (special_fill_1_e): Likewise.
33757         (special_fill_e_minus_1): Likewise.
33758         (special_real_inputs): Add more special inputs.
33759         (output_for_one_input_case): Do not require ERANGE on underflow to
33760         zero if round-to-nearest result does not underflow to zero, unless
33761         exact results required.
33762         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
33763         atan, atanh, cbrt, cos and cosh.
33764         * math/auto-libm-test-out: Regenerated.
33765         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
33766         (acos_tonearest_test_data): Likewise.
33767         (acos_towardzero_test_data): Likewise.
33768         (acos_downward_test_data): Likewise.
33769         (acos_upward_test_data): Likewise.
33770         (acosh_test_data): Likewise.
33771         (asin_test_data): Likewise.
33772         (asin_tonearest_test_data): Likewise.
33773         (asin_towardzero_test_data): Likewise.
33774         (asin_upward_test_data): Likewise.
33775         (asinh_test_data): Likewise.
33776         (atan_test_data): Likewise.
33777         (atanh_test_data): Likewise.
33778         (cbrt_test_data): Likewise.
33779         (cos_test_data): Likewise.
33780         (cos_tonearest_test_data): Likewise.
33781         (cos_towardzero_test_data): Likewise.
33782         (cos_downward_test_data): Likewise.
33783         (cos_upward_test_data): Likewise.
33784         (cosh_test_data): Likewise.
33785         (cosh_tonearest_test_data): Likewise.
33786         (cosh_towardzero_test_data): Likewise.
33787         (cosh_downward_test_data): Likewise.
33788         (cosh_upward_test_data): Likewise.
33789         * sysdeps/i386/fpu/libm-test-ulps: Update.
33790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33792 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
33794         [BZ #6787]
33795         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
33796         * math/w_exp10f.c (__exp10f): Likewise.
33797         * math/w_exp10l.c (__exp10l): Likewise.
33798         * math/libm-test.inc (exp10_test_data): Add more tests and expect
33799         errno settings in existing tests.
33801         [BZ #14032]
33802         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
33803         precision control set to double precision.
33804         * sysdeps/i386/fpu/w_sqrt.c: New file.
33805         * math/auto-libm-test-in: Add more tests.
33806         * math/auto-libm-test-out: Update.
33808         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
33809         (sqrt_test_tonearest): New function.
33810         (sqrt_towardzero_test_data): New variable.
33811         (sqrt_test_towardzero): New function.
33812         (sqrt_downward_test_data): New variable.
33813         (sqrt_test_downward): New function.
33814         (sqrt_upward_test_data): New variable.
33815         (sqrt_test_upward): New function.
33816         (main): Call the new functions.
33818         * math/gen-auto-libm-tests.c: New file.
33819         * math/auto-libm-test-in: Likewise.
33820         * math/auto-libm-test-out: New generated file.
33821         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
33822         variables.
33823         (%beautify): Add generated representations of zero.
33824         (top level): Set $auto_input and call parse_auto_input.
33825         (beautify): Remove trailing "f" from hex float constants.
33826         (parse_args): Handle XFAIL_TEST.
33827         (convert_condition): New function.
33828         (or_value): Likewise.
33829         (or_cond_value): Likewise.
33830         (generate_testfile): Handle AUTO_TESTS_* lines.
33831         (parse_auto_input): New function.
33832         * math/libm-test.inc (XFAIL_TEST): New macro.
33833         (ERRNO_UNCHANGED): Update value.
33834         (ERRNO_EDOM): Likewise.
33835         (ERRNO_ERANGE): Likewise.
33836         (IGNORE_RESULT): Likewise.
33837         (TEST_COND_flt_32): New macro.
33838         (TEST_COND_dbl_64): Likewise.
33839         (TEST_COND_ldbl_96_intel): Likewise.
33840         (TEST_COND_ldbl_96_m68k): Likewise.
33841         (TEST_COND_ldbl_128): Likewise.
33842         (TEST_COND_ldbl_128ibm): Likewise.
33843         (TEST_COND_long32): Likewise.
33844         (TEST_COND_long64): Likewise.
33845         (TEST_COND_before_rounding): Likewise.
33846         (TEST_COND_after_rounding): Likewise.
33847         (enable_test): Handle XFAIL_TEST flag.
33848         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
33849         with finite results.
33850         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
33851         auto-libm-test-out.
33853 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33854             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33856         [BZ #16214]
33857         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
33858         __tls_get_addr_internal instead of __tls_get_offset in order to
33859         avoid GOT pointer dependency.  Make rtld export
33860         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
33861         __tls_get_addr since we are a __tls_get_offset platform.
33862         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
33863         GOT pointer being set up before.
33864         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
33866 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
33868         * manual/math.texi (Errors in Math Functions): Document accuracy
33869         goals.
33871         [BZ #15004]
33872         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
33873         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
33874         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33875         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33876         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33877         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33878         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33879         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33880         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33881         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33882         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33883         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33884         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33885         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33886         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33887         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33889         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
33890         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
33891         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
33892         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
33893         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
33894         Likewise.
33895         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
33896         Likewise.
33897         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
33898         Likewise.
33899         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
33900         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
33901         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
33902         atomic-feupdateenv and flt-rounds.
33903         * sysdeps/powerpc/nofpu/Versions (libc): Add
33904         __atomic_feholdexcept, __atomic_feclearexcept,
33905         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
33906         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
33907         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
33908         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
33909         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
33910         here.
33911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
33912         Update.
33914         * manual/arith.texi (FP Exceptions): Document that exceptions may
33915         not be raised when matherr is used.
33916         (Math Error Reporting): Document overflow in directed rounding
33917         modes.  Document that errno may not be set when finite values are
33918         returned on overflow.  Document intent to set errno on underflow
33919         only for underflow to zero.
33921         [BZ #16271]
33922         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
33923         round-to-nearest then adjust result for other rounding modes.
33924         * include/fenv.h (fegetround): Use libm_hidden_proto.
33925         * math/fegetround.c (fegetround): Use libm_hidden_def.
33926         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
33927         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
33928         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
33929         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
33930         Likewise.
33931         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
33932         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33933         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
33934         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
33936 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33938         [BZ #16077]
33939         * nss/Versions (libnss_files): Add
33940         _nss_files_gethostbyname3_r.
33941         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
33942         New function.
33943         (HOST_DB_LOOKUP): Remove macro.
33944         (_nss_files_gethostbyname_r): Implement function without the
33945         HOST_DB_LOOKUP macro.
33946         (_nss_files_gethostbyname2_r): Likewise.
33948 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
33950         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
33952 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
33954         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
33955         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
33956         warning.
33958 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33960         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
33961         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
33962         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
33963         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
33964         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
33965         __fe_nomask_env_priv and attribute_hidden.
33966         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
33967         (libc_feupdateenv_test_ppc): Likewise.
33968         (libc_feresetround_ppc): Likewise.
33969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33970         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
33971         compat_symbol macro.
33972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33973         (__fe_nomask_env): Likewise.
33974         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
33976 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
33978         * string/Makefile: Remove ifunc tests.
33979         * string/test-string.h: Define TEST_IFUNC.
33980         * string/test-bcopy-ifunc.c: Remove.
33981         * string/test-bzero-ifunc.c: Likewise.
33982         * string/test-memccpy-ifunc.c: Likewise.
33983         * string/test-memchr-ifunc.c: Likewise.
33984         * string/test-memcmp-ifunc.c: Likewise.
33985         * string/test-memcpy-ifunc.c: Likewise.
33986         * string/test-memmem-ifunc.c: Likewise.
33987         * string/test-memmove-ifunc.c: Likewise.
33988         * string/test-mempcpy-ifunc.c: Likewise.
33989         * string/test-memrchr-ifunc.c: Likewise.
33990         * string/test-memset-ifunc.c: Likewise.
33991         * string/test-rawmemchr-ifunc.c: Likewise.
33992         * string/test-stpcpy-ifunc.c: Likewise.
33993         * string/test-stpncpy-ifunc.c: Likewise.
33994         * string/test-strcasecmp-ifunc.c: Likewise.
33995         * string/test-strcasestr-ifunc.c: Likewise.
33996         * string/test-strcat-ifunc.c: Likewise.
33997         * string/test-strchr-ifunc.c: Likewise.
33998         * string/test-strchrnul-ifunc.c: Likewise.
33999         * string/test-strcmp-ifunc.c: Likewise.
34000         * string/test-strcpy-ifunc.c: Likewise.
34001         * string/test-strcspn-ifunc.c: Likewise.
34002         * string/test-strlen-ifunc.c: Likewise.
34003         * string/test-strncasecmp-ifunc.c: Likewise.
34004         * string/test-strncat-ifunc.c: Likewise.
34005         * string/test-strncmp-ifunc.c: Likewise.
34006         * string/test-strncpy-ifunc.c: Likewise.
34007         * string/test-strnlen-ifunc.c: Likewise.
34008         * string/test-strpbrk-ifunc.c: Likewise.
34009         * string/test-strrchr-ifunc.c: Likewise.
34010         * string/test-strspn-ifunc.c: Likewise.
34011         * string/test-strstr-ifunc.c: Likewise.
34013 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
34015         * benchtests/Makefile: Remove ifunc tests.
34016         * benchtests/bench-string.h: Define TEST_IFUNC.
34017         * benchtests/bench-bcopy-ifunc.c: Remove.
34018         * benchtests/bench-bzero-ifunc.c: Likewise.
34019         * benchtests/bench-memccpy-ifunc.c: Likewise.
34020         * benchtests/bench-memchr-ifunc.c: Likewise.
34021         * benchtests/bench-memcmp-ifunc.c: Likewise.
34022         * benchtests/bench-memcpy-ifunc.c: Likewise.
34023         * benchtests/bench-memmem-ifunc.c: Likewise.
34024         * benchtests/bench-memmove-ifunc.c: Likewise.
34025         * benchtests/bench-mempcpy-ifunc.c: Likewise.
34026         * benchtests/bench-memrchr-ifunc.c: Likewise.
34027         * benchtests/bench-memset-ifunc.c: Likewise.
34028         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
34029         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
34030         * benchtests/bench-stpcpy-ifunc.c: Likewise.
34031         * benchtests/bench-stpncpy-ifunc.c: Likewise.
34032         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
34033         * benchtests/bench-strcasestr-ifunc.c: Likewise.
34034         * benchtests/bench-strcat-ifunc.c: Likewise.
34035         * benchtests/bench-strchr-ifunc.c: Likewise.
34036         * benchtests/bench-strchrnul-ifunc.c: Likewise.
34037         * benchtests/bench-strcmp-ifunc.c: Likewise.
34038         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
34039         * benchtests/bench-strcpy-ifunc.c: Likewise.
34040         * benchtests/bench-strcspn-ifunc.c: Likewise.
34041         * benchtests/bench-strlen-ifunc.c: Likewise.
34042         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
34043         * benchtests/bench-strncat-ifunc.c: Likewise.
34044         * benchtests/bench-strncmp-ifunc.c: Likewise.
34045         * benchtests/bench-strncpy-ifunc.c: Likewise.
34046         * benchtests/bench-strnlen-ifunc.c: Likewise.
34047         * benchtests/bench-strpbrk-ifunc.c: Likewise.
34048         * benchtests/bench-strrchr-ifunc.c: Likewise.
34049         * benchtests/bench-strsep-ifunc.c: Likewise.
34050         * benchtests/bench-strspn-ifunc.c: Likewise.
34051         * benchtests/bench-strstr-ifunc.c: Likewise.
34053 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
34055         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
34057 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
34059         * resolv/netdb.h: Use __glibc_reserved instead __unused.
34060         * rt/aio.h: Likewise.
34061         * sysdeps/gnu/bits/utmp.h: Likewise.
34062         * sysdeps/gnu/bits/utmpx.h: Likewise.
34063         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34064         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
34065         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
34066         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
34067         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
34068         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
34069         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
34070         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
34071         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
34072         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
34073         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
34074         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
34075         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
34076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
34077         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
34078         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
34079         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
34080         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
34081         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
34082         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
34083         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
34084         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
34085         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
34086         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
34087         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
34088         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34089         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
34090         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
34091         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
34092         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
34093         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
34094         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
34095         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
34096         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
34097         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
34098         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
34099         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
34100         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
34101         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
34102         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
34103         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
34104         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
34106 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
34108         [BZ #16245]
34109         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
34110         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
34112 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
34114         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
34115         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
34116         Likewise.
34118 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34120         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
34121         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
34122         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
34123         (__fesetround): Remove define.
34124         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
34125         rounding and exceptions handling.
34126         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
34127         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
34128         (__fe_nomask_env): Likewise.
34129         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
34130         __fegetround instead of fegetround.
34131         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
34132         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
34134 2013-11-21  Roland McGrath  <roland@hack.frob.com>
34136         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
34137         it's there.
34139         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
34141 2013-11-21  Meador Inge  <meadori@codesourcery.com>
34143         [BZ #11157]
34144         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
34145         (encrypt_r): Likewise.
34146         * malloc/obstack.h (obstack_free): Likewise.
34147         * posix/unistd.h (encrypt): Likewise.
34149 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
34151         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
34152         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
34153         DL_CALL_DT_FINI() that call the functions directly.
34154         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
34155         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
34156         * elf/dl-fini.c: Likewise.
34158 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
34160         * malloc/hooks.c (memalign_check): Add alignment rounding.
34161         * malloc/malloc.c (_mid_memalign): New function.
34162         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
34163         Implement by calling _mid_memalign.
34164         * manual/probes.texi (Memory Allocation Probes): Remove
34165         memory_valloc_retry and memory_pvalloc_retry.
34167 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34169         * locale/programs/locarchive.c (open_archive): Add const
34170         qualifier to ARCHIVEFNAME and copy default fname to
34171         DEFAULT_FNAME.
34173         [BZ #15601]
34174         * libio/tst-widetext.input: Rename Oriya to Odia.
34175         * locale/iso-639.def: Likewise.
34177         * manual/probes.texi (Mathematical Function Probes): Add
34178         documentation for sin, cos, asin and acos probes.
34179         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
34180         (__sin32): Add slowasin probe.
34181         (__cos32): Add slowacos probe.
34182         (__mpsin): Add slowsin probe.
34183         (__mpcos): Add slowcos probe.
34185 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
34187         [BZ #15483]
34188         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
34189         thread-local __sim_exceptions_thread and global
34190         __sim_exceptions_global.
34191         (__sim_disabled_exceptions): Change to thread-local
34192         __sim_disabled_exceptions_thread and global
34193         __sim_disabled_exceptions_global.
34194         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
34195         and global __sim_round_mode_global.
34196         (__simulate_exceptions): Use thread-local floating-point state and
34197         set global state from it as needed.
34198         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
34199         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
34200         __sim_round_mode_thread.
34201         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
34202         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
34203         and global __sim_exceptions_global.
34204         (__sim_disabled_exceptions): Change to thread-local
34205         __sim_disabled_exceptions_thread and global
34206         __sim_disabled_exceptions_global.
34207         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
34208         and global __sim_round_mode_global.
34209         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
34210         (SIM_SET_GLOBAL): Likewise.
34211         * sysdeps/powerpc/soft-fp/sfp-machine.h
34212         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
34213         __sim_round_mode_thread.
34214         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
34215         __sim_disabled_exceptions_thread.
34216         (__sim_exceptions): Change to __sim_exceptions_thread.
34217         (__sim_disabled_exceptions): Change to
34218         __sim_disabled_exceptions_thread.
34219         (__sim_round_mode): Change to __sim_round_mode_thread.
34220         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
34221         thread-local floating-point state and set global state from it as
34222         needed.
34223         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
34224         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
34225         (__sim_disabled_exceptions): Remove extern declaration.
34226         (feenableexcept): Use thread-local floating-point state and set
34227         global state from it as needed.
34228         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
34229         extern declaration.
34230         (__sim_disabled_exceptions): Likewise.
34231         (__sim_round_mode): Likewise.
34232         (__fegetenv): Use thread-local floating-point state.
34233         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
34234         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
34235         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
34236         floating-point state and set global state from it as needed.
34237         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
34238         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
34239         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
34240         Likewise.
34241         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
34242         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
34243         Likewise.
34244         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
34245         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
34246         Use __sim_round_mode_thread.
34247         * math/test-fenv-tls.c: New file.
34248         * math/Makefile (tests): Add test-fenv-tls.
34249         ($(objpfx)test-fenv-tls): Depend on
34250         $(common-objpfx)nptl/libpthread.so.
34252 2013-11-19  Andreas Schwab  <schwab@suse.de>
34254         * locale/programs/locale.c (show_info): Decode wordarray elements.
34255         * locale/categories.def (LC_MONETARY): Add element for
34256         _NL_MONETARY_CRNCYSTR.
34257         * locale/C-monetary.c (conversion_rate): New variable.
34258         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
34259         element.
34261 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
34263         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
34264         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
34266 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
34268         * elf/Makefile (tst-auxv): New test.
34269         * elf/tst-auxv.c: New
34270         * elf/rtld.c (dl_main): Adjust AT_EXECFN
34272 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
34274         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
34275         (hidden_proto): Caller changed.
34276         (hidden_tls_proto): New macro.
34277         (libc_hidden_tls_proto): Likewise.
34278         (rtld_hidden_tls_proto): Likewise.
34279         (libm_hidden_tls_proto): Likewise.
34280         (libresolv_hidden_tls_proto): Likewise.
34281         (librt_hidden_tls_proto): Likewise.
34282         (libdl_hidden_tls_proto): Likewise.
34283         (libnss_files_hidden_tls_proto): Likewise.
34284         (libnsl_hidden_tls_proto): Likewise.
34285         (libnss_nisplus_hidden_tls_proto): Likewise.
34286         (libutil_hidden_tls_proto): Likewise.
34288 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
34290         [BZ #10253]
34291         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
34292         (decompose_rpath): Defer expansion to fillin_rpath.
34293         (_dl_init_paths): Pass linkmap to fillin_rpath.
34295 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34297         * benchtests/Makefile: Add strsep.
34298         * benchtests/bench-strsep.c: New file: strsep benchtest.
34299         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
34301 2013-11-18  Andreas Schwab  <schwab@suse.de>
34303         * locale/programs/locale.c (show_info) [case byte]: Check for
34304         '\377' instead of '\177'.
34305         * locale/C-monetary.c (not_available): Always use "\377".
34306         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
34307         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
34308         detect unavailable sign_posn locale elements.
34309         * locale/localeconv.c (__localeconv): For grouping and
34310         mon_grouping handle "\177" and "\377" like no grouping.
34311         (INT_ELEM): New macro.  Use it to set all numeric members.
34312         * locale/programs/ld-monetary.c (monetary_read)
34313         <tok_mon_grouping>: Normalize single -1 to the empty string.
34314         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
34315         Likewise.
34317 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
34319         [BZ #16055]
34320         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
34321         when we match (nil).
34322         * stdio-common/tst-sscanf.c (struct test): Add testcase.
34324 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
34326         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
34327         (NO_TEST_INLINE): Update value.
34328         (ERRNO_UNCHANGED): Likewise.
34329         (ERRNO_EDOM): Likewise.
34330         (ERRNO_ERANGE): Likewise.
34331         (IGNORE_RESULT): Likewise.
34332         (check_float_internal): Check signs of NaN results if
34333         TEST_NAN_SIGN used.
34334         (check_complex): Pass TEST_NAN_SIGN flag through to second
34335         check_float_internal call.
34336         (copysign_test_data): Add tests with quiet NaNs as second
34337         argument.  Use TEST_NAN_SIGN.
34338         (fabs_test_data): Add test of negative quiet NaN argument.  Use
34339         TEST_NAN_SIGN.
34340         (signbit_test_data): Add tests of quiet NaN argument.
34341         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
34343         * math/gen-libm-test.pl (show_exceptions): Take extra argument
34344         $ignore_result.
34345         (parse_args): Handle function results specified as IGNORE.
34346         * math/libm-test.inc (IGNORE_RESULT): New macro.
34347         (check_float_internal): Do not check numerical result if flag
34348         IGNORE_RESULT set.
34349         (check_complex): Pass through IGNORE_RESULT to second
34350         check_float_internal call.
34351         (check_int): Do not check numerical result if flag IGNORE_RESULT
34352         set.
34353         (check_long): Likewise.
34354         (check_bool): Likewise.
34355         (check_longlong): Likewise.
34356         (lrint_test_data): Add tests of infinite and NaN arguments.
34357         (lrint_tonearest_test_data): Likewise.
34358         (lrint_towardzero_test_data): Likewise.
34359         (lrint_downward_test_data): Likewise.
34360         (lrint_upward_test_data): Likewise.
34361         (llrint_test_data): Likewise.
34362         (llrint_tonearest_test_data): Likewise.
34363         (llrint_towardzero_test_data): Likewise.
34364         (llrint_downward_test_data): Likewise.
34365         (llrint_upward_test_data): Likewise.
34366         (lround_test_data): Likewise.
34367         (llround_test_data): Likewise.
34369         * math/libm-test.inc (NO_TEST_INLINE): New macro.
34370         (ERRNO_UNCHANGED): Update value.
34371         (ERRNO_EDOM): Likewise.
34372         (ERRNO_ERANGE): Likewise.
34373         (NO_TEST_INLINE_FLOAT): New macro.
34374         (NO_TEST_INLINE_DOUBLE): Likewise.
34375         (enable_test): New function.
34376         (RUN_TEST_f_f): Check enable_test before running test.
34377         (RUN_TEST_2_f): Likewise.
34378         (RUN_TEST_fff_f): Likewise.
34379         (RUN_TEST_c_f): Likewise.
34380         (RUN_TEST_f_f1): Likewise.
34381         (RUN_TEST_fF_f1): Likewise.
34382         (RUN_TEST_fI_f1): Likewise.
34383         (RUN_TEST_ffI_f1): Likewise.
34384         (RUN_TEST_c_c): Likewise.
34385         (RUN_TEST_cc_c): Likewise.
34386         (RUN_TEST_f_i): Likewise.
34387         (RUN_TEST_f_i_tg): Likewise.
34388         (RUN_TEST_ff_i_tg): Likewise.
34389         (RUN_TEST_f_b): Likewise.
34390         (RUN_TEST_f_b_tg): Likewise.
34391         (RUN_TEST_f_l): Likewise.
34392         (RUN_TEST_f_L): Likewise.
34393         (RUN_TEST_fFF_11): Likewise.
34394         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
34395         conditionals.
34396         (cosh_test_data): Likewise.
34397         (exp_test_data): Likewise.
34398         (expm1_test_data): Likewise.
34399         (hypot_test_data): Likewise.
34400         (pow_test_data): Likewise.
34401         (sinh_test_data): Likewise.
34402         (tanh_test_data): Likewise.
34403         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
34404         flags argument.
34406         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
34407         tests with quiet NaN input and output.
34408         (acosh_test_data): Likewise.
34409         (asin_test_data): Likewise.
34410         (asinh_test_data): Likewise.
34411         (atan_test_data): Likewise.
34412         (atanh_test_data): Likewise.
34413         (atan2_test_data): Likewise.
34414         (cbrt_test_data): Likewise.
34415         (cos_test_data): Likewise.
34416         (cosh_test_data): Likewise.
34417         (erf_test_data): Likewise.
34418         (erfc_test_data): Likewise.
34419         (exp_test_data): Likewise.
34420         (exp10_test_data): Likewise.
34421         (exp2_test_data): Likewise.
34422         (expm1_test_data): Likewise.
34423         (hypot_test_data): Likewise.
34424         (j0_test_data): Likewise.
34425         (j1_test_data): Likewise.
34426         (jn_test_data): Likewise.
34427         (lgamma_test_data): Likewise.
34428         (log_test_data): Likewise.
34429         (log10_test_data): Likewise.
34430         (log1p_test_data): Likewise.
34431         (log2_test_data): Likewise.
34432         (pow_test_data): Likewise.
34433         (scalb_test_data): Likewise.
34434         (sin_test_data): Likewise.
34435         (sincos_test_data): Likewise.
34436         (sinh_test_data): Likewise.
34437         (tan_test_data): Likewise.
34438         (tanh_test_data): Likewise.
34439         (tgamma_test_data): Likewise.
34440         (y0_test_data): Likewise.
34441         (y1_test_data): Likewise.
34442         (yn_test_data): Likewise.
34444         [BZ #16167]
34445         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
34446         argument being NaN and avoid computations with second argument in
34447         that case.
34448         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34449         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
34450         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34452 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
34454         * locale/iso-639.def: Add Chitwani Tharu (the).
34456 2013-11-14  Andreas Schwab  <schwab@suse.de>
34458         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
34459         word instead of empty string.
34461 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34464         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
34465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34466         (__fe_nomask_env): Likewise.
34468 2013-11-13  Steve Ellcey  <sellcey@mips.com>
34470         * benchtests/bench-timing.h: Include time.h.
34472 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
34474         [BZ #15997]
34475         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
34476         to 3.4.0 for x32.
34477         * sysdeps/unix/sysv/linux/configure: Regenerated.
34479 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
34481         [BZ #16151]
34482         * stdlib/strtod_l.c (round_and_return): Do not consider
34483         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
34484         exponent one less than half the least subnormal exponent.
34485         * stdlib/test-strtod-round-data: Add more tests.
34486         * stdlib/tst-strtod-round.c (tests): Regenerated.
34488 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34490         [BZ #14143]
34491         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
34492         (__fe_mask_env): Likewise.
34493         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
34494         libm_hidden_proto and add function prototype.
34495         (__fe_mask_env): Add function prototype.
34496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34497         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
34498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34499         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
34500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34501         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
34503 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34505         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
34506         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
34508 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34510         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
34511         of htab_find_slot().
34513 2013-11-11  David S. Miller  <davem@davemloft.net>
34515         [BZ #16150]
34516         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
34517         symbol in the non-vis3 case in static builds.
34518         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
34519         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
34520         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
34521         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
34523 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
34525         [BZ #387]
34526         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
34527         it is empty.
34529 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34531         * benchtests/Makefile: Add bench-strtod.
34532         * benchtests/bench-strtod.c: New file: strtod benchtest
34534 2013-11-11  Andreas Schwab  <schwab@suse.de>
34536         [BZ #16153]
34537         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
34538         terminating NUL in key length.
34540 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34542         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
34543         Add artificial ODP entry for vDSO symbol for PPC64.
34544         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
34545         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
34547 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
34549         [BZ #15374]
34550         * nss/getent.c (services_keys): Recognize services starting with digit.
34552 2013-11-06  David S. Miller  <davem@davemloft.net>
34554         [BZ #15985]
34555         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
34556         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
34558 2013-11-06  Will Newton  <will.newton@linaro.org>
34560         * manual/memory.texi (Malloc Examples): Remove register
34561         keyword from examples.
34563 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
34565         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
34567 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
34569         [BZ #6981]
34570         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
34571         depending on [__GCC_IEC_559 > 0].
34572         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
34573         depending on [__GCC_IEC_559_COMPLEX > 0].
34575 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
34577         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
34578         to iso-639.def.
34580 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
34582         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
34584 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
34586         [BZ #16112]
34587         * malloc/malloc (malloc_info): Do not handle first bin as
34588         special case.
34590 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
34592         * locale/iso-639.def: Add Central Nahuatl (nhn).
34594 2013-11-01  Bruno Haible  <bruno@clisp.org>
34596         [BZ #7003]
34597         * manual/math.texi (BSD Random): Specify range upper bound as
34598         in POSIX.
34600 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
34602         * locale/iso-639.def: Add Meadow Mari (mhr).
34604 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
34606         [BZ #14752], [BZ #15763]
34607         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
34608         Validate name.
34609         * rt/tst_shm.c: Add test for escaping directory.
34611 2013-10-31  Andreas Schwab  <schwab@suse.de>
34613         [BZ #15917]
34614         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
34615         followed by 'x' as part of digit sequence.
34616         * stdio-common/tst-sscanf.c (double_tests2): New tests.
34618 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
34620         [BZ #16037]
34621         * configure.ac: allow GNU Make 4.0 and greater.
34622         * configure: Regenerated.
34624 2013-10-30  Will Newton  <will.newton@linaro.org>
34626         [BZ #16038]
34627         * malloc/hooks.c (memalign_check): Limit alignment to the
34628         maximum representable power of two.
34629         * malloc/malloc.c (__libc_memalign): Likewise.
34630         * malloc/tst-memalign.c (do_test): Add test for very
34631         large alignment values.
34632         * malloc/tst-posix_memalign.c (do_test): Likewise.
34634 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
34636         [BZ #11087]
34637         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
34638         (munmap_chunk): Likewise.
34639         (mremap_chunk): Likewise.
34641 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
34643         [BZ #15799]
34644         * stdlib/div.c (div): Remove obsolete code.
34645         * stdlib/ldiv.c (ldiv): Likewise.
34646         * stdlib/lldiv.c (lldiv): Likewise.
34648 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34650         [BZ #16071]
34651         * nss/nss_files/files-XXX.c (get_contents_ret): New
34652         enumerator.
34653         (get_contents): New function.
34654         (internal_getent): Use it.  Expand size of LINEBUFLEN.
34656 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
34658         * configure.in: Moved to ...
34659         * configure.ac: ... here. Change reference to configure.in
34660         to configure.ac.
34661         * sysdeps/arm/preconfigure.ac: ... here.
34662         configure.in to configure.ac.
34663         * sysdeps/gnu/configure.in: Moved to ...
34664         * sysdeps/gnu/configure.ac: ... here.
34665         * sysdeps/i386/configure.in: Moved to ...
34666         * sysdeps/i386/configure.ac: ... here.
34667         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
34668         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
34669         * sysdeps/mach/configure.in: Moved to ...
34670         * sysdeps/mach/configure.ac: ... here.
34671         * sysdeps/mach/hurd/configure.in: Moved to ...
34672         * sysdeps/mach/hurd/configure.ac: ... here.
34673         * sysdeps/powerpc/configure.in: Moved to ...
34674         * sysdeps/powerpc/configure.ac: ... here.
34675         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
34676         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
34677         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
34678         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
34679         * sysdeps/s390/s390-32/configure.in: Moved to ...
34680         * sysdeps/s390/s390-32/configure.ac: ... here.
34681         * sysdeps/s390/s390-64/configure.in: Moved to ...
34682         * sysdeps/s390/s390-64/configure.ac: ... here.
34683         * sysdeps/sh/configure.in: Moved to ...
34684         * sysdeps/sh/configure.ac: ... here.
34685         * sysdeps/sparc/configure.in: Moved to ...
34686         * sysdeps/sparc/configure.ac: ... here.
34687         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
34688         * sysdeps/unix/sysv/linux/configure.ac: ... here.
34689         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
34690         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
34691         * sysdeps/x86_64/configure.in: Moved to ...
34692         * sysdeps/x86_64/configure.ac: ... here.
34693         * sysdeps/x86_64/preconfigure.in: Moved to ...
34694         * sysdeps/x86_64/preconfigure.ac: ... here.
34695         * aclocal.m4: Change reference to configure.in to configure.ac.
34696         * config.h.in: Likewise.
34697         * manual/install.texi: Likewise.
34698         * manual/maint.texi: Likewise.
34699         * Makefile: Likewise.
34700         * malloc/Makefile: Likewise.
34701         * nscd/Makefile: Likewise.
34702         * Makeconfig: Change reference to configure.in and
34703         preconfigure.in to configure.ac and preconfigure.ac
34704         respectively.
34705         * INSTALL: Regenerated.
34706         * configure: Likewise.
34707         * sysdeps/gnu/configure: Likewise.
34708         * sysdeps/i386/configure: Likewise.
34709         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
34710         * sysdeps/mach/configure: Likewise.
34711         * sysdeps/mach/hurd/configure: Likewise.
34712         * sysdeps/powerpc/configure: Likewise.
34713         * sysdeps/powerpc/powerpc32/configure: Likewise.
34714         * sysdeps/powerpc/powerpc64/configure: Likewise.
34715         * sysdeps/s390/s390-32/configure: Likewise.
34716         * sysdeps/s390/s390-64/configure: Likewise.
34717         * sysdeps/sh/configure: Likewise.
34718         * sysdeps/sparc/configure: Likewise.
34719         * sysdeps/unix/sysv/linux/configure: Likewise.
34720         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
34721         * sysdeps/x86_64/configure: Likewise.
34722         * sysdeps/x86_64/preconfigure: Likewise.
34724 2013-10-29  Andreas Schwab  <schwab@suse.de>
34726         * stdio-common/Makefile (tst-swscanf-ENV): Define.
34728 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34730         * benchtests/pow-inputs: Add new inputs.
34732         * benchtests/exp-inputs: Add new inputs.
34734         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
34735         conditional check for return value.
34736         (__cos32): Likewise.
34738 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34740         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
34741         to provide a boost for large inputs with word alignment.
34742         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
34743         implementation based on optimized PPC64 strcpy.
34744         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
34745         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
34746         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
34747         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
34749 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
34751         [BZ #2801]
34752         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
34754 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
34756         [BZ #14876]
34757         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
34758         * time/tst-strptime.c (day_tests): Add testcase.
34760 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
34762         [BZ #14029]
34763         * manual/pattern.texi: Acknowledge that fnmatch can fail.
34765 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
34767         [BZ #16074]
34768         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
34769         MAP_FAILED on error.
34771 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34773         [BZ #16072]
34774         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
34775         heap for large requests.
34777 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
34779         [BZ #9954]
34780         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
34781         result if the result has no associated interface.
34782         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
34783         interface for all 127.X.Y.Z addresses.
34785 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
34787         * locale/iso-639.def: Add Ligurian (lij)
34789 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
34791         [BZ #15825]
34792         * sunrpc/rpc_main.c: Document rpcgen -5.
34794 2013-10-19  Michael Stahl  <mstahl@redhat.com>
34796         * elf/rtld.c (do_preload): Print the reason why preloading failed.
34798 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
34800         [BZ #10278]
34801         * posix/glob.c: Match only directories when trailing slash is present.
34802         * posix/tst-gnuglob.c (my_opendir): Do not open files.
34803         (main): Add testcase.
34805 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
34807         [BZ #15670]
34808         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
34810 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
34812         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
34813         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
34814         AUTH_DES and cindex for FIPS 140-2.
34815         (DES Encryption): Add cindex FIPS 46-3.
34817         * locale/locarchive.h (struct locarhandle): Add fname.
34818         * locale/programs/localedef.c (main): Pass ARGV[remaining]
34819         if an optional argument was specified to --list-archive,
34820         otherwise NULL.
34821         * locale/programs/locarchive.c (show_archive_content): Take new
34822         argument fname and pass it via ah.fname to open_archive.
34823         * locale/programs/localedef.h: Update decl.
34824         (open_archive): If AH->fname is non-null, open that file
34825         rather than the default file name, and don't ignore ENOENT.
34826         (create_archive): Set AH.fname to NULL.
34827         (delete_locales_from_archive): Likewise.
34828         (add_locales_to_archive): Likewise.
34829         * locale/programs/locfile.c (write_all_categories): Likewise.
34831 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
34832             Aldy Hernandez  <aldyh@redhat.com>
34834         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
34835         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
34836         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
34837         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
34838         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
34839         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
34840         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
34841         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
34842         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
34843         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
34844         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
34845         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
34846         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
34847         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
34848         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
34849         Likewise.
34850         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
34851         Likewise.
34852         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
34853         Likewise.
34854         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
34855         Likewise.
34856         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
34857         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
34858         Likewise.
34859         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
34860         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
34861         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
34862         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
34863         Likewise.
34864         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
34865         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
34866         * sysdeps/powerpc/preconfigure: Likewise.
34867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
34868         Likewise.
34869         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
34870         Replace contents of file by #include of <fenv_libc.h>.
34871         * sysdeps/powerpc/soft-fp/sfp-machine.h
34872         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
34873         and <sys/prctl.h>.
34874         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
34875         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
34876         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
34877         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
34878         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
34879         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
34880         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
34881         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
34882         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
34883         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
34884         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
34885         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
34886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
34887         Allow copysignl PLT reference to be missing.
34889 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
34890             Joseph Myers  <joseph@codesourcery.com
34892         [BZ #15948]
34893         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
34894         single character.
34895         (add_to_tablewc): Assert sequence of wide characters is nonempty.
34897 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34899         * elf/tst-tls-dlinfo.c: Don't include tls.h.
34900         * elf/tst-tls1.c: Likewise.
34901         * elf/tst-tls10.h: Likewise.
34902         * elf/tst-tls14.c: Likewise.
34903         * elf/tst-tls2.c: Likewise.
34904         * elf/tst-tls3.c: Likewise.
34905         * elf/tst-tls4.c: Likewise.
34906         * elf/tst-tls5.c: Likewise.
34907         * elf/tst-tls6.c: Likewise.
34908         * elf/tst-tls7.c: Likewise.
34909         * elf/tst-tls8.c: Likewise.
34910         * elf/tst-tls9.c: Likewise.
34911         * elf/tst-tlsmod1.c: Likewise.
34912         * elf/tst-tlsmod13.c: Likewise.
34913         * elf/tst-tlsmod13a.c: Likewise.
34914         * elf/tst-tlsmod14a.c: Likewise.
34915         * elf/tst-tlsmod16a.c: Likewise.
34916         * elf/tst-tlsmod16b.c: Likewise.
34917         * elf/tst-tlsmod2.c: Likewise.
34918         * elf/tst-tlsmod3.c: Likewise.
34919         * elf/tst-tlsmod4.c: Likewise.
34920         * elf/tst-tlsmod5.c: Likewise.
34921         * elf/tst-tlsmod6.c: Likewise.
34923 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
34925         [BZ #12486]
34926         * malloc/malloc.c: remove checks for statistics.
34928 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
34930         [BZ #15277]
34931         * inet/inet_net.c (inet_network): Detect additional invalid strings.
34932         * inet/tst-network.c: Add testcase.
34934 2013-10-17  Andreas Schwab  <schwab@suse.de>
34936         [BZ #15218]
34937         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
34938         to determine canonical name.
34940 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
34942         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
34943         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
34944         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34945         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34946         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34947         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34948         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34949         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34950         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
34951         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34952         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34953         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34954         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34955         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34956         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34957         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34958         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34959         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34960         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34961         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34962         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34963         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34964         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34965         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
34966         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
34967         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34968         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34969         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
34970         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34971         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
34972         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34973         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34974         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34975         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34976         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34977         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34978         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34979         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34980         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34981         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34982         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34983         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34984         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34985         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34986         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34987         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34988         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34989         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34990         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34991         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34992         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34993         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34994         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34995         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34996         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34997         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34998         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34999         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35001 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
35003         [BZ #16041]
35004         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
35005         make result into a quiet NaN.
35007 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
35009         * soft-fp/adddf3.c: Fix horizontal whitespace.
35010         * soft-fp/addsf3.c: Likewise.
35011         * soft-fp/addtf3.c: Likewise.
35012         * soft-fp/divdf3.c: Likewise.
35013         * soft-fp/divsf3.c: Likewise.
35014         * soft-fp/divtf3.c: Likewise.
35015         * soft-fp/double.h: Likewise.
35016         * soft-fp/eqdf2.c: Likewise.
35017         * soft-fp/eqsf2.c: Likewise.
35018         * soft-fp/eqtf2.c: Likewise.
35019         * soft-fp/extenddftf2.c: Likewise.
35020         * soft-fp/extended.h: Likewise.
35021         * soft-fp/extendsfdf2.c: Likewise.
35022         * soft-fp/extendsftf2.c: Likewise.
35023         * soft-fp/extendxftf2.c: Likewise.
35024         * soft-fp/fixdfdi.c: Likewise.
35025         * soft-fp/fixdfsi.c: Likewise.
35026         * soft-fp/fixdfti.c: Likewise.
35027         * soft-fp/fixsfdi.c: Likewise.
35028         * soft-fp/fixsfsi.c: Likewise.
35029         * soft-fp/fixsfti.c: Likewise.
35030         * soft-fp/fixtfdi.c: Likewise.
35031         * soft-fp/fixtfsi.c: Likewise.
35032         * soft-fp/fixtfti.c: Likewise.
35033         * soft-fp/fixunsdfdi.c: Likewise.
35034         * soft-fp/fixunsdfsi.c: Likewise.
35035         * soft-fp/fixunsdfti.c: Likewise.
35036         * soft-fp/fixunssfdi.c: Likewise.
35037         * soft-fp/fixunssfsi.c: Likewise.
35038         * soft-fp/fixunssfti.c: Likewise.
35039         * soft-fp/fixunstfdi.c: Likewise.
35040         * soft-fp/fixunstfsi.c: Likewise.
35041         * soft-fp/fixunstfti.c: Likewise.
35042         * soft-fp/floatdidf.c: Likewise.
35043         * soft-fp/floatdisf.c: Likewise.
35044         * soft-fp/floatditf.c: Likewise.
35045         * soft-fp/floatsidf.c: Likewise.
35046         * soft-fp/floatsisf.c: Likewise.
35047         * soft-fp/floatsitf.c: Likewise.
35048         * soft-fp/floattidf.c: Likewise.
35049         * soft-fp/floattisf.c: Likewise.
35050         * soft-fp/floattitf.c: Likewise.
35051         * soft-fp/floatundidf.c: Likewise.
35052         * soft-fp/floatundisf.c: Likewise.
35053         * soft-fp/floatunditf.c: Likewise.
35054         * soft-fp/floatunsidf.c: Likewise.
35055         * soft-fp/floatunsisf.c: Likewise.
35056         * soft-fp/floatunsitf.c: Likewise.
35057         * soft-fp/floatuntidf.c: Likewise.
35058         * soft-fp/floatuntisf.c: Likewise.
35059         * soft-fp/floatuntitf.c: Likewise.
35060         * soft-fp/fmadf4.c: Likewise.
35061         * soft-fp/fmasf4.c: Likewise.
35062         * soft-fp/fmatf4.c: Likewise.
35063         * soft-fp/gedf2.c: Likewise.
35064         * soft-fp/gesf2.c: Likewise.
35065         * soft-fp/getf2.c: Likewise.
35066         * soft-fp/ledf2.c: Likewise.
35067         * soft-fp/lesf2.c: Likewise.
35068         * soft-fp/letf2.c: Likewise.
35069         * soft-fp/muldf3.c: Likewise.
35070         * soft-fp/mulsf3.c: Likewise.
35071         * soft-fp/multf3.c: Likewise.
35072         * soft-fp/negdf2.c: Likewise.
35073         * soft-fp/negsf2.c: Likewise.
35074         * soft-fp/negtf2.c: Likewise.
35075         * soft-fp/op-1.h: Likewise.
35076         * soft-fp/op-2.h: Likewise.
35077         * soft-fp/op-4.h: Likewise.
35078         * soft-fp/op-8.h: Likewise.
35079         * soft-fp/op-common.h: Likewise.
35080         * soft-fp/quad.h: Likewise.
35081         * soft-fp/single.h: Likewise.
35082         * soft-fp/soft-fp.h: Likewise.
35083         * soft-fp/sqrtdf2.c: Likewise.
35084         * soft-fp/sqrtsf2.c: Likewise.
35085         * soft-fp/sqrttf2.c: Likewise.
35086         * soft-fp/subdf3.c: Likewise.
35087         * soft-fp/subsf3.c: Likewise.
35088         * soft-fp/subtf3.c: Likewise.
35089         * soft-fp/truncdfsf2.c: Likewise.
35090         * soft-fp/trunctfdf2.c: Likewise.
35091         * soft-fp/trunctfsf2.c: Likewise.
35092         * soft-fp/trunctfxf2.c: Likewise.
35093         * soft-fp/unorddf2.c: Likewise.
35094         * soft-fp/unordsf2.c: Likewise.
35095         * soft-fp/unordtf2.c: Likewise.
35097 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
35099         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
35100         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
35102 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
35104         * elf/dl-libc.c: Clear initfini list after freeing.
35106 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
35108         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
35109         * soft-fp/addsf3.c: Likewise.
35110         * soft-fp/addtf3.c: Likewise.
35111         * soft-fp/divdf3.c: Likewise.
35112         * soft-fp/divsf3.c: Likewise.
35113         * soft-fp/divtf3.c: Likewise.
35114         * soft-fp/double.h: Likewise.
35115         * soft-fp/eqdf2.c: Likewise.
35116         * soft-fp/eqsf2.c: Likewise.
35117         * soft-fp/eqtf2.c: Likewise.
35118         * soft-fp/extenddftf2.c: Likewise.
35119         * soft-fp/extended.h: Likewise.
35120         * soft-fp/extendsfdf2.c: Likewise.
35121         * soft-fp/extendsftf2.c: Likewise.
35122         * soft-fp/extendxftf2.c: Likewise.
35123         * soft-fp/fixdfdi.c: Likewise.
35124         * soft-fp/fixdfsi.c: Likewise.
35125         * soft-fp/fixdfti.c: Likewise.
35126         * soft-fp/fixsfdi.c: Likewise.
35127         * soft-fp/fixsfsi.c: Likewise.
35128         * soft-fp/fixsfti.c: Likewise.
35129         * soft-fp/fixtfdi.c: Likewise.
35130         * soft-fp/fixtfsi.c: Likewise.
35131         * soft-fp/fixtfti.c: Likewise.
35132         * soft-fp/fixunsdfdi.c: Likewise.
35133         * soft-fp/fixunsdfsi.c: Likewise.
35134         * soft-fp/fixunsdfti.c: Likewise.
35135         * soft-fp/fixunssfdi.c: Likewise.
35136         * soft-fp/fixunssfsi.c: Likewise.
35137         * soft-fp/fixunssfti.c: Likewise.
35138         * soft-fp/fixunstfdi.c: Likewise.
35139         * soft-fp/fixunstfsi.c: Likewise.
35140         * soft-fp/fixunstfti.c: Likewise.
35141         * soft-fp/floatdidf.c: Likewise.
35142         * soft-fp/floatdisf.c: Likewise.
35143         * soft-fp/floatditf.c: Likewise.
35144         * soft-fp/floatsidf.c: Likewise.
35145         * soft-fp/floatsisf.c: Likewise.
35146         * soft-fp/floatsitf.c: Likewise.
35147         * soft-fp/floattidf.c: Likewise.
35148         * soft-fp/floattisf.c: Likewise.
35149         * soft-fp/floattitf.c: Likewise.
35150         * soft-fp/floatundidf.c: Likewise.
35151         * soft-fp/floatundisf.c: Likewise.
35152         * soft-fp/floatunsidf.c: Likewise.
35153         * soft-fp/floatunsisf.c: Likewise.
35154         * soft-fp/floatuntidf.c: Likewise.
35155         * soft-fp/floatuntisf.c: Likewise.
35156         * soft-fp/floatuntitf.c: Likewise.
35157         * soft-fp/fmadf4.c: Likewise.
35158         * soft-fp/fmasf4.c: Likewise.
35159         * soft-fp/fmatf4.c: Likewise.
35160         * soft-fp/gedf2.c: Likewise.
35161         * soft-fp/gesf2.c: Likewise.
35162         * soft-fp/getf2.c: Likewise.
35163         * soft-fp/ledf2.c: Likewise.
35164         * soft-fp/lesf2.c: Likewise.
35165         * soft-fp/letf2.c: Likewise.
35166         * soft-fp/muldf3.c: Likewise.
35167         * soft-fp/mulsf3.c: Likewise.
35168         * soft-fp/multf3.c: Likewise.
35169         * soft-fp/negdf2.c: Likewise.
35170         * soft-fp/negsf2.c: Likewise.
35171         * soft-fp/negtf2.c: Likewise.
35172         * soft-fp/op-1.h: Likewise.
35173         * soft-fp/op-2.h: Likewise.
35174         * soft-fp/op-4.h: Likewise.
35175         * soft-fp/op-8.h: Likewise.
35176         * soft-fp/op-common.h: Likewise.
35177         * soft-fp/quad.h: Likewise.
35178         * soft-fp/single.h: Likewise.
35179         * soft-fp/soft-fp.h: Likewise.
35180         * soft-fp/sqrtdf2.c: Likewise.
35181         * soft-fp/sqrtsf2.c: Likewise.
35182         * soft-fp/sqrttf2.c: Likewise.
35183         * soft-fp/subdf3.c: Likewise.
35184         * soft-fp/subsf3.c: Likewise.
35185         * soft-fp/subtf3.c: Likewise.
35186         * soft-fp/truncdfsf2.c: Likewise.
35187         * soft-fp/trunctfdf2.c: Likewise.
35188         * soft-fp/trunctfsf2.c: Likewise.
35189         * soft-fp/trunctfxf2.c: Likewise.
35190         * soft-fp/unorddf2.c: Likewise.
35191         * soft-fp/unordsf2.c: Likewise.
35192         * soft-fp/unordtf2.c: Likewise.
35194 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
35196         [BZ #15672]
35197         * misc/error.c (error_tail): Fix possible buffer overflow.
35199 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
35201         [BZ #13028]
35202         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
35203         address.
35205 2013-10-14  P. J. McDermott  <pj@pehjota.net>
35207         [BZ #832]
35208         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
35209         testing pipefail option.
35211 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
35213         * soft-fp/double.h: Indent preprocessor directives inside #if.
35214         * soft-fp/extended.h: Likewise.
35215         * soft-fp/op-2.h: Likewise.
35216         * soft-fp/op-4.h: Likewise.
35217         * soft-fp/op-common.h: Likewise.
35218         * soft-fp/quad.h: Likewise.
35219         * soft-fp/single.h: Likewise.
35220         * soft-fp/soft-fp.h: Likewise.
35222 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
35224         * iconv/iconv_prog.c: Fix typos.
35225         * stdio-common/psiginfo-data.h: Likewise.
35227 2013-10-12   Reuben Thomas <rrt@sc3d.org>
35229         [BZ #15764]
35230         * locale/setlocale.c: Fix typo.
35232 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
35234         [BZ #16036]
35235         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
35236         signaling NaN arguments.
35237         * soft-fp/unordsf2.c (__unordsf2): Likewise.
35238         * soft-fp/unordtf2.c (__unordtf2): Likewise.
35240         [BZ #14910]
35241         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
35242         unordered operands.
35243         * soft-fp/gesf2.c (__gesf2): Likewise.
35244         * soft-fp/getf2.c (__getf2): Likewise.
35245         * soft-fp/ledf2.c (__ledf2): Likewise.
35246         * soft-fp/lesf2.c (__lesf2): Likewise.
35247         * soft-fp/letf2.c (__letf2): Likewise.
35249         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
35250         * soft-fp/eqsf2.c (__eqsf2): Likewise.
35251         * soft-fp/eqtf2.c (__eqtf2): Likewise.
35252         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
35253         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
35254         * soft-fp/fixdfti.c (__fixdfti): Likewise.
35255         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
35256         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
35257         * soft-fp/fixsfti.c (__fixsfti): Likewise.
35258         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
35259         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
35260         * soft-fp/fixtfti.c (__fixtfti): Likewise.
35261         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
35262         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
35263         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
35264         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
35265         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
35266         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
35267         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
35268         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
35269         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
35270         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
35271         * soft-fp/floatdisf.c (__floatdisf): Likewise.
35272         * soft-fp/floatsisf.c (__floatsisf): Likewise.
35273         * soft-fp/floattidf.c (__floattidf): Likewise.
35274         * soft-fp/floattisf.c (__floattisf): Likewise.
35275         * soft-fp/floattitf.c (__floattitf): Likewise.
35276         * soft-fp/floatundidf.c (__floatundidf): Likewise.
35277         * soft-fp/floatundisf.c (__floatundisf): Likewise.
35278         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
35279         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
35280         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
35281         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
35282         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
35283         * soft-fp/gesf2.c (__gesf2): Likewise.
35284         * soft-fp/getf2.c (__getf2): Likewise.
35285         * soft-fp/ledf2.c (__ledf2): Likewise.
35286         * soft-fp/lesf2.c (__lesf2): Likewise.
35287         * soft-fp/letf2.c (__letf2): Likewise.
35289         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
35290         Undefine and redefine.
35291         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
35292         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
35293         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
35294         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
35295         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35296         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
35297         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35298         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
35299         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35300         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
35301         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35302         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
35303         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35304         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
35305         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35307         [BZ #16032]
35308         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
35309         without decrementing exponent if mantissa >= that for the
35310         denominator, not >.
35311         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
35312         denominator, not >.  Decrement exponent in < case instead of
35313         incrementing in >= case.
35314         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
35315         without decrementing exponent if mantissa >= that for the
35316         denominator, not >.
35318         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
35319         computing saturated result for unsigned overflow.
35321 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35322             Jeff Law  <law@redhat.com>
35324         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
35325         (atan2Mp): Add systemtap probe marker.
35326         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
35327         (__ieee754_log): Add systemtap probe marker.
35328         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
35329         (atanMp): Add systemtap probe marker.
35330         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
35331         (tanMp): Add systemtap probe marker.
35332         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
35333         (__slowexp): Add systemtap probe marker.
35334         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
35335         (__slowpow): Add systemtap probe marker.
35336         * manual/probes.texi: Document probes.
35338 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
35340         [BZ #15362]
35341         * libio/fileops.c (_IO_new_file_write): Return count of bytes
35342         written.
35343         (_IO_new_file_xsputn): Don't return EOF if nothing has been
35344         written.
35345         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
35346         written to buffer but not flushed.
35347         * libio/iofwrite_u.c:  Likewise.
35348         * libio/iopadn.c:  Return bytes returned even if EOF was
35349         encountered.
35350         * libio/iowpadn.c:  Likewise.
35351         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
35352         if _IO_padn does not write the whole buffer.
35353         [!COMPILE_WPRINTF] (PAD): Likewise.
35355 2013-10-10  David S. Miller  <davem@davemloft.net>
35357         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
35358         directory block.
35360 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
35362         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
35363         instead of FSF address.
35364         * soft-fp/fixdfti.c: Likewise.
35365         * soft-fp/fixsfti.c: Likewise.
35366         * soft-fp/fixtfti.c: Likewise.
35367         * soft-fp/fixunsdfti.c: Likewise.
35368         * soft-fp/fixunssfti.c: Likewise.
35369         * soft-fp/fixunstfti.c: Likewise.
35370         * soft-fp/floattidf.c: Likewise.
35371         * soft-fp/floattisf.c: Likewise.
35372         * soft-fp/floattitf.c: Likewise.
35373         * soft-fp/floatuntidf.c: Likewise.
35374         * soft-fp/floatuntisf.c: Likewise.
35375         * soft-fp/floatuntitf.c: Likewise.
35376         * soft-fp/trunctfxf2.c: Likewise.
35378         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
35379         * soft-fp/fixdfti.c: Likewise.
35380         * soft-fp/fixsfti.c: Likewise.
35381         * soft-fp/fixtfti.c: Likewise.
35382         * soft-fp/fixunsdfti.c: Likewise.
35383         * soft-fp/fixunssfti.c: Likewise.
35384         * soft-fp/fixunstfti.c: Likewise.
35385         * soft-fp/floattidf.c: Likewise.
35386         * soft-fp/floattisf.c: Likewise.
35387         * soft-fp/floattitf.c: Likewise.
35388         * soft-fp/floatuntidf.c: Likewise.
35389         * soft-fp/floatuntisf.c: Likewise.
35390         * soft-fp/floatuntitf.c: Likewise.
35391         * soft-fp/trunctfxf2.c: Likewise.
35393 2013-10-10  David S. Miller  <davem@davemloft.net>
35395         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35397 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
35399         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
35400         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
35401         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
35402         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
35403         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
35404         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
35405         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
35407         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
35408         for NaNs before doing comparisons on argument.
35409         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
35410         Likewise.
35412 2013-10-10  Will Newton  <will.newton@linaro.org>
35414         * malloc/hooks.c (memalign_check): Ensure the value of bytes
35415         passed to _int_memalign does not overflow.
35417 2013-10-10  Torvald Riegel  <triegel@redhat.com>
35419         * scripts/bench.pl: Add include-sources directive.
35420         * benchtests/README: Update documentation.
35422 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
35424         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
35425         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
35426         instead of FP_INIT_ROUNDMODE.
35427         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
35428         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
35430         [BZ #16034]
35431         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
35432         copy class of input value.
35433         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
35434         not handle exceptions.
35435         * soft-fp/negsf2.c (__negsf2): Likewise.
35436         * soft-fp/negtf2.c (__negtf2): Likewise.
35437         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
35439 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
35441         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
35442         semicolon.  From Linux kernel.
35444 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
35446         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
35448 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
35450         [BZ #156]
35451         * manual/socket.texi: Added statement about buffer
35452         for gethostbyname2_r.
35454 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
35456         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
35457         Use .p2align directive instead, throughout.
35458         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
35459         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
35460         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
35461         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35462         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35463         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
35464         * sysdeps/x86_64/strchr.S: Likewise.
35465         * sysdeps/x86_64/strrchr.S: Likewise.
35467 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
35469         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
35471         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
35473         * sysdeps/generic/math_private.h (__mpsin1): Remove
35474         declaration.
35475         (__mpcos1): Likewise.
35476         (__mpsin): New argument __range_reduce.
35477         (__mpcos): Likewise.
35478         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35479         (slow): Use __mpsin and __mpcos.
35480         (slow1): Likewise.
35481         (slow2): Likewise.
35482         (sloww): Likewise.
35483         (sloww1): Likewise.
35484         (sloww2): Likewise.
35485         (bsloww): Likewise.
35486         (bsloww1): Likewise.
35487         (bsloww2): Likewise.
35488         (cslow2): Likewise.
35489         (csloww): Likewise.
35490         (csloww1): Likewise.
35491         (csloww2): Likewise.
35492         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
35493         range_reduce.  Merge in __mpsin1.
35494         (__mpcos): Likewise.
35495         (__mpsin1): Remove.
35496         (__mpcos1): Likewise.
35498 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
35500         * locale/loadlocale.c (_nl_intern_locale_data): Use
35501         LOCFILE_ALIGNED_P.
35502         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
35503         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
35504         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
35505         obstack data is appropriately aligned.
35506         (obstack_int32_grow_fast): Likewise.
35507         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
35508         * locale/programs/locfile.c (add_locale_uint32): Likewise.
35509         (add_locale_uint32_array): Likewise.
35511 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35513         * benchtests/Makefile: Remove ARGLIST and RET variables.
35514         ($(objpfx)bench-%.c): Pass only function name to the script.
35515         * benchtests/README: Update documentation.
35516         * benchtests/acos-inputs: Add new directives.
35517         * benchtests/acosh-inputs: Likewise.
35518         * benchtests/asin-inputs: Likewise.
35519         * benchtests/asinh-inputs: Likewise.
35520         * benchtests/atan-inputs: Likewise.
35521         * benchtests/atanh-inputs: Likewise.
35522         * benchtests/cos-inputs: Likewise.
35523         * benchtests/cosh-inputs: Likewise.
35524         * benchtests/exp-inputs: Likewise.
35525         * benchtests/log-inputs: Likewise.
35526         * benchtests/pow-inputs: Likewise.
35527         * benchtests/rint-inputs: Likewise.
35528         * benchtests/sin-inputs: Likewise.
35529         * benchtests/sinh-inputs: Likewise.
35530         * benchtests/tan-inputs: Likewise.
35531         * benchtests/tanh-inputs: Likewise.
35532         * scripts/bench.pl: Add support for new directives.
35534 2013-10-07  Alan Modra  <amodra@gmail.com>
35536         * README: Fix careless merge.
35538 2013-10-05  Alan Modra  <amodra@gmail.com>
35540         * NEWS: Mention powerpc64le support and bugs fixed.
35541         * README: Both big-endian and little-endian powerpc64 supported.
35543 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35545         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
35546         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
35547         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
35548         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
35550 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
35552         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
35553         match prototype.
35555 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
35557         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
35558         Move -mhard-float appending from
35559         ports/sysdeps/powerpc/powerpc32/Makefile.
35560         [$(with-fp) = yes] (ASFLAGS): Likewise.
35561         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
35562         * sysdeps/powerpc/nofpu: Move directory from
35563         ports/sysdeps/powerpc/nofpu.
35564         * sysdeps/powerpc/soft-fp: Move directory from
35565         ports/sysdeps/powerpc/soft-fp.
35566         * sysdeps/powerpc/powerpc32/405: Move directory from
35567         ports/sysdeps/powerpc/powerpc32/405.
35568         * sysdeps/powerpc/powerpc32/440: Move directory from
35569         ports/sysdeps/powerpc/powerpc32/440.
35570         * sysdeps/powerpc/powerpc32/464: Move directory from
35571         ports/sysdeps/powerpc/powerpc32/464.
35572         * sysdeps/powerpc/powerpc32/476: Move directory from
35573         ports/sysdeps/powerpc/powerpc32/476.
35574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
35575         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
35576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
35577         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
35578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
35579         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
35580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
35581         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
35582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
35583         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
35584         * README: Update for powerpc-*-linux-gnu software floating point
35585         support in libc.
35587         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
35588         case to powerpc/powerpc32*.
35589         * sysdeps/unix/sysv/linux/configure: Regenerated.
35591         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
35592         (_FPU_MASK_OM): Define as 0x04.
35593         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
35594         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
35595         0x00c10080.
35596         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
35597         0x0000003c.
35598         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
35600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
35601         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
35602         getcontext_e500.
35603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
35604         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
35605         setcontext_e500.
35606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
35607         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
35608         and setcontext_e500.
35610 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
35612         * locale/iso-3166.def: Update iso-1366.def and related occurrences
35614 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35616         * manual/threads.texi (Default Thread Attributes): Fix typo.
35618 2013-10-04  Will Newton  <will.newton@linaro.org>
35620         * malloc/Makefile: Add tst-memalign.
35621         * malloc/tst-memalign.c: New file.
35623         * malloc/tst-posix_memalign.c: Add comments.
35624         (do_test): Add comments and call free on all potentially
35625         allocated pointers. Add space after cast.
35627         * malloc/tst-pvalloc.c: Add comments.
35628         (do_test): Add comments and call free on all potentially
35629         allocated pointers. Remove duplicate check for NULL pointer.
35630         Add space after cast.
35632         * malloc/tst-valloc.c: Add comments.
35633         (do_test): Add comments and call free on all potentially
35634         allocated pointers. Remove duplicate check for NULL pointer.
35635         Add space after cast.
35637 2013-10-04  Alan Modra  <amodra@gmail.com>
35639         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
35640         Use stdint types in rather than __attribute__((mode())).
35641         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
35643 2013-10-04  Alan Modra  <amodra@gmail.com>
35645         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
35646         Correct handling of unaligned relocs for little-endian.
35647         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
35649 2013-10-04  Alan Modra  <amodra@gmail.com>
35651         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
35652         * configure: Regenerate.
35653         * nptl/shlib-versions: Powerpc*le starts at 2.18.
35654         * shlib-versions: Likewise.
35656 2013-10-04  Alan Modra  <amodra@gmail.com>
35658         * string/tester.c (test_memrchr): Increment reported test cycle.
35660 2013-10-04  Alan Modra  <amodra@gmail.com>
35662         * string/test-memcpy.c (do_one_test): When reporting errors, print
35663         string address and don't overrun end of string.
35665 2013-10-04  Alan Modra  <amodra@gmail.com>
35667         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
35668         insrdi.  Make better use of reg selection to speed exit slightly.
35669         Schedule entry path a little better.  Remove useless "are we done"
35670         checks on entry to main loop.  Handle wrapping around zero address.
35671         Correct main loop count.  Handle single left-over word from main
35672         loop inline rather than by using loop_small.  Remove extra word
35673         case in loop_small caused by wrong loop count.  Add little-endian
35674         support.
35675         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
35676         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
35677         cache hint.
35678         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
35679         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
35680         support.  Avoid rlwimi.
35681         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
35683 2013-10-04  Alan Modra  <amodra@gmail.com>
35685         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
35686         insrdi.  Formatting.
35687         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
35688         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
35689         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
35690         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
35691         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
35692         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
35694 2013-10-04  Alan Modra  <amodra@gmail.com>
35696         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
35697         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
35698         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
35699         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
35700         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
35701         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
35702         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
35703         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
35704         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
35705         use of regs.  Use power7 mtocrf.  Tidy function tails.
35707 2013-10-04  Alan Modra  <amodra@gmail.com>
35709         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
35710         Formatting.  Consistently use rXXX register defines or rN defines.
35711         Use early exit labels that avoid restoring unused non-volatile regs.
35712         Make cr field use more consistent with rWORDn compares.  Rename
35713         regs used as shift registers for unaligned loop, using rN defines
35714         for short lifetime/multiple use regs.
35715         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
35716         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
35717         addi 1,1,64 to pop stack frame.  Simplify return value code.
35718         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35720 2013-10-04  Alan Modra  <amodra@gmail.com>
35722         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
35723         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
35724         rather than rlwimi.
35725         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
35726         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
35727         little-endian support.  Correct typos.
35728         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
35729         rather than rlwimi.
35730         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
35731         in loop and entry code to keep "and." results.
35732         (strchr): Add little-endian support.  Comment.  Move cntlzd
35733         earlier in tail.
35734         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
35736 2013-10-04  Alan Modra  <amodra@gmail.com>
35738         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
35739         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
35740         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
35741         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
35743 2013-10-04  Alan Modra  <amodra@gmail.com>
35745         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
35746         (rTMP): Define as r11.
35747         (strcmp): Add little-endian support.  Optimise tail.
35748         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
35749         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
35750         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
35751         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35752         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
35753         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35754         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35756 2013-10-04  Alan Modra  <amodra@gmail.com>
35758         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
35759         little-endian support.  Remove unnecessary "are we done" tests.
35760         Handle "s" wrapping around zero and extremely large "size".
35761         Correct main loop count.  Handle single left-over word from main
35762         loop inline rather than by using small_loop.  Correct comments.
35763         Delete "zero" tail, use "end_max" instead.
35764         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
35766 2013-10-04  Alan Modra  <amodra@gmail.com>
35768         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
35769         support.  Don't branch over align.
35770         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
35771         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
35772         support.  Rearrange tmp reg use to suit.  Comment.
35773         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
35775 2013-10-04  Alan Modra  <amodra@gmail.com>
35777         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
35779 2013-10-04  Alan Modra  <amodra@gmail.com>
35781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
35782         conditional form of branch and link when obtaining pc.
35783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
35785 2013-10-04  Alan Modra  <amodra@gmail.com>
35787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
35788         HIWORD/LOWORD.
35789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
35790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
35792 2013-10-04  Alan Modra  <amodra@gmail.com>
35794         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
35795         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
35796         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
35797         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
35798         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
35799         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
35800         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
35801         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
35802         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
35803         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
35805 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35806             Alistair Popple <alistair@ozlabs.au.ibm.com>
35807             Alan Modra <amodra@gmail.com>
35809         [BZ #15723]
35810         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
35811         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
35812         _dl_hwcap access for little-endian.
35813         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
35814         destroy vmx regs when saving unaligned.
35815         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
35816         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
35817         destroy vmx regs when saving unaligned.
35819 2013-10-04  Alan Modra  <amodra@gmail.com>
35821         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
35822         Don't use a union to pack hi/low value.
35824 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35826         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
35827         for little-endian.
35828         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
35829         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
35830         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
35831         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
35832         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
35834 2013-10-04  Alan Modra  <amodra@gmail.com>
35836         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
35837         constants to usual value for .cst8 section, and remove redundant
35838         high address load.
35839         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
35840         constant for 0x1p52.  Load little-endian words of double from
35841         correct stack offsets.
35843 2013-10-04  Alan Modra  <amodra@gmail.com>
35845         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
35846         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
35847         words of double from correct stack offsets.
35848         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
35849         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
35850         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
35851         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
35852         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
35853         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
35854         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
35855         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
35856         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
35857         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
35858         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
35859         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
35860         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35861         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35862         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35863         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
35864         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
35866 2013-10-04  Alan Modra  <amodra@gmail.com>
35868         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
35869         64-bit int/double union.
35870         (_FPU_SETCW): Likewise.
35871         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
35872         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
35874 2013-10-04  Alan Modra  <amodra@gmail.com>
35876         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
35877         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
35879 2013-10-04  Alan Modra  <amodra@gmail.com>
35881         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
35882         use vector int constants.
35883         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
35885 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35887         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
35888         array with long long.
35889         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
35890         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
35891         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
35892         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
35893         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
35894         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
35895         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
35896         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
35897         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
35898         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
35899         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
35900         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
35901         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
35903 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
35905         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
35906         (__signbit): Likewise.  Correct for little-endian.
35907         (__signbitl): Call __signbit.
35908         (lrint): Correct for little-endian.
35909         (lrintf): Call lrint.
35911 2013-10-04  Alan Modra  <amodra@gmail.com>
35913         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
35914         union 32-bit int array member with 64-bit int array.
35915         (t515, tm256): Double rather than long double.
35916         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
35918 2013-10-04  Alan Modra  <amodra@gmail.com>
35920         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
35921         Delete.
35922         (IEEE854_LONG_DOUBLE_BIAS): Delete.
35923         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
35924         version of math_ldbl.h.
35926 2013-10-04  Alan Modra  <amodra@gmail.com>
35928         [BZ #15734], [BZ #15735]
35929         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
35930         all uses of ieee875 long double macros and unions.  Simplify test
35931         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
35932         ldbl_extract_mantissa value for ix,iy exponents.  Properly
35933         normalize after ldbl_extract_mantissa, and don't add hidden bit
35934         already handled.  Don't treat low word of ieee854 mantissa like
35935         low word of IBM long double and mask off bit when testing for
35936         zero.
35937         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
35938         all uses of ieee875 long double macros and unions.  Simplify tests
35939         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
35940         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
35941         two1022, instead use their values.  Recognise that tests for large
35942         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
35943         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
35944         Rewrite all uses of ieee875 long double macros and unions.  Simplify
35945         test for 0.0L and nan.  Correct negation.
35946         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
35947         ieee875 long double macros and unions.  Correct output for large
35948         magnitude x.  Correct absolute value calculation.
35949         (__erfcl): Likewise.
35950         * math/libm-test.inc: Add tests for errors discovered in IBM long
35951         double versions of fmodl, remainderl, erfl and erfcl.
35953 2013-10-04  Alan Modra  <amodra@gmail.com>
35955         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
35956         all uses of ieee854 long double macros and unions.  Simplify tests
35957         for long doubles that are fully specified by the high double.
35958         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
35959         Likewise.
35960         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
35961         Remove dead code too.
35962         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
35963         (__ieee754_ynl): Likewise.
35964         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
35965         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
35966         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
35967         Remove dead code too.
35968         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
35969         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
35970         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
35971         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
35972         Simplify.
35973         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
35974         Simplify.
35975         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
35976         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
35977         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
35978         Comment on variable precision.
35979         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
35980         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35981         Likewise.
35982         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35983         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35984         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35985         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
35986         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
35988 2013-10-04  Alan Modra  <amodra@gmail.com>
35990         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
35991         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
35992         all uses of ieee854 long double macros and unions.
35993         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
35994         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35995         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
35996         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
35997         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
35998         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35999         Likewise.
36000         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
36001         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36002         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
36003         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36004         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
36005         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
36006         Simplify sign and nan test too.
36007         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
36008         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
36009         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
36010         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
36011         Likewise.
36012         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
36013         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
36014         Likewise.
36015         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36016         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
36017         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
36018         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
36019         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
36020         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
36022 2013-10-04  Alan Modra  <amodra@gmail.com>
36024         * stdio-common/printf_size.c (__printf_size): Don't use
36025         union ieee854_long_double in fpnum union.
36026         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
36027         signbit macro to retrieve sign from long double.
36028         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
36029         retrieve sign from long double.
36030         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
36031         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
36032         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
36033         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
36034         * math/test-misc.c (main): Don't use union ieee854_long_double.
36036 2013-10-04  Alan Modra  <amodra@gmail.com>
36038         [BZ #15680]
36039         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
36040         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
36041         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
36042         calculation.  Remove unnecessary test for denormal exponent.
36043         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
36044         Correct handling of denormals.  Avoid undefined shift behaviour.
36045         Correct normalisation of low mantissa when low double is denormal.
36046         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
36047         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
36048         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
36049         Correct normalisation of low mantissa.  Test for overflow of high
36050         mantissa and normalise.
36051         (ldbl_nearbyint): Use more readable constant for two52.
36052         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
36053         (__mpn_construct_long_double): Fix test for overflow of high
36054         mantissa and correct normalisation.  Avoid undefined shift.
36056 2013-10-04  Alan Modra  <amodra@gmail.com>
36058         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
36059         (union ibm_extended_long_double): Define as an array of ieee754_double.
36060         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
36061         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
36062         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
36063         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36064         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36065         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
36066         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
36067         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
36068         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36069         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
36070         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
36072 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
36074         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
36075         page size instead of calling getpagesize.
36077         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
36078         (LOCFILE_ALIGN_MASK): Likewise.
36079         (LOCFILE_ALIGN_UP): Likewise.
36080         (LOCFILE_ALIGNED_P): Likewise.
36081         * locale/programs/ld-collate.c (collate_output): Use the new
36082         macros instead of __alignof__ (int32_t).
36083         * locale/weight.h (findidx): Likewise.
36085 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
36087         [BZ #431]
36088         * manual/string.texi: Fix strncat and wcsncat.
36090 2013-10-03  Brooks Moses  <bmoses@google.com>
36092         [BZ #15915]
36093         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
36094         * Makerules: ...here, and adjust associated comments.
36096 2013-10-02  Will Newton  <will.newton@linaro.org>
36098         * malloc/Makefile: Add tst-pvalloc.
36099         * malloc/tst-pvalloc.c: New file.
36101 2013-10-02  Will Newton  <will.newton@linaro.org>
36103         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
36104         improve test coverage.
36106 2013-10-02  Will Newton  <will.newton@linaro.org>
36108         * malloc/Makefile: Add tst-posix_memalign.
36109         * malloc/tst-posix_memalign.c: New file.
36111 2013-10-01  Eric Blake  <eblake@redhat.com>
36113         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
36114         Use __THROWNL rather than __THROW on static functions.
36116 2013-09-30  Petr Machata  <pmachata@redhat.com>
36118         * elf/elf.h (R_AARCH64_ABS16): New macro.
36119         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
36120         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
36121         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
36122         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
36123         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
36124         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
36125         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
36126         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
36127         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
36128         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
36129         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
36130         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
36131         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
36132         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
36133         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
36134         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
36135         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
36136         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
36137         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
36138         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
36139         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
36140         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
36141         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
36142         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
36143         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
36144         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
36145         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
36146         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
36147         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
36148         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
36149         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
36150         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
36151         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
36152         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
36153         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
36154         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
36155         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
36156         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
36157         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
36158         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
36159         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
36160         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
36161         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
36162         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
36163         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
36164         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
36165         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
36166         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
36167         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
36168         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
36169         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
36170         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
36171         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
36172         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
36173         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
36174         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
36175         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
36176         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
36177         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
36178         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
36179         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
36180         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
36181         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
36182         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
36183         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
36184         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
36185         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
36186         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
36187         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
36188         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
36189         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
36190         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
36191         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
36192         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
36193         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
36194         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
36195         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
36196         (R_AARCH64_TLSDESC_LDR): Likewise.
36197         (R_AARCH64_TLSDESC_ADD): Likewise.
36198         (R_AARCH64_TLSDESC_CALL): Likewise.
36200 2013-09-30  Andreas Schwab  <schwab@suse.de>
36202         [BZ #15048]
36203         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
36204         the nss database lookup.
36205         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36206         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36208 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
36210         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
36212 2013-09-28  P. J. McDermott  <pj@pehjota.net>
36214         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
36215         ${Bash-specific parameter/pattern/string} parameter expansion.
36216         * sysdeps/unix/make-syscalls.sh: Likewise.
36218 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36220         * sysdeps/sh/stackguard-macros.h: New file.
36222 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
36224         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
36225         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
36226         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
36227         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
36228         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36229         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
36231 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36233         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
36234         Fix thread ID register.
36236 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
36238         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
36239         [POSIX || UNIX98]: Require rather than permitting all symbols from
36240         <time.h>.
36241         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
36242         element of struct sched_param.
36243         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
36244         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
36245         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
36246         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
36247         constant.
36249 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
36251         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
36252         argument calculation.
36254 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
36256         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
36257         Expect macro.
36258         [POSIX] (pthread_attr_t): Do not require type.
36259         [POSIX] (pthread_cond_t): Likewise.
36260         [POSIX] (pthread_condattr_t): Likewise.
36261         [POSIX] (pthread_key_t): Likewise.
36262         [POSIX] (pthread_mutex_t): Likewise.
36263         [POSIX] (pthread_mutexattr_t): Likewise.
36264         [POSIX] (pthread_once_t): Likewise.
36265         [POSIX] (pthread_t): Likewise.
36266         [POSIX-based standards] (pthread_atfork): Expect function.
36268 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
36269             Richard Sandiford  <richard@codesourcery.com>
36271         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
36272         (swap_endianness_p): New extern variable.
36273         (set_big_endian): New inline function.
36274         (maybe_swap_uint32): Likewise.
36275         (maybe_swap_uint32_array): Likewise.
36276         (maybe_swap_uint32_obstack): Likewise.
36277         * locale/programs/locfile.c: Include <stdbool.h>.
36278         (swap_endianness_p): New variable.
36279         (add_locale_uint32): Call maybe_swap_uint32.
36280         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
36281         (write_locale_data): Call maybe_swap_uint32_array.
36282         * locale/programs/ld-collate.c (obstack_int32_grow): Call
36283         maybe_swap_uint32.
36284         (obstack_int32_grow_fast): Likewise.
36285         (output_weightwc): Call maybe_swap_uint32_obstack.
36286         (collate_output): Likewise.
36287         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
36288         (OPT_LITTLE_ENDIAN): Likewise.
36289         (options): Add --little-endian and --big-endian options.
36290         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
36291         * locale/programs/locarchive.c: Include "locfile.h".
36292         (GET): New macro.
36293         (SET): Likewise.
36294         (INC): Likewise.
36295         (create_archive): Use the new macros to access fields of
36296         structures directly mapped from or written to locale archives.
36297         (oldlocrecentcmp): Likewise.
36298         (enlarge_archive): Likewise.
36299         (insert_name): Likewise.
36300         (add_alias): Likewise.
36301         (add_locale): Likewise.
36302         (delete_locales_from_archive): Likewise.
36303         (show_archive_content): Likewise.
36304         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
36305         locale data.
36307 2013-09-24  Roland McGrath  <roland@hack.frob.com>
36309         * manual/freemanuals.texi: Updated from (newly) canonical copy at
36310         http://www.gnu.org/doc/freemanuals.texi.
36311         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
36313 2013-09-24  Will Newton  <will.newton@linaro.org>
36315         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
36316         macro.
36318 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
36320         * locale/hashval.h (compute_hashval): Interpret bytes of key as
36321         unsigned char.
36323 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
36325         * manual/threads.texi (POSIX Threads): Fix a typo.
36327 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36329         [BZ #14547]
36330         * string/tst-strcoll-overflow.c: New test case.
36331         * string/Makefile (xtests): Add tst-strcoll-overflow.
36332         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
36333         cache if string sizes may cause integer overflow.
36335         [BZ #14547]
36336         * string/strcoll_l.c (coll_seq): New members rule, idx,
36337         save_idx and back_us.
36338         (get_next_seq_nocache): New function.
36339         (do_compare_nocache): New function.
36340         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
36341         when malloc fails.
36343 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
36345         [BZ #15754]
36346         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
36347         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
36348         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
36350         [BZ #15754]
36351         * elf/Makefile (tests): Add tst-ptrguard1.
36352         (tests-static): Add tst-ptrguard1-static.
36353         (tst-ptrguard1-ARGS): Define.
36354         (tst-ptrguard1-static-ARGS): Define.
36355         * elf/tst-ptrguard1.c: New file.
36356         * elf/tst-ptrguard1-static.c: New file.
36357         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
36358         * sysdeps/i386/stackguard-macros.h: Likewise.
36359         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36360         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36361         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36362         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36363         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36364         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36366 2013-09-23  Hector Marco  <hecmargi@upv.es>
36367             Ismael Ripoll  <iripoll@disca.upv.es>
36368             Carlos O'Donell  <carlos@redhat.com>
36370         [BZ #15754]
36371         * sysdeps/generic/stackguard-macros.h: Define
36372         __pointer_chk_guard_local and POINTER_CHK_GUARD.
36373         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
36374         Define __pointer_chk_guard_local.
36375         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
36376         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
36378 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
36380         [BZ #15859]
36381         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
36383 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
36385         * include/string.h (__ffs): Declare as hidden.
36386         * string/ffs.c (__ffs): Define as hidden.
36387         * sysdeps/i386/ffs.c (__ffs): Likewise.
36388         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
36389         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
36390         * sysdeps/s390/ffs.c (__ffs): Likewise.
36391         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
36393 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
36395         * NEWS: Mention malloc probes.
36397         * malloc/arena.c (new_heap): New memory_heap_new probe.
36398         (grow_heap): New memory_heap_more probe.
36399         (shrink_heap): New memory_heap_less probe.
36400         (heap_trim): New memory_heap_free probe.
36401         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
36402         (systrim): New memory_sbrk_less probe.
36403         * manual/probes.texi: Document them.
36405         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
36406         * manual/probes.texi: Document it.
36408         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
36409         (__libc_realloc): Add memory_realloc_retry probe.
36410         (__libc_memalign): Add memory_memalign_retry probe.
36411         (__libc_valloc): Add memory_valloc_retry probe.
36412         (__libc_pvalloc): Add memory_pvalloc_retry probe.
36413         (__libc_calloc): Add memory_calloc_retry probe.
36414         * manual/probes.texi: Document them.
36416         * malloc/arena.c (get_free_list): Add probe
36417         memory_arena_reuse_free_list.
36418         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
36419         and memory_arena_reuse.
36420         (arena_get2) [!PER_THREAD]: Likewise.
36421         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
36422         memory_arena_reuse_realloc.
36423         * manual/probes.texi: Document them.
36425         * malloc/malloc.c (__libc_free): Add
36426         memory_mallopt_free_dyn_thresholds probe.
36427         (__libc_mallopt): Add multiple memory_mallopt probes.
36428         * manual/probes.texi: Document them.
36430         * malloc/malloc.c: Include stap-probe.h.
36431         (__libc_mallopt): Add memory_mallopt probe.
36432         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
36433         * manual/probes.texi: New.
36434         * manual/Makefile (chapters): Add probes.
36435         * manual/threads.texi: Set next node.
36437 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
36439         [BZ #15963, #13985]
36440         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
36441         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
36442         Add `Chinese' to `nan' entry name.
36444 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36446         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
36447         (POLYNOMIAL): Likewise.
36448         (TAYLOR_SINCOS): Likewise.
36449         (TAYLOR_SLOW): Likewise.
36450         (__sin): Use TAYLOR_SINCOS.
36451         (__cos): Likewise.
36452         (slow): Use TAYLOR_SLOW.
36453         (sloww): Likewise.
36454         (bsloww): Likewise.
36455         (csloww): Likewise.
36457 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
36459         * stdlib/strtod_l.c: Fix buffer overrun.
36461 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36463         * benchtests/Makefile (bench): Add sincos.
36464         * benchtests/bench-sincos.c: New file.
36466         * math/libm-test.inc (cos_test_data): New test inputs.
36467         (sin_test_data): Likewise.
36469         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
36470         macro.
36471         (__sin): Use it.
36472         (__cos): Likewise.
36473         (slow1): Likewise.
36474         (slow2): Likewise.
36475         (sloww1): Likewise.
36476         (sloww2): Likewise.
36477         (bsloww1): Likewise.
36478         (bsloww2): Likewise.
36479         (cslow2): Likewise.
36480         (csloww1): Likewise.
36481         (csloww2): Likewise.
36483         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
36484         function.
36485         (__sin): Use it.
36486         (__cos): Likewise.
36488         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
36489         gotos.
36490         (__cos): Likewise.
36492 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
36494         * config.h.in (HAVE_MIPS_NAN2008): New macro.
36495         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
36496         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
36497         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
36498         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
36499         * elf/cache.c (print_entry): Handle the new cache flags.
36501 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
36502             Aldy Hernandez  <aldyh@redhat.com>
36504         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
36505         Change condition to [_SOFT_FLOAT].
36506         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
36507         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
36508         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
36509         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
36510         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
36511         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
36512         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
36513         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
36514         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
36515         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
36516         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
36517         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
36518         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
36519         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
36520         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
36521         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
36522         declaration.
36524 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
36526         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
36527         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
36528         (__longjmp): Use LOAD_GP to load saved GPRs.
36529         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
36530         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
36531         (__sigsetjmp): Use SAVE_GP to save GPRs.
36533         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
36534         Do not append -msoft-float.
36535         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
36537 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36539         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
36541 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
36543         [BZ #15966]
36544         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
36545         (_FPU_GETCW): Use initial "__" on variable and field names but not
36546         on macro parameter name.
36547         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
36548         parentheses around reference to macro parameter.
36550 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
36552         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
36553         prototype.
36554         (ctype_startup): Use uint32_t in cast and sizeof for
36555         ctype->charnames.
36557 2013-09-11  Jia Liu  <proljc@gmail.com>
36559         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
36560         __daddr_t_defined.
36561         [__FreeBSD__]: Likewise.
36563 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
36565         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
36566         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
36567         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
36568         (strchr): Remove __strchr_sse42 ifunc selection.
36569         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
36570         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
36572 2013-09-11  Will Newton  <will.newton@linaro.org>
36574         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
36575         parameter to RES. Remove hardcoded 1000 value.
36576         * benchtests/bench-skeleton.c (main): Pass RES parameter
36577         to TIMING_INIT and multiply result by 1000.
36579 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36581         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36583 2013-09-11  Andreas Schwab  <schwab@suse.de>
36585         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
36586         if not defined.
36587         (O_TMPFILE) [__USE_GNU]: Define.
36588         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
36589         Define.
36591 2013-09-11  Will Newton  <will.newton@linaro.org>
36593         [BZ #15857]
36594         * malloc/malloc.c (__libc_memalign): Check the value of bytes
36595         does not overflow.
36597 2013-09-11  Will Newton  <will.newton@linaro.org>
36599         [BZ #15856]
36600         * malloc/malloc.c (__libc_valloc): Check the value of bytes
36601         does not overflow.
36603 2013-09-11  Will Newton  <will.newton@linaro.org>
36605         [BZ #15855]
36606         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
36607         does not overflow.
36609 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
36611         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
36612         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36613         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36614         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36615         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36617 2013-09-10  Allan McRae  <allan@archlinux.org>
36619         [BZ #15748]
36620         * manual/arith.texi (Parsing of Floats): Clarify
36621         cross-reference.
36623         [BZ #15849]
36624         * manual/install.texi (Running make install): Mention
36625         --enable-pt-chown.
36626         * INSTALL: Regenerated.
36628 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
36630         * csu/init-first.c (_init): Remove the !SHARED condition around
36631         FPU control word initialization.
36632         * elf/dl-support.c (_dl_fpu_control): New variable.
36633         (_dl_aux_init) <AT_FPUCW>: Initialize it.
36634         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
36635         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
36636         * math/test-fpucw-static.c: New file.
36637         * math/test-fpucw-ieee.c: New file.
36638         * math/test-fpucw-ieee-static.c: New file.
36639         * math/Makefile (tests): Add `test-fpucw-ieee' and
36640         `$(tests-static)'.
36641         (tests-static): New variable.
36642         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
36643         dependency to...
36644         [($(build-shared),yes)]
36645         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
36646         ... this.
36647         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
36648         New dependency.
36650 2013-09-09  Allan McRae  <allan@archlinux.org>
36652         [BZ #15939]
36653         * manual/string.texi (Collation Functions): Fix typo in
36654         strcoll example.
36655         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
36657         [BZ #15893]
36658         * stdlib/isomac.c (get_null_defines): Fix memory leak.
36660         [BZ #15892]
36661         * libio/memstream.c (open_memstream): Fix memory leak.
36662         * libio/wmemstream.c (open_wmemstream): Likewise.
36664         [BZ #15895]
36665         * nscd/netgroupcache.c: Fix nesting of ifdefs.
36667 2013-09-09  Will Newton  <will.newton@linaro.org>
36669         * malloc/Makefile: Add tst-realloc to tests.
36670         * malloc/tst-realloc.c: New file.
36672 2013-09-09  Allan McRae  <allan@archlinux.org>
36674         [BZ #15844]
36675         * COPYING: Update from GNU website to fix FSF address.
36676         * COPYING.LIB: Likewise.
36678 2013-09-06  David S. Miller  <davem@davemloft.net>
36680         * po/zh_TW.po: Update Chinese (traditional) translation from
36681         translation project.
36683 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
36684             Joseph Myers  <joseph@codesourcery.com>
36686         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
36687         "localeinfo.h".
36688         (obstack_chunk_alloc): New macro.
36689         (obstack_chunk_free): Likewise.
36690         (record_offset): New function.
36691         (init_locale_data): Likewise.
36692         (align_locale_data): Likewise.
36693         (add_locale_empty): Likewise.
36694         (add_locale_raw_data): Likewise.
36695         (add_locale_raw_obstack): Likewise.
36696         (add_locale_string): Likewise.
36697         (add_locale_wstring): Likewise.
36698         (add_locale_uint32): Likewise.
36699         (add_locale_uint32_array): Likewise.
36700         (add_locale_char): Likewise.
36701         (start_locale_structure): Likewise.
36702         (end_locale_structure): Likewise.
36703         (start_locale_prelude): Likewise.
36704         (end_locale_prelude): Likewise.
36705         (write_locale_data): Take locale_file structure rather than an
36706         iovec.
36707         * locale/programs/locfile.h: Include "obstack.h".
36708         (struct locale_file): Change to store locale file contents instead
36709         of header.
36710         (init_locale_data): New prototype.
36711         (align_locale_data): Likewise.
36712         (add_locale_empty): Likewise.
36713         (add_locale_raw_data): Likewise.
36714         (add_locale_raw_obstack): Likewise.
36715         (add_locale_string): Likewise.
36716         (add_locale_wstring): Likewise.
36717         (add_locale_uint32): Likewise.
36718         (add_locale_uint32_array): Likewise.
36719         (add_locale_char): Likewise.
36720         (start_locale_structure): Likewise.
36721         (end_locale_structure): Likewise.
36722         (start_locale_prelude): Likewise.
36723         (end_locale_prelude): Likewise.
36724         (write_locale_data): Update prototype.
36725         * locale/programs/3level.h (struct TABLE): Remove result field.
36726         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
36727         Use new locale_file interface.
36728         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
36729         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
36730         * locale/programs/ld-address.c (address_output): Use new
36731         locale_file interface.
36732         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
36733         NO_ADD_LOCALE.
36734         (collate_finish): Don't call collseq_table_finalize.
36735         (collate_output): Use new locale_file interface.
36736         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
36737         in file.
36738         (NO_FINALIZE): Change to NO_ADD_LOCALE.
36739         (TABLE): Move defines earlier in file.
36740         (ELEMENT): Likewise.
36741         (DEFAULT): Likewise.
36742         (wctrans_table_add): Move macro and inline function earlier in
36743         file.
36744         (struct wctype_table): Move type earlier in file.
36745         (add_locale_wctype_table): New static prototype.
36746         (struct locale_ctype_t): Use logical types instead of struct iovec
36747         pointers for members.
36748         (ctype_output): Use new locale_file interface.
36749         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
36750         new locale_file interface.
36751         (allocate_arrays): Update for use of new locale_file interface.
36752         * locale/programs/ld-identification.c (identification_output): Use
36753         new locale_file interface.
36754         * locale/programs/ld-measurement.c (measurement_output): Likewise.
36755         * locale/programs/ld-messages.c (messages_output): Likewise.
36756         * locale/programs/ld-monetary.c (monetary_output): Likewise.
36757         * locale/programs/ld-name.c (name_output): Likewise.
36758         * locale/programs/ld-numeric.c (numeric_output): Likewise.
36759         * locale/programs/ld-paper.c (paper_output): Likewise.
36760         * locale/programs/ld-telephone.c (telephone_output): Likewise.
36761         * locale/programs/ld-time.c (time_output): Likewise.
36763 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36765         * benchtests/Makefile: Add memrchr benchmark.
36766         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
36767         benchmark as memrchr.
36768         * benchtests/bench-memrchr-ifunc.c: New file.
36769         * benchtests/bench-memrchr.c: New file.
36771 2013-09-06   Will Newton  <will.newton@linaro.org>
36773         * benchtests/Makefile (string-bench): Add memcpy.
36775 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
36776             Cong Wang  <amwang@redhat.com>
36778         [BZ #15850]
36779         * sysdeps/unix/sysv/linux/bits/in.h
36780         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
36781         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
36782         before __USE_KERNEL_IPV6_DEFS uses.
36783         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
36784         IPPROTO_BEETPH.
36785         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
36786         sockaddr_in6, or ipv6_mreq.
36788 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36790         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
36791         memory access for final bytes in some large inputs.
36792         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
36794 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36796         * string/test-memrchr.c: New file.
36797         * string/test-memrchr-ifunc.c: New file.
36798         * string/Makefile: Add new memrchr testcase.
36800 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
36802         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
36803         fanotify_init returns EPERM.
36805 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
36807         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
36808         errors.
36809         (top level): Treat second token from macro or constant entries for
36810         allowed headers as allowed.
36811         * include/complex.h: Condition internal declarations on
36812         [!_ISOMAC].
36813         * include/fenv.h: Condition include of <stdbool.h> and internal
36814         declarations on [!_ISOMAC].
36816 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
36818         [BZ #15923]
36819         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
36821 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
36823         * configure.in (--enable-versioning): Remove configure option.
36824         (libc_cv_asm_symver_directive): Remove configure test.
36825         (libc_cv_ld_version_script_option): Likewise.
36826         (VERSIONING): Remove variable and AC_SUBST.
36827         (DO_VERSIONING): Remove AC_DEFINE.
36828         * configure: Regenerated.
36829         * config.h.in (DO_VERSIONING): Remove macro.
36830         * Makerules [$(versioning) = yes]: Change conditionals to
36831         [$(build-shared) = yes].
36832         * config.make.in (versioning): Remove variable.
36833         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
36834         [$(build-shared) = yes].
36835         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
36836         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
36837         * elf/Makefile [$(versioning) = yes]: Change conditionals to
36838         [$(build-shared) = yes].
36839         * extra-lib.mk [$(versioning) = yes]: Likewise.
36840         * hurd/Makefile [$(versioning) = yes]: Likewise.
36841         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
36842         [SHARED].
36843         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
36844         [SHARED].
36845         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
36846         [SHARED && !NO_HIDDEN].
36847         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
36848         [SHARED].
36849         [SHARED && DO_VERSIONING]: Likewise..
36850         * libio/Makefile [$(versioning) = yes]: Change conditionals to
36851         [$(build-shared) = yes].
36852         * manual/install.texi (--disable-versioning): Remove
36853         documentation.
36854         * INSTALL: Regenerated.
36855         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
36856         to [SHARED].
36857         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
36858         [$(build-shared) = yes].
36859         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
36860         * sysdeps/i386/i686/multiarch/strstr-c.c
36861         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
36862         [SHARED && !NO_HIDDEN].
36863         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
36864         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
36865         * sysdeps/powerpc/powerpc32/dl-machine.c
36866         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
36867         * sysdeps/powerpc/powerpc32/sysdep.h
36868         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
36869         to [SHARED && PIC && !NO_HIDDEN].
36870         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
36871         conditional to [SHARED].
36873 2013-09-04   Will Newton  <will.newton@linaro.org>
36875         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
36876         * benchtests/bench-string.h: Include bench-timing.h instead
36877         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
36878         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
36879         call to HP_TIMING_DIFF_INIT.
36880         * benchtests/bench-memccpy.c: Use bench-timing.h macros
36881         instead of hp-timing.h macros.
36882         * benchtests/bench-memchr.c: Likewise.
36883         * benchtests/bench-memcmp.c: Likewise.
36884         * benchtests/bench-memcpy.c: Likewise.
36885         * benchtests/bench-memmem.c: Likewise.
36886         * benchtests/bench-memmove.c: Likewise.
36887         * benchtests/bench-memset.c: Likewise.
36888         * benchtests/bench-rawmemchr.c: Likewise.
36889         * benchtests/bench-strcasecmp.c: Likewise.
36890         * benchtests/bench-strcasestr.c: Likewise.
36891         * benchtests/bench-strcat.c: Likewise.
36892         * benchtests/bench-strchr.c: Likewise.
36893         * benchtests/bench-strcmp.c: Likewise.
36894         * benchtests/bench-strcpy.c: Likewise.
36895         * benchtests/bench-strcpy_chk.c: Likewise.
36896         * benchtests/bench-strlen.c: Likewise.
36897         * benchtests/bench-strncasecmp.c: Likewise.
36898         * benchtests/bench-strncat.c: Likewise.
36899         * benchtests/bench-strncmp.c: Likewise.
36900         * benchtests/bench-strncpy.c: Likewise.
36901         * benchtests/bench-strnlen.c: Likewise.
36902         * benchtests/bench-strpbrk.c: Likewise.
36903         * benchtests/bench-strrchr.c: Likewise.
36904         * benchtests/bench-strspn.c: Likewise.
36905         * benchtests/bench-strstr.c: Likewise.
36907 2013-09-04  Will Newton  <will.newton@linaro.org>
36909         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
36911 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
36913         [BZ #15427]
36914         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
36915         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
36916         * math/libm-test.inc (lgamma_test_data): Add more tests.
36917         * sysdeps/i386/fpu/libm-test-ulps: Update.
36918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36920 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
36922         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
36923         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36924         Add ifunc.
36925         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36926         Add strcmp-sse2-unaligned
36927         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
36929 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
36931         * Versions.def (libc): Add GLIBC_2.19.
36933 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
36935         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
36936         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
36938 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
36940         [BZ #14155]
36941         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
36942         intermediate calculations in recurrence.
36943         (__ieee754_ynf): Likewise.
36944         * math/libm-test.inc (jn_test_data): Do not allow spurious
36945         underflow exception.  Add more tests.
36946         (yn_test_data): Add more tests.
36947         * sysdeps/i386/fpu/libm-test-ulps: Update.
36948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36950 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
36952         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
36954 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
36956         * csu/init-first.c: Fix then/than typos.
36957         * locale/programs/ld-collate.c: Likewise.
36958         * locale/programs/linereader.h: Likewise.
36959         * manual/charset.texi: Likewise.
36960         * manual/filesys.texi: Likewise.
36961         * manual/stdio.texi: Likewise.
36962         * manual/string.texi: Likewise.
36963         * stdlib/fmtmsg.c: Likewise.
36964         * sysdeps/i386/stpncpy.S: Likewise.
36965         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36966         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
36967         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36968         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
36970 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
36972         * elf/dl-open.c: Fix typos.
36973         * iconvdata/gbbig5.c: Likewise.
36974         * iconvdata/iso-2022-jp.c: Likewise.
36975         * iconv/gconv_int.h: Likewise.
36976         * iconv/loop.c: Likewise.
36977         * nis/rpcsvc/nis.h: Likewise.
36978         * resolv/ns_name.c: Likewise.
36979         * stdio-common/vfscanf.c: Likewise.
36980         * streams/stropts.h: Likewise.
36981         * sunrpc/rpc_thread.c: Likewise.
36982         * sysdeps/i386/strpbrk.S: Likewise.
36983         * sysdeps/ieee754/k_standard.c: Likewise.
36984         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36985         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36986         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
36987         * sysdeps/mach/hurd/profil.c: Likewise.
36988         * sysdeps/s390/dl-procinfo.h: Likewise.
36989         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
36990         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
36991         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
36992         * sysdeps/x86_64/dl-trampoline.S: Likewise.
36993         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36995 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
36997         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
36998         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
37000 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
37002         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
37003         aix specific files.
37004         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
37005         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
37006         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
37007         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
37008         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
37009         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
37010         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
37011         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
37013 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
37014             Roland McGrath  <roland@hack.frob.com>
37016         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
37017         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
37019 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37021         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
37022         __executable_start symbol instead of _start.
37024 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
37026         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
37027         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
37028         Move macros to...
37029         * sysdeps/gnu/ldsodefs.h: ... this new file.
37031         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
37032         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
37033         instead of ELFOSABI_LINUX.
37035         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
37036         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
37037         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
37038         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
37039         Likewise.
37040         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
37041         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
37042         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
37043         Likewise.
37044         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
37045         (ibm_extended_long_double): Add ieee_nan member.
37046         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
37047         (do_test): New function.
37049         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
37050         TEST_TRUNC.
37051         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
37052         functions, renamed from truncdfsf_test, trunctfsf_test,
37053         trunctfdf_test.
37054         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
37055         functions.
37056         (do_test): Run all these.
37058 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
37060         * argp/argp-help.c: Fix typos.
37061         * argp/argp-parse.c: Likewise.
37062         * debug/backtracesyms.c: Likewise.
37063         * elf/elf.h: Likewise.
37064         * malloc/malloc.c: Likewise.
37065         * nis/nis_print.c: Likewise.
37066         * resolv/res_comp.c: Likewise.
37067         * stdlib/stdlib.h: Likewise.
37068         * sunrpc/clnt_tcp.c: Likewise.
37069         * sunrpc/clnt_udp.c: Likewise.
37070         * sunrpc/clnt_unix.c: Likewise.
37071         * sysdeps/unix/bsd/ptsname.c: Likewise.
37072         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
37073         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
37074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
37075         Likewise.
37076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
37077         Likewise.
37078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
37079         Likewise.
37080         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37082 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37084         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
37085         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37087 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
37089         [BZ #15897]
37090         * dlfcn/Makefile (tests): Add bug-dl-leaf.
37091         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
37092         ($(objpfx)bug-dl-leaf): New rule.
37093         ($(objpfx)bug-dl-leaf.so): Likewise.
37094         ($(objpfx)bug-dl-leaf.out): Likewise.
37095         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
37096         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
37097         * dlfcn/bug-dl-leaf.c: New test.
37098         * dlfcn/bug-dl-leaf-lib.c: Likewise.
37099         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
37100         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
37101         (dlclose): Likewise.
37102         (dlmopen): Likewise.
37104 2013-08-27  Roland McGrath  <roland@hack.frob.com>
37106         * include/netdb.h [!_ISOMAC]:
37107         Don't include <tls.h>.
37108         (h_errno, __libc_h_errno): Move declaration and macros out of
37109         [_LIBC_REENTRANT].
37111         * include/resolv.h [_RESOLV_H_]:
37112         Don't include <tls.h>.
37113         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
37114         * resolv/res_libc.c: Don't include <tls.h>.
37115         (_res): Use __attribute__ ((nocommon)) in place of
37116         __attribute__ ((section (".bss"))).
37118         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
37119         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
37121         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
37123         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
37124         only under [SIOCGIFCONF && SIOCGIFNETMASK].
37126         * resolv/res_mkquery.c: Include <sys/time.h>.
37128         * inet/ifreq.c: Moved to ...
37129         * sysdeps/unix/ifreq.c: ... here.
37130         * inet/ifreq.c: New file, true stub version.
37132         * socket/sa_len.c: New file.
37133         * socket/Makefile (aux): Add it.
37134         * sysdeps/unix/sysv/linux/Makefile
37135         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
37136         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
37137         and #include <socket/sa_len.c>.
37138         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
37139         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
37141         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
37142         * bits/socket.h: ... here.
37144         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
37145         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
37146         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
37148 2013-08-27  Andreas Schwab  <schwab@suse.de>
37150         [BZ #15736]
37151         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
37152         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
37153         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
37154         * string/test-strcasecmp.c (test_main): Run tests in several
37155         locales.
37156         * string/test-strncasecmp.c (test_main): Likewise.
37158         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
37159         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
37160         to __strcasecmp_nonascii and __strncasecmp_nonascii.
37161         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
37162         (__strncasecmp_ssse3) [PIC]: Likewise.
37164 2013-08-26  Roland McGrath  <roland@hack.frob.com>
37166         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
37168         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
37169         instead of explicitly declaring xdecrypt.
37170         * nis/nss_nis/nis-publickey.c: Likewise.
37172 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37174         [BZ #15890]
37175         * nscd/aicache.c: Include res_hconf.h.
37176         (addhstaiX): Initialize res_hconf.
37178 2013-08-26  Andreas Schwab  <schwab@suse.de>
37180         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
37181         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
37183 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37185         * nscd/aicache.c (addhstaiX): Fix indentation.
37187 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
37189         * configure.ac: Quote $build_pt_chown test.
37190         * configure: Regenerated.
37192 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
37194         [BZ #15532]
37195         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
37196         * math/s_cexpf.c (__cexpf): Likewise.
37197         * math/s_cexpl.c (__cexpl): Likewise.
37198         * math/libm-test.inc (cexp_test_data): Correct expected return
37199         value for NaN + i0.  Add another test.
37201 2013-08-22  David S. Miller  <davem@davemloft.net>
37203         * po/ca.po: Update Catalan translation from translation project.
37204         * po/uk.po: Add Ukrainian translations from translation project.
37206 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
37208         [BZ #15797]
37209         * math/s_fdim.c (__fdim): Check for infinite arguments if result
37210         is infinite, not alongside NaN test.
37211         * math/s_fdimf.c (__fdimf): Likewise.
37212         * math/s_fdiml.c (__fdiml): Likewise.
37213         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
37214         errno is unchanged.
37216 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
37218         * argp/argp-help.c: Fix typos.
37219         * crypt/speeds.c: Likewise.
37220         * csu/check_fds.c: Likewise.
37221         * elf/dl-load.c: Likewise.
37222         * elf/dl-open.c: Likewise.
37223         * elf/reldep3.c: Likewise.
37224         * elf/reldep.c: Likewise.
37225         * elf/sprof.c: Likewise.
37226         * iconv/iconv_charmap.c: Likewise.
37227         * iconv/skeleton.c: Likewise.
37228         * iconv/strtab.c: Likewise.
37229         * io/lockf64.c: Likewise.
37230         * libio/libioP.h: Likewise.
37231         * resolv/gai_notify.c: Likewise.
37232         * resolv/ns_name.c: Likewise.
37233         * resolv/ns_samedomain.c: Likewise.
37234         * resolv/res_send.c: Likewise.
37235         * stdlib/random.c: Likewise.
37236         * sunrpc/rpc/xdr.h: Likewise.
37237         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
37238         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37239         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37240         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37241         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37242         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37243         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37244         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37245         * sysdeps/mach/hurd/check_fds.c: Likewise.
37246         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
37247         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
37248         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37249         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
37250         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37251         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
37252         * sysdeps/pthread/aio_notify.c: Likewise.
37253         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
37254         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
37255         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
37256         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
37257         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
37259 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37261         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
37262         version if bit_Slow_SSE4_2 is set.
37263         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37264         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37266 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37268         [BZ #15867]
37269         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
37270         trampoline stack frame information.
37271         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
37272         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
37273         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
37274         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
37275         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
37276         * sysdeps/unix/sysv/linux/powerpc/init-first.c
37277         (_libc_vdso_platform_setup): Initialize the signal trampolines.
37278         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
37279         sa_flags value.
37280         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
37281         interrupting a syscall and set with option SA_SIGINFO.
37283 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
37285         [BZ #15531]
37286         * math/s_cproj.c (__cproj): Only return an infinity if one part of
37287         argument is infinite.
37288         * math/s_cprojf.c (__cprojf): Likewise.
37289         * math/s_cprojl.c (__cprojl): Likewise.
37290         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
37291         * math/libm-test.inc (cproj_test_data): Add more tests.
37293         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
37295         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
37296         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
37297         size.  Use __ffs to determine corresponding shift.
37299 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
37300             Roland McGrath  <roland@hack.frob.com>
37302         * Makefile (INSTALL): Remove trailing blank lines from output of
37303         makeinfo.
37305 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37307         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
37308         Align 32 bit compat elf_greg to 8 bytes.
37310 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
37312         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
37314 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37316         * string/strcoll_l.c (coll_seq): New structure.
37317         (get_next_seq_cached): New function.
37318         (get_next_seq): New function.
37319         (do_compare): New function.
37320         (STRCOLL): Use GNU style definition.  Simplify implementation
37321         by using get_next_seq, get_next_seq_cached and do_compare.
37323 2013-08-16  Florian Weimer  <fweimer@redhat.com>
37325         [BZ #14699]
37326         CVE-2013-4237
37327         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
37328         member.
37329         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
37330         member.
37331         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
37332         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
37333         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
37334         conditional.
37335         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
37336         GETDENTS_64BIT_ALIGNED.
37337         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37338         * manual/filesys.texi (Reading/Closing Directory): Document
37339         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
37340         strongly.
37341         * manual/conf.texi (Limits for Files): Add portability note to
37342         NAME_MAX, PATH_MAX.
37343         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
37345 2013-08-13  Andreas Schwab  <schwab@suse.de>
37347         [BZ #15749]
37348         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
37349         of fabs.
37350         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
37351         LDBL_MAX_EXP >= 16384]: Add tests for it.
37353 2013-08-12  David S. Miller  <davem@davemloft.net>
37355         * version.h (RELEASE): Set to "development".
37356         (VERSION): Set to "2.18.90".
37357         * NEWS: Add 2.19 section.
37359 2013-08-03  David S. Miller  <davem@davemloft.net>
37361         * po/ko.po: Update Korean translation from translation project.
37363 2013-08-01  David S. Miller  <davem@davemloft.net>
37365         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
37366         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
37367         Bilka.
37369 2013-07-30  David S. Miller  <davem@davemloft.net>
37371         * po/fr.po: Update French translation from translation project.
37373 2013-07-28  David S. Miller  <davem@davemloft.net>
37375         * po/cs.po: Update Czech translation from translation project.
37377         * po/sv.po: Update Swedish translation from translation project.
37379 2013-07-27  David S. Miller  <davem@davemloft.net>
37381         * po/eo.po: Update Esperanto translation from translation project.
37383         * po/vi.po: Update Vietnamese translation from translation project.
37385         * po/de.po: Update German translation from translation project.
37387 2013-07-26  David S. Miller  <davem@davemloft.net>
37389         * po/bg.po: Update Bulgarian translation from translation project.
37391         * po/nl.po: Update Dutch translation from translation project.
37392         * po/pl.po: Update Polish translation from translation project.
37393         * po/ru.po: Update Russian translation from translation project.
37395 2013-07-24  David S. Miller  <davem@davemloft.net>
37397         * po/libc.pot: Update.
37399 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37401         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
37402         variable page size.
37403         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
37404         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
37405         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
37407 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37409         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
37411 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37412             Andreas Schwab  <schwab@suse.de>
37413             Roland McGrath  <roland@hack.frob.com>
37414             Joseph Myers  <joseph@codesourcery.com>
37415             Carlos O'Donell  <carlos@redhat.com>
37417         [BZ #15755]
37418         * config.h.in: Define HAVE_PT_CHOWN.
37419         * config.make.in (build-pt-chown): New variable.
37420         * configure.in (--enable-pt_chown): New configure option.
37421         * configure: Regenerate.
37422         * login/Makefile: Include Makeconfig.  Build pt_chown only if
37423         build-pt-chown is enabled.
37424         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
37425         pt_chown to fix pty ownership.
37426         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
37427         CLOSE_ALL_FDS.
37428         * manual/install.texi (Configuring and compiling): Mention
37429         --enable-pt_chown. Add @findex for grantpt.
37430         * INSTALL: Regenerate.
37432 2013-07-20  David S. Miller  <davem@davemloft.net>
37434         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
37435         difference between 32-bit and 64-bit.
37437 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
37439         [BZ #15711]
37440         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
37441         Avoid system header dependency with -ffreestanding.
37442         ($(objpfx)bits/syscall%d): Likewise.
37444 2013-07-13  David S. Miller  <davem@davemloft.net>
37446         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
37447         underflows from atanl/atan2l due to bug 15319.
37448         (casinh_test_data): Likewise.
37450 2013-07-07  David S. Miller  <davem@davemloft.net>
37452         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
37454 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
37456         * sysdeps/i386/fpu/libm-test-ulps: Update.
37457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37459 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37461         * configure.in (--enable-lock-elision): Fix message text.
37462         * INSTALL: Regenerate.
37463         * configure: Regenerate.
37465 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37467         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37469 2013-07-03  Andreas Jaeger  <aj@suse.de>
37471         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
37472         define.
37473         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
37474         (ptrace_peeksiginfo_args): Add.
37475         (__ptrace_peeksiginfo_flags): Add.
37476         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37477         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37478         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37480 2013-07-03  Allan McRae  <allan@archlinux.org>
37482         * sysdeps/i386/fpu/libm-test-ulps: Update.
37484 2013-07-02  David S. Miller  <davem@davemloft.net>
37486         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37488 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
37490         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37492 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
37494         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
37495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37497 2013-07-02  Andi Kleen <ak@linux.intel.com>
37499         * config.h.in (ENABLE_LOCK_ELISION): Add.
37500         * configure.in (--enable-lock-elision): Add option.
37501         * manual/install.texi: Document --enable lock elision.
37502         * configure: Regenerate
37503         * INSTALL: Regenerate.
37505 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
37507         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
37508         SSE4.2 strcasecmp for libc.a.
37509         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
37511 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
37513         [BZ #13304]
37514         * soft-fp/op-common.h (_FP_FMA): New macro.
37515         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
37516         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
37517         (_FP_MUL_MEAT_1_imm): ... here.
37518         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
37519         (_FP_MUL_MEAT_1_wide): ... here.
37520         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
37521         (_FP_MUL_MEAT_1_hard): ... here.
37522         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
37523         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
37524         (_FP_MUL_MEAT_2_wide): ... here.
37525         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
37526         (_FP_MUL_MEAT_2_wide_3mul): ... here.
37527         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
37528         (_FP_MUL_MEAT_2_gmp): ... here.
37529         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
37530         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
37531         (_FP_MUL_MEAT_4_wide): ... here.
37532         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
37533         (_FP_MUL_MEAT_4_gmp): ... here.
37534         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
37535         (_FP_WFRACBITS_DW_S): Likewise.
37536         (_FP_WFRACXBITS_DW_S): Likewise.
37537         (_FP_HIGHBIT_DW_S): Likewise.
37538         (FP_FMA_S): Likewise.
37539         (_FP_FRAC_HIGH_DW_S): Likewise.
37540         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
37541         (_FP_WFRACBITS_DW_D): Likewise.
37542         (_FP_WFRACXBITS_DW_D): Likewise.
37543         (_FP_HIGHBIT_DW_D): Likewise.
37544         (FP_FMA_D): Likewise.
37545         (_FP_FRAC_HIGH_DW_D): Likewise.
37546         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
37547         (_FP_WFRACBITS_DW_E): Likewise.
37548         (_FP_WFRACXBITS_DW_E): Likewise.
37549         (_FP_HIGHBIT_DW_E): Likewise.
37550         (FP_FMA_E): Likewise.
37551         (_FP_FRAC_HIGH_DW_E): Likewise.
37552         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
37553         (_FP_WFRACBITS_DW_Q): Likewise.
37554         (_FP_WFRACXBITS_DW_Q): Likewise.
37555         (_FP_HIGHBIT_DW_Q): Likewise.
37556         (FP_FMA_Q): Likewise.
37557         (_FP_FRAC_HIGH_DW_Q): Likewise.
37558         * soft-fp/fmasf4.c: New file.
37559         * soft-fp/fmadf4.c: Likewise.
37560         * soft-fp/fmatf4.c: Likewise.
37562 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37564         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37565         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
37566         Silvermont.
37567         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
37568         macro.
37569         (index_Slow_SSE4_2): Likewise.
37570         (index_Prefer_PMINUB_for_stringop): Likewise.
37571         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
37572         bit_Slow_SSE4_2 is set.
37573         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37574         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37576 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37578         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
37579         rtld_global._dl_hwcap2.
37580         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
37581         POWER8.
37582         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
37583         POWER8 feature descriptions defined in _dl_hwcap2.
37584         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
37585         string handling for POWER8 feature bits.
37586         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
37587         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
37588         _dl_powerpc_cap_flags.
37589         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
37590         * sysdeps/powerpc/rtld-global-offsets.sym
37591         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
37592         _dl_hwcap2 in the rtld_global_ro structure.
37594 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37596         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
37597         hardware capabilities in support of AT_HWCAP2.
37598         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
37599         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
37600         GLRO(dl_hwcap2).
37601         (_dl_show_auxv): Add support for calling _dl_procinfo to display
37602         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
37603         explicitly the unknown a_type display mechanism is used.
37604         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
37605         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
37606         struct member.
37607         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
37608         to macro prototype for AT_HWCAP2 support.
37609         * sysdeps/i386/dl-procinfo.h: Likewise.
37610         * sysdeps/s390/dl-procinfo.h: Likewise.
37611         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
37612         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
37613         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
37614         return -1 for unknown a_type display fallback.
37615         * sysdeps/sparc/dl-procinfo.h: Likewise.
37616         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
37617         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
37619 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
37621         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
37622         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
37624 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
37626         [BZ #12492]
37627         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
37628         mprotect making __stack_prot writable.
37630 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
37631             Joseph Myers  <joseph@codesourcery.com>
37633         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
37634         as being properly aligned.
37636 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
37638         * dlfcn/modstatic5.c: New file.
37639         * dlfcn/tststatic5.c: New file.
37640         * dlfcn/Makefile (tests): Add tststatic5.
37641         (tests-static): Likewise.
37642         (modules-names): Add modstatic5.
37643         (tststatic5-ENV): New variable.
37644         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
37646         [BZ #15022]
37647         * elf/dl-support.c (_dl_main_map): New variable.
37648         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
37649         (_dl_nns, _dl_load_adds): Set to 1.
37650         (_dl_initial_searchlist): Refer to _dl_main_map.
37651         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
37652         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
37653         call to _dl_get_origin.
37654         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
37655         around call_map.
37656         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
37657         * dlfcn/modstatic3.c: New file.
37658         * dlfcn/tststatic3.c: New file.
37659         * dlfcn/tststatic4.c: New file.
37660         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
37661         (tests-static): Likewise.
37662         (modules-names): Add modstatic3.
37663         (tststatic3-ENV, tststatic4-ENV): New variables.
37664         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
37665         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
37667 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
37669         * configure.in (CC): Require GCC version 4.4 or later.
37670         * configure: Regenerated.
37671         * manual/install.texi (Tools for Compilation): Update GCC version
37672         requirement.
37673         * INSTALL: Regenerated.
37675 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37677         [BZ #15674]
37678         * string/test-memcmp.c (check2): New.
37679         (main): Call check2.
37681         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
37683 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
37685         [BZ #15022]
37686         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
37687         over to...
37688         (dl_open_worker) [!SHARED]: ... here.
37690 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37692         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
37694 2013-06-25  Richard Henderson  <rth@redhat.com>
37696         * locale/programs/locarchive.c: Include <libc-internal.h>
37698 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
37700         * manual/texinfo.tex: Update to version 2013-06-21.17, with
37701         trailing whitespace removed.
37703 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
37705         [BZ #10283]
37706         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
37707         * locale/programs/locarchive.c: Include libc-mmap.h.
37708         (prepare_address_space): Take two new outputs (the mmap base and len).
37709         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
37710         values.
37711         (create_archive): Declare new mmap base and len values for
37712         prepare_address_space, and store the result in ah.
37713         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
37714         (enlarge_archive): If ah->mmap_base is not NULL, use that and
37715         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
37716         Declare new mmap base and len values for
37717         prepare_address_space, and store the result in new_ah.
37718         (open_archive): Declare new mmap base and len values for
37719         prepare_address_space, and store the result in ah.
37720         (close_archive): If ah->mmap_base is not NULL, use that and
37721         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
37722         * sysdeps/generic/libc-mmap.h: New file.
37724 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
37726         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
37727         (ALIGN_UP): Likewise.
37728         (PTR_ALIGN_DOWN): Likewise.
37729         (PTR_ALIGN_UP): Likewise.
37731 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37733         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
37734         entry mapped to PPC_PLATFORM_POWER8.
37735         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
37736         POWER8.
37737         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
37738         (_dl_string_platform): Add case for exporting platform position for
37739         POWER8.
37740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
37741         search path to sysdeps/powerpc/powerpc32/power8 directory.
37742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
37743         search path to sysdeps/powerpc/powerpc64/power8 directory.
37744         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
37745         power7 directories.
37746         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
37747         power7 directories.
37749 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37751         * INSTALL: Regenerate.
37753         * nscd/connections.c (nscd_init): Fix comment.
37755 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
37757         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
37759         [BZ #15667]
37760         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
37761         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
37763 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
37765         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
37766         DL_DST_REQ_STATIC.
37767         (DL_DST_REQ_STATIC): Remove macro.
37769 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
37771         [BZ #7006]
37772         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
37773         with a shift of 0 bits.
37775 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
37777         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
37778         $(tststatic-ENV).
37780 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37782         [BZ #15655]
37783         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
37785 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37787         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
37788         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
37789         accepts -fno-tree-loop-distribute-patterns.
37790         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
37791         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
37792         recursive call.
37793         * string/memset.c (memset): Likewise.
37794         * string/test-memmove.c (simple_memmove): Disable loop transformation
37795         to library calls.
37796         * string/test-memset.c (simple_memset): Likewise.
37797         * benchtests/bench-memmove.c (simple_memmove): Likewise.
37798         * benchtests/bench-memset.c (simple_memset): Likewise.
37799         * configure: Regenerated.
37801 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
37803         * math/test-misc.c (main): Ignore fesetround failure when failures
37804         of subsequent rounding tests would be ignored.
37806         [BZ #15654]
37807         * math/fedisblxcpt.c (fedisableexcept): Return 0.
37808         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
37809         * math/fegetenv.c (__fegetenv): Return 0.
37810         * math/fegetexcept.c (fegetexcept): Return 0.
37811         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
37812         FE_TONEAREST.
37813         * math/feholdexcpt.c (feholdexcept): Return 0.
37814         * math/fesetenv.c (__fesetenv): Return 0.
37815         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
37816         argument FE_TONEAREST.
37817         * math/feupdateenv.c (__feupdateenv): Return 0.
37818         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
37820 2013-06-18  Roland McGrath  <roland@hack.frob.com>
37822         * elf/rtld-Rules (rtld-compile-command.S): New variable.
37823         (rtld-compile-command.s, rtld-compile-command.c): New variables.
37824         ($(objpfx)rtld-%.os rules): Use them.
37826 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37828         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
37829         fields.
37831 2013-06-17  Roland McGrath  <roland@hack.frob.com>
37833         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
37834         length of target pattern, then descending length of dependency pattern.
37835         * configure.in (AWK): Require gawk 3.1.2 or newer.
37836         * manual/install.texi (Tools for Compilation): Say that we do.
37837         * configure: Regenerated.
37839         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
37840         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
37841         * scripts/sysd-rules.awk: ... this new script.
37842         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
37843         than a glob-style pattern.
37845 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
37847         * math/test-misc.c (main): Do not treat incorrectly rounded
37848         conversions as failure unless ROUNDING_TESTS passes.
37850 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
37852         [BZ #15631]
37853         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
37854         restore exception state around main square root computation, then
37855         check for inexactness explicitly.
37857         * math/libm-test.inc (fma_test_data): Add another test.
37859 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37861         * manual/threads.texi (Non-POSIX Extensions): New document
37862         node.  Document pthread_getattr_default_np and
37863         pthread_setattr_default_np.
37865         * Versions.def (libpthread): Add GLIBC_2.18.
37866         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
37867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37868         Likewise.
37869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37870         Likewise.
37871         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37872         Likewise.
37873         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37874         Likewise.
37875         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
37876         Likewise.
37877         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37878         Likewise.
37879         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37880         Likewise.
37881         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
37882         Likewise.
37883         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37884         Likewise.
37886 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37888         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37889         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
37891 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37892             H.J. Lu  <hjl.tools@gmail.com>
37894         [BZ #15627]
37895         * sysdeps/x86_64/rtld-memset.c: Remove file.
37896         * sysdeps/x86_64/rtld-memset.S: New file.
37898 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
37900         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
37901         (test_in_one_mode): Take arguments for whether the rounding mode
37902         is supported for each floating-point type.
37903         (do_test): Pass new arguments to test_in_one_mode using
37904         ROUNDING_TESTS.
37906 2013-06-13  Roland McGrath  <roland@hack.frob.com>
37908         * posix/tst-waitid.c (do_test): Distinguish different instances of
37909         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
37910         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
37911         before entering the kernel for waitpid.
37913 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37915         * NEWS: Fix note on clock function precision.  Text by Roland
37916         McGrath.
37918 2013-06-13  Roland McGrath  <roland@hack.frob.com>
37920         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
37921         it into place only when and if the sanity check passes.
37923 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
37925         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
37926         output for whether conversion result is exact.  Take argument
37927         indicating whether type is IBM long double.
37928         (round_for_all): Change need_exact field to ibm_ld.
37929         * stdlib/tst-strtod-round.c (struct exactness): New type.
37930         (struct test): Change bool ld_ok field to struct exactness exact.
37931         (TEST): Update all definitions for change to field.
37932         (tests): Regenerate array contents.
37933         (test_in_one_mode): Take pointer to new field instead of old ld_ok
37934         field value.  Check for IBM long double here.
37935         (do_test): Update calls to test_in_one_mode.
37937 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37939         [BZ #12515]
37940         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
37941         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
37943 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37945         [BZ #15605]
37946         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
37947         generated by the compiler on loop optimizations.
37948         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
37949         general definitions.
37951 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
37953         * math/bug-nextafter.c: Include <math-tests.h>.
37954         (main): Only test for exceptions if EXCEPTION_TESTS is true for
37955         the relevant type.
37956         * math/bug-nexttoward.c: Include <math-tests.h>.
37957         (main): Only test for exceptions if EXCEPTION_TESTS is true for
37958         the relevant type.
37959         * math/test-misc.c: Include <math-tests.h>.
37960         (main): Only test for exceptions if EXCEPTION_TESTS is true for
37961         the relevant type.
37963 2013-06-12  Andreas Jaeger  <aj@suse.de>
37965         * po/ia.po: Update Interlingua translation from translation
37966         project.
37968 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37970         * include/fenv.h: Include stdbool.h.
37971         (struct rm_ctx): New structure.
37972         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
37973         Define macro.
37974         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
37975         (SET_RESTORE_ROUNDF): Likewise.
37976         (SET_RESTORE_ROUNDL): Likewise.
37977         (SET_RESTORE_ROUND_NOEX): Likewise.
37978         (SET_RESTORE_ROUND_NOEXF): Likewise.
37979         (SET_RESTORE_ROUND_NOEXL): Likewise.
37980         (SET_RESTORE_ROUND_53BIT): Likewise.
37981         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
37982         (libc_feresetround_noexf_ctx): Likewise.
37983         (libc_feresetround_noexl_ctx): Likewise.
37984         (libc_feholdsetround_53bit_ctx): Likewise.
37985         (libc_feresetround_53bit_ctx): Likewise.
37986         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
37987         (libc_feholdexcept_setround_sse_ctx): New function.
37988         (libc_fesetenv_sse_ctx): Likewise.
37989         (libc_feupdateenv_sse_ctx): Likewise.
37990         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
37991         (libc_feholdexcept_setround_387_ctx): Likewise.
37992         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
37993         (libc_feholdsetround_387_prec_ctx): Likewise.
37994         (libc_feholdsetround_387_ctx): Likewise.
37995         (libc_feholdsetround_387_53bit_ctx): Likewise.
37996         (libc_feholdsetround_sse_ctx): Likewise.
37997         (libc_feresetround_sse_ctx): Likewise.
37998         (libc_feresetround_387_ctx): Likewise.
37999         (libc_feupdateenv_387_ctx): Likewise.
38000         (libc_feholdexcept_setroundf_ctx): Define macro.
38001         (libc_fesetenvf_ctx): Likewise.
38002         (libc_feupdateenvf_ctx): Likewise.
38003         (libc_feholdsetroundf_ctx): Likewise.
38004         (libc_feresetroundf_ctx): Likewise.
38005         (libc_feholdexcept_setround_ctx): Likewise.
38006         (libc_fesetenv_ctx): Likewise.
38007         (libc_feupdateenv_ctx): Likewise.
38008         (libc_feholdsetround_ctx): Likewise.
38009         (libc_feresetround_ctx): Likewise.
38010         (libc_feholdexcept_setroundl_ctx): Likewise.
38011         (libc_feupdateenvl_ctx): Likewise.
38012         (libc_feholdsetroundl_ctx): Likewise.
38013         (libc_feresetroundl_ctx): Likewise.
38014         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
38015         (libc_feresetround_53bit_ctx): Likewise.
38017 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38019         * locale/iso-639.def: Convert to UTF-8.
38021 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
38023         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
38024         (EXCEPTION_TESTS_double): Likewise.
38025         (EXCEPTION_TESTS_long_double): Likewise.
38026         (EXCEPTION_TESTS): Likewise.
38027         * math/libm-test.inc (test_exceptions): Only test exceptions if
38028         EXCEPTION_TESTS (FLOAT).
38030 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38032         * benchtests/Makefile (string-bench): Add strcpy_chk and
38033         stpcpy_chk.
38034         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
38035         * benchtests/bench-stpcpy_chk.c: New file.
38036         * benchtests/bench-strcpy_chk-ifunc.c: New file.
38037         * benchtests/bench-strcpy_chk.c: New file.
38038         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
38039         code.
38040         (do_test): Likewise.
38042 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38044         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
38045         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
38046         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
38047         with tabs where appropriate.
38048         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
38049         dl-procinfo.h.
38050         [PPC_PLATFORM_PPC440]: Likewise.
38051         [PPC_PLATFORM_PPC464]: Likewise.
38052         [PPC_PLATFORM_PPC476]: Likewise.
38053         (_dl_string_platform): Add support for detecting ppc405, ppc440,
38054         ppc464, and ppc476 platform strings merging from ports/
38055         dl-procinfo.h.
38057 2013-06-11  Andreas Schwab  <schwab@suse.de>
38059         [BZ #14991]
38060         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
38061         (from_ucs4_idx): Regenerate.
38062         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
38063         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
38064         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
38065         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
38066         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
38067         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
38068         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
38069         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
38070         from FROM_LOOP and TO_LOOP specific macros.
38071         (BODY): Handle combining characters.
38072         * iconvdata/BIG5HKSCS.irreversible: Update.
38073         * iconvdata/BIG5HKSCS.precomposed: New file.
38074         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
38075         characters.
38076         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
38078 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38080         * include/sys/time.h: Fix indentation and add copyright header.
38082         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
38083         (do_test): Likewise.
38084         * string/test-memchr.c (do_one_test): Likewise.
38085         (do_test): Likewise.
38086         * string/test-memcmp.c (do_one_test): Likewise.
38087         (do_test): Likewise.
38088         * string/test-memcpy.c (do_one_test): Likewise.
38089         (do_test): Likewise.
38090         * string/test-memmem.c (do_one_test): Likewise.
38091         (do_test): Likewise.
38092         (do_random_tests): Likewise.
38093         * string/test-memmove.c (do_one_test): Likewise.
38094         (do_test): Likewise.
38095         * string/test-memset.c (do_one_test): Likewise.
38096         (do_test): Likewise.
38097         * string/test-rawmemchr.c (do_one_test): Likewise.
38098         (do_test): Likewise.
38099         * string/test-strcasecmp.c (do_one_test): Likewise.
38100         (do_test): Likewise.
38101         * string/test-strcasestr.c (do_one_test): Likewise.
38102         (do_test): Likewise.
38103         * string/test-strcat.c (do_one_test): Likewise.
38104         (do_test): Likewise.
38105         * string/test-strchr.c (do_one_test): Likewise.
38106         (do_test): Likewise.
38107         * string/test-strcmp.c (do_one_test): Likewise.
38108         (do_test): Likewise.
38109         * string/test-strcpy.c (do_one_test): Likewise.
38110         (do_test): Likewise.
38111         * string/test-string.h: Likewise.
38112         (test_init): Likewise.
38113         * string/test-strlen.c (do_one_test): Likewise.
38114         (do_test): Likewise.
38115         * string/test-strncasecmp.c (do_one_test): Likewise.
38116         (do_test): Likewise.
38117         * string/test-strncat.c (do_one_test): Likewise.
38118         (do_test): Likewise.
38119         * string/test-strncmp.c (do_one_test): Likewise.
38120         (do_test_limit): Likewise.
38121         (do_test): Likewise.
38122         * string/test-strncpy.c (do_one_test): Likewise.
38123         (do_test): Likewise.
38124         * string/test-strnlen.c (do_one_test): Likewise.
38125         (do_test): Likewise.
38126         * string/test-strpbrk.c (do_one_test): Likewise.
38127         (do_test): Likewise.
38128         * string/test-strrchr.c (do_one_test): Likewise.
38129         (do_test): Likewise.
38130         * string/test-strspn.c (do_one_test): Likewise.
38131         (do_test): Likewise.
38132         * string/test-strstr.c (do_one_test): Likewise.
38133         (do_test): Likewise.
38135         * benchtests/Makefile (string-bench): Add string benchmarks.
38136         * benchtests/bench-bcopy-ifunc.c: New file.
38137         * benchtests/bench-bcopy.c: New file.
38138         * benchtests/bench-bzero-ifunc.c: New file.
38139         * benchtests/bench-bzero.c: New file.
38140         * benchtests/bench-memccpy-ifunc.c: New file.
38141         * benchtests/bench-memccpy.c: New file.
38142         * benchtests/bench-memchr-ifunc.c: New file.
38143         * benchtests/bench-memchr.c: New file.
38144         * benchtests/bench-memcmp-ifunc.c: New file.
38145         * benchtests/bench-memcmp.c: New file.
38146         * benchtests/bench-memmem-ifunc.c: New file.
38147         * benchtests/bench-memmem.c: New file.
38148         * benchtests/bench-memmove-ifunc.c: New file.
38149         * benchtests/bench-memmove.c: New file.
38150         * benchtests/bench-mempcpy-ifunc.c: New file.
38151         * benchtests/bench-mempcpy.c: New file.
38152         * benchtests/bench-memset-ifunc.c: New file.
38153         * benchtests/bench-memset.c: New file.
38154         * benchtests/bench-rawmemchr-ifunc.c: New file.
38155         * benchtests/bench-rawmemchr.c: New file.
38156         * benchtests/bench-stpcpy-ifunc.c: New file.
38157         * benchtests/bench-stpcpy.c: New file.
38158         * benchtests/bench-stpncpy-ifunc.c: New file.
38159         * benchtests/bench-stpncpy.c: New file.
38160         * benchtests/bench-strcasecmp-ifunc.c: New file.
38161         * benchtests/bench-strcasecmp.c: New file.
38162         * benchtests/bench-strcasestr-ifunc.c: New file.
38163         * benchtests/bench-strcasestr.c: New file.
38164         * benchtests/bench-strcat-ifunc.c: New file.
38165         * benchtests/bench-strcat.c: New file.
38166         * benchtests/bench-strchr-ifunc.c: New file.
38167         * benchtests/bench-strchr.c: New file.
38168         * benchtests/bench-strchrnul-ifunc.c: New file.
38169         * benchtests/bench-strchrnul.c: New file.
38170         * benchtests/bench-strcmp-ifunc.c: New file.
38171         * benchtests/bench-strcmp.c: New file.
38172         * benchtests/bench-strcpy-ifunc.c: New file.
38173         * benchtests/bench-strcpy.c: New file.
38174         * benchtests/bench-strcspn-ifunc.c: New file.
38175         * benchtests/bench-strcspn.c: New file.
38176         * benchtests/bench-strlen-ifunc.c: New file.
38177         * benchtests/bench-strlen.c: New file.
38178         * benchtests/bench-strncasecmp-ifunc.c: New file.
38179         * benchtests/bench-strncasecmp.c: New file.
38180         * benchtests/bench-strncat-ifunc.c: New file.
38181         * benchtests/bench-strncat.c: New file.
38182         * benchtests/bench-strncmp-ifunc.c: New file.
38183         * benchtests/bench-strncmp.c: New file.
38184         * benchtests/bench-strncpy-ifunc.c: New file.
38185         * benchtests/bench-strncpy.c: New file.
38186         * benchtests/bench-strnlen-ifunc.c: New file.
38187         * benchtests/bench-strnlen.c: New file.
38188         * benchtests/bench-strpbrk-ifunc.c: New file.
38189         * benchtests/bench-strpbrk.c: New file.
38190         * benchtests/bench-strrchr-ifunc.c: New file.
38191         * benchtests/bench-strrchr.c: New file.
38192         * benchtests/bench-strspn-ifunc.c: New file.
38193         * benchtests/bench-strspn.c: New file.
38194         * benchtests/bench-strstr-ifunc.c: New file.
38195         * benchtests/bench-strstr.c: New file.
38197         * benchtests/Makefile: Disable parallel execution of targets.
38198         (string-bench): Add memcpy.
38199         (benchset): New variable to store a list of benchmark sets.
38200         (bench-func): Renamed from bench.
38201         (bench-set): New target.
38202         (bench): Depend on bench-func and bench-set.
38203         * benchtests/README: Add section on benchmark sets.
38204         * benchtests/bench-memcpy-ifunc.c: New file.
38205         * benchtests/bench-memcpy.c: New file.
38206         * benchtests/bench-string.h: New file.
38208 2013-06-11  Andreas Schwab  <schwab@suse.de>
38210         [BZ #15577]
38211         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
38212         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
38213         values in the triple.
38214         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
38215         terminator in the group key.
38217 2013-06-11  Andreas Jaeger  <aj@suse.de>
38219         * po/zh_TW.po: Update Chinese (traditional) translation from
38220         translation project.
38222 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38224         * include/time.h (__clock_gettime): Add libc_hidden_proto.
38225         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
38226         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
38227         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38228         (clock_getcpuclockid): Likewise.
38229         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
38230         Add weak_alias and libc_hidden_def.
38231         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
38232         * rt/clock_gettime.c (clock_gettime): Rename to
38233         __clock_gettime.  Add weak_alias and libc_hidden_def.
38234         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
38235         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
38236         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
38237         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
38238         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
38239         Likewise.
38240         * rt/clock_settime.c (clock_settime): Rename to
38241         __clock_settime.  Add weak_alias and libc_hidden_def.
38242         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
38244 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
38246         * mach/err_boot.sub: Remove trailing whitespace.
38247         * mach/err_ipc.sub: Likewise.
38248         * mach/err_mach.sub: Likewise.
38250         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
38251         (ROUNDING_TESTS_double): Likewise.
38252         (ROUNDING_TESTS_long_double): Likewise.
38253         (ROUNDING_TESTS): Likewise.
38254         * math/libm-test.inc: Include <math-tests.h>.
38255         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
38256         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
38257         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
38258         (IF_ROUND_INIT_FE_UPWARD): Likewise.
38260 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38262         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
38263         of assigning.
38265 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
38267         * sysdeps/gnu/errlist.awk: Do not generate space at end of
38268         otherwise empty TRANS lines.
38269         * sysdeps/gnu/errlist.c: Regenerated.
38271         * catgets/gencat.c (error_print): Use (void) in function
38272         definition.
38273         * crypt/crypt_util.c (__init_des): Likewise.
38274         * crypt/speeds.c (Stop): Likewise.
38275         (main): Likewise.
38276         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
38277         * inet/ruserpass.c (token): Likewise.
38278         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
38279         * intl/localealias.c (extend_alias_table): Likewise.
38280         * intl/plural-exp.c (init_germanic_plural): Likewise.
38281         * libio/fcloseall.c (__fcloseall): Likewise.
38282         * libio/genops.c (_IO_flush_all): Likewise.
38283         (_IO_flush_all_linebuffered): Likewise.
38284         (_IO_cleanup): Likewise.
38285         (_IO_iter_begin): Likewise.
38286         (_IO_iter_end): Likewise.
38287         (_IO_list_lock): Likewise.
38288         (_IO_list_unlock): Likewise.
38289         (_IO_list_resetlock): Likewise.
38290         * libio/getchar.c (getchar): Likewise.
38291         * libio/getchar_u.c (getchar_unlocked): Likewise.
38292         * libio/getwchar.c (getwchar): Likewise.
38293         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
38294         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
38295         * login/getpt.c (__getpt): Likewise.
38296         * login/tst-utmp.c (main): Likewise.
38297         * malloc/hooks.c (__malloc_check_init): Likewise.
38298         * malloc/malloc.c (__malloc_stats): Likewise.
38299         * malloc/mtrace.c (tr_break): Likewise.
38300         (mtrace): Likewise.
38301         (muntrace): Likewise.
38302         * misc/fstab.c (endfsent): Likewise.
38303         * misc/getclktck.c (__getclktck): Likewise.
38304         * misc/getdtsz.c (__getdtablesize): Likewise.
38305         * misc/gethostid.c (gethostid): Likewise.
38306         * misc/getpagesize.c (__getpagesize): Likewise.
38307         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
38308         (__get_nprocs): Likewise.
38309         (__get_phys_pages): Likewise.
38310         (__get_avphys_pages): Likewise.
38311         * misc/getttyent.c (getttyent): Likewise.
38312         (setttyent): Likewise.
38313         (endttyent): Likewise.
38314         * misc/getusershell.c (getusershell): Likewise.
38315         (endusershell): Likewise.
38316         (setusershell): Likewise.
38317         (initshells): Likewise.
38318         * misc/hsearch.c (__hdestroy): Likewise.
38319         * misc/sync.c (sync): Likewise.
38320         * misc/syslog.c (closelog_internal): Likewise.
38321         (closelog): Likewise.
38322         * misc/ttyslot.c (ttyslot): Likewise.
38323         * misc/vhangup.c (vhangup): Likewise.
38324         * posix/fork.c (__fork): Likewise.
38325         * posix/getegid.c (__getegid): Likewise.
38326         * posix/geteuid.c (__geteuid): Likewise.
38327         * posix/getgid.c (__getgid): Likewise.
38328         * posix/getpid.c (__getpid): Likewise.
38329         * posix/getppid.c (__getppid): Likewise.
38330         * posix/getuid.c (__getuid): Likewise.
38331         * posix/pause.c (pause): Likewise.
38332         * posix/setpgrp.c (setpgrp): Likewise.
38333         * posix/setsid.c (__setsid): Likewise.
38334         * posix/test-vfork.c (noop): Likewise.
38335         * resolv/gethnamaddr.c (_endhtent): Likewise.
38336         (_gethtent): Likewise.
38337         (ht_endhostent): Likewise.
38338         (gethostent): Likewise.
38339         (dns_service): Likewise.
38340         * stdlib/drand48.c (drand48): Likewise.
38341         * stdlib/lrand48.c (lrand48): Likewise.
38342         * stdlib/mrand48.c (mrand48): Likewise.
38343         * stdlib/rand.c (rand): Likewise.
38344         * stdlib/random.c (__random): Likewise.
38345         * stdlib/setenv.c (clearenv): Likewise.
38346         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
38347         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
38348         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
38349         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
38350         (__get_nprocs): Likewise.
38351         (__get_phys_pages): Likewise.
38352         (__get_avphys_pages): Likewise.
38353         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
38354         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
38355         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
38356         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
38357         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
38358         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
38359         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
38360         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
38361         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
38362         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
38363         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
38364         * sysdeps/mach/hurd/sync.c (sync): Likewise.
38365         * sysdeps/posix/clock.c (clock): Likewise.
38366         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
38367         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
38368         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
38369         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
38370         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
38371         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
38372         (__get_nprocs_conf): Likewise.
38373         (__get_phys_pages): Likewise.
38374         (__get_avphys_pages): Likewise.
38375         * time/clock.c (clock): Likewise.
38376         * time/tzset.c (__tzname_max): Likewise.
38378 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
38380         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
38381         (__bswap_32): Do not use "register".
38382         * crypt/crypt.c (_ufc_doit_r): Likewise.
38383         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
38384         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
38385         * gmon/gmon.c (__monstartup): Likewise.
38386         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
38387         * hurd/hurdmalloc.c (more_memory): Likewise.
38388         (malloc): Likewise.
38389         (free): Likewise.
38390         (realloc): Likewise.
38391         (malloc_fork_prepare): Likewise.
38392         (malloc_fork_parent): Likewise.
38393         (malloc_fork_child): Likewise.
38394         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
38395         (_svcauth_des): Likewise.
38396         * inet/inet_lnaof.c (inet_lnaof): Likewise.
38397         * inet/inet_net.c (inet_network): Likewise.
38398         * inet/inet_netof.c (inet_netof): Likewise.
38399         * inet/rcmd.c (__validuser2_sa): Likewise.
38400         * io/fts.c (fts_open): Likewise.
38401         (fts_load): Likewise.
38402         (fts_close): Likewise.
38403         (fts_read): Likewise.
38404         (fts_children): Likewise.
38405         (fts_build): Likewise.
38406         (fts_stat): Likewise.
38407         (fts_sort): Likewise.
38408         (fts_alloc): Likewise.
38409         (fts_lfree): Likewise.
38410         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
38411         (_IO_file_xsgetn): Likewise.
38412         (_IO_file_xsgetn_mmap): Likewise.
38413         * libio/iofopncook.c (_IO_cookie_read): Likewise.
38414         (_IO_cookie_write): Likewise.
38415         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
38416         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
38417         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
38418         * malloc/obstack.c (_obstack_begin): Likewise.
38419         (_obstack_begin_1): Likewise.
38420         (_obstack_newchunk): Likewise.
38421         (_obstack_allocated_p): Likewise.
38422         (obstack_free): Likewise.
38423         (_obstack_memory_used): Likewise.
38424         * misc/getttyent.c (getttynam): Likewise.
38425         (getttyent): Likewise.
38426         (skip): Likewise.
38427         (value): Likewise.
38428         * misc/getusershell.c (initshells): Likewise.
38429         * misc/syslog.c (__vsyslog_chk): Likewise.
38430         * misc/ttyslot.c (ttyslot): Likewise.
38431         * nis/nis_hash.c (__nis_hash): Likewise.
38432         * posix/fnmatch_loop.c (FCT): Likewise.
38433         * posix/getconf.c (print_all): Likewise.
38434         (main): Likewise.
38435         * posix/getopt.c (exchange): Likewise.
38436         * posix/glob.c (globfree): Likewise.
38437         (prefix_array): Likewise.
38438         (__glob_pattern_type): Likewise.
38439         * resolv/arpa/nameser.h (NS_GET16): Likewise.
38440         (NS_GET32): Likewise.
38441         (NS_PUT16): Likewise.
38442         (NS_PUT32): Likewise.
38443         * resolv/gethnamaddr.c (getanswer): Likewise.
38444         (gethostbyname2): Likewise.
38445         (gethostbyaddr): Likewise.
38446         (_gethtent): Likewise.
38447         (_gethtbyname2): Likewise.
38448         (_gethtbyaddr): Likewise.
38449         * resolv/ns_print.c (dst_s_get_int16): Likewise.
38450         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
38451         * resolv/res_init.c (__res_vinit): Likewise.
38452         (net_mask): Likewise.
38453         * resolv/res_mkquery.c (outchar): Likewise.
38454         (PRINT): Likewise.
38455         * stdio-common/printf_fp.c (outchar): Likewise.
38456         (PRINT): Likewise.
38457         * stdio-common/printf_fphex.c (outchar): Likewise.
38458         (PRINT): Likewise.
38459         * stdio-common/printf_size.c (outchar): Likewise.
38460         (PRINT): Likewise.
38461         * stdio-common/test_rdwr.c (main): Likewise.
38462         * stdio-common/tfformat.c (matches): Likewise.
38463         * stdio-common/vfprintf.c (outchar): Likewise.
38464         (printf_unknown): Likewise.
38465         (buffered_vfprintf): Likewise.
38466         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
38467         * stdio-common/xbug.c (AppendToBuffer): Likewise.
38468         (ReadFile): Likewise.
38469         * stdlib/qsort.c (SWAP): Likewise.
38470         (_quicksort): Likewise.
38471         * stdlib/setenv.c (__add_to_environ): Likewise.
38472         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
38473         * stdlib/strtol_l.c (__strtol_l): Likewise.
38474         * stdlib/tst-strtod.c (main): Likewise.
38475         * stdlib/tst-strtol.c (main): Likewise.
38476         * stdlib/tst-strtoll.c (main): Likewise.
38477         * string/bits/string2.h (__strcmp_cc): Likewise.
38478         (__strcmp_cg): Likewise.
38479         (__strcspn_c1): Likewise.
38480         (__strcspn_c2): Likewise.
38481         (__strcspn_c3): Likewise.
38482         (__strspn_c1): Likewise.
38483         (__strspn_c2): Likewise.
38484         (__strspn_c3): Likewise.
38485         (__strsep_1c): Likewise.
38486         (__strsep_2c): Likewise.
38487         (__strsep_3c): Likewise.
38488         * string/memccpy.c (__memccpy): Likewise.
38489         * string/stpcpy.c (__stpcpy): Likewise.
38490         * string/strcmp.c (strcmp): Likewise.
38491         * string/strrchr.c (strrchr): Likewise.
38492         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
38493         Likewise.
38494         * sysdeps/mach/hurd/getcwd.c
38495         (_hurd_canonicalize_directory_name_internal): Likewise.
38496         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
38497         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
38498         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
38499         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
38500         Likewise, in both definitions.
38501         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
38502         definitions.
38503         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
38504         64] (__bswap_64): Likewise.
38505         * time/test_time.c (main): Likewise.
38506         * time/tzfile.c (__tzfile_read): Likewise.
38507         (__tzfile_compute): Likewise.
38508         * time/tzset.c (__tzset_parse_tz): Likewise.
38509         (tzset_internal): Likewise.
38510         (compute_change): Likewise.
38511         * wcsmbs/wcscat.c (__wcscat): Likewise.
38512         * wcsmbs/wcschr.c (wcschr): Likewise.
38513         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
38514         * wcsmbs/wcscspn.c (wcscspn): Likewise.
38515         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
38516         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
38517         * wcsmbs/wcsspn.c (wcsspn): Likewise.
38518         * wcsmbs/wcsstr.c (wcsstr): Likewise.
38519         * wcsmbs/wmemchr.c (wmemchr): Likewise.
38520         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38521         * wcsmbs/wmemset.c (wmemset): Likewise.
38523 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
38525         * scripts/config.guess: Update to version 2013-05-16.
38526         * scripts/config.sub: Update to version 2013-04-24.
38527         * scripts/install-sh: Update to version 2011-11-20.07.
38528         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
38529         * scripts/move-if-change: Update to version 2012-01-06 07:23.
38531 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
38533         * debug/fgetws_u_chk.c: Fix leading whitespaces.
38534         * elf/sln.c: Likewise.
38535         * hurd/hurd/ioctl.h: Likewise.
38536         * hurd/hurdmalloc.c: Likewise.
38537         * hurd/xattr.c: Likewise.
38538         * include/shlib-compat.h: Likewise.
38539         * inet/ruserpass.c: Likewise.
38540         * libio/iofgets_u.c: Likewise.
38541         * libio/iofgetws_u.c: Likewise.
38542         * locale/programs/ld-identification.c: Likewise.
38543         * locale/programs/ld-time.c: Likewise.
38544         * mach/msg-destroy.c: Likewise.
38545         * nss/nss_files/files-netgrp.c: Likewise.
38546         * resolv/res_data.c: Likewise.
38547         * soft-fp/op-1.h: Likewise.
38548         * soft-fp/op-2.h: Likewise.
38549         * soft-fp/op-4.h: Likewise.
38550         * soft-fp/op-common.h: Likewise.
38551         * stdio-common/printf_fphex.c: Likewise.
38552         * stdlib/strtod_l.c: Likewise.
38553         * sunrpc/rpc/clnt.h: Likewise.
38554         * sysdeps/generic/framestate.c: Likewise.
38555         * sysdeps/i386/bsd-_setjmp.S: Likewise.
38556         * sysdeps/i386/bsd-setjmp.S: Likewise.
38557         * sysdeps/i386/__longjmp.S: Likewise.
38558         * sysdeps/i386/setjmp.S: Likewise.
38559         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38560         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38561         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38562         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38563         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38564         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38565         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38566         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38567         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38568         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
38569         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38570         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38571         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38572         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38573         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38574         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38575         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38576         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
38577         * sysdeps/ieee754/support.c: Likewise.
38578         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38579         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
38580         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
38581         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
38582         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
38583         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
38584         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
38585         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
38586         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
38587         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
38588         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
38589         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
38590         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
38591         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
38592         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
38593         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
38594         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
38595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
38597 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
38599         * posix/transbug.c: Remove executable mode.
38601 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
38603         * crypt/speeds.c: Remove trailing whitespace.
38604         * dlfcn/default.c: Likewise.
38605         * elf/ifuncdep2.c: Likewise.
38606         * elf/ifuncmain1.c: Likewise.
38607         * elf/ifuncmain1vis.c: Likewise.
38608         * elf/testobj.h: Likewise.
38609         * elf/tst-stackguard1.c: Likewise.
38610         * gmon/sys/gmon.h: Likewise.
38611         * hurd/hurdmsg.c: Likewise.
38612         * hurd/new-fd.c: Likewise.
38613         * hurd/ports-get.c: Likewise.
38614         * iconvdata/ibm1008_420.c: Likewise.
38615         * inet/tst-getni1.c: Likewise.
38616         * inet/tst-getni2.c: Likewise.
38617         * libio/ioungetc.c: Likewise.
38618         * libio/wfiledoalloc.c: Likewise.
38619         * manual/libm-err-tab.pl: Likewise.
38620         * math/w_dremf.c: Likewise.
38621         * misc/ftruncate.c: Likewise.
38622         * posix/bug-glob2.c: Likewise.
38623         * posix/tst-pcre.c: Likewise.
38624         * posix/wait4.c: Likewise.
38625         * resolv/README: Likewise.
38626         * resolv/res_debug.h: Likewise.
38627         * resolv/tst-inet_ntop.c: Likewise.
38628         * setjmp/bug269-setjmp.c: Likewise.
38629         * soft-fp/extended.h: Likewise.
38630         * soft-fp/op-1.h: Likewise.
38631         * soft-fp/op-2.h: Likewise.
38632         * soft-fp/op-4.h: Likewise.
38633         * soft-fp/op-8.h: Likewise.
38634         * soft-fp/testit.c: Likewise.
38635         * stdio-common/bug16.c: Likewise.
38636         * stdlib/random.c: Likewise.
38637         * sunrpc/rpcsvc/rquota.x: Likewise.
38638         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
38639         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38640         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38641         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38642         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38643         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38644         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38645         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38646         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38647         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38648         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38649         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38650         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38651         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38652         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38653         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38654         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38655         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38656         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38657         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38658         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38659         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38660         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
38661         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38662         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38663         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38664         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
38665         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38666         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38667         * sysdeps/ieee754/s_lib_version.c: Likewise.
38668         * sysdeps/mach/hurd/check_fds.c: Likewise.
38669         * sysdeps/mach/hurd/getsockname.c: Likewise.
38670         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
38671         * sysdeps/mach/hurd/recvfrom.c: Likewise.
38672         * sysdeps/powerpc/bits/link.h: Likewise.
38673         * sysdeps/powerpc/dl-procinfo.c: Likewise.
38674         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
38675         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
38676         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
38677         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
38678         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38679         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
38680         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
38681         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
38682         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38683         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
38684         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
38685         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
38686         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38687         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38688         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38689         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
38690         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
38691         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38692         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38693         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38694         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
38695         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38696         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
38697         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
38698         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
38699         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
38700         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38701         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38702         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
38703         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
38704         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
38705         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38706         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38707         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
38708         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38709         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
38710         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
38711         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
38712         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
38713         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
38714         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
38715         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
38716         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
38717         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
38718         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
38719         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
38720         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
38721         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
38722         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
38723         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38724         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38725         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38726         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38727         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
38728         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
38729         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
38730         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38731         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
38732         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
38733         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
38734         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
38735         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
38736         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38737         * sysdeps/powerpc/sysdep.h: Likewise.
38738         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38739         * sysdeps/s390/s390-64/sub_n.S: Likewise.
38740         * sysdeps/sh/dl-trampoline.S: Likewise.
38741         * sysdeps/sh/memset.S: Likewise.
38742         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
38743         * sysdeps/sh/strlen.S: Likewise.
38744         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
38745         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
38746         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
38747         * sysdeps/sparc/sparc32/rem.S: Likewise.
38748         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
38749         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
38750         * sysdeps/sparc/sparc32/strchr.S: Likewise.
38751         * sysdeps/sparc/sparc32/udiv.S: Likewise.
38752         * sysdeps/sparc/sparc32/urem.S: Likewise.
38753         * sysdeps/sparc/sparc64/add_n.S: Likewise.
38754         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38755         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
38756         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
38757         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
38758         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
38759         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
38760         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
38761         * sysdeps/unix/bsd/times.c: Likewise.
38762         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
38763         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
38764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
38765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
38766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
38767         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
38768         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
38769         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
38770         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
38771         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
38772         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
38773         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
38774         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
38775         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38776         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
38777         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
38778         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
38779         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
38780         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
38781         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
38782         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
38783         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
38784         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38785         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
38786         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
38787         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
38788         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
38789         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38790         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
38791         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
38792         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
38793         * sysdeps/x86_64/strcspn.S: Likewise.
38795 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38797         * locale/C-translit.h: Revert #include <stdint.h> because this is a
38798         generated file.  Regenerate properly from gen-translit.pl.
38799         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
38800         locale/C-translit.h.
38802 2013-06-05  Andreas Schwab  <schwab@suse.de>
38804         [BZ #15100]
38805         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
38806         week as 6 instead of -1.
38807         * time/tst-strptime.c (day_tests): Add test case.
38809 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38811         * sysdeps/generic/math_private.h
38812         (libc_feholdexcept_setround_53bit): Replace with
38813         libc_feholdsetround_53bit.
38814         (libc_feupdateenv_53bit): Replace with
38815         libc_feresetround_53bit.
38816         (SET_RESTORE_ROUND_53BIT): Adjust.
38818 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
38820         * string/test-strchrnul.c: Add copyright header.
38822         * posix/tst-getaddrinfo4.c: Increase test timeout.
38824 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
38826         [BZ #15536]
38827         * math/libm-test.inc (MAX_EXP): Remove
38828         (MIN_EXP): Define.
38829         (ulp): Use MIN_EXP - MANT_DIG.
38830         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
38832 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
38834         * po/be.po: Revert last change.
38835         * po/zh_CN.po: Likewise.
38836         * po/header.pot: Likewise.
38838 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
38840         * Makefile ($(common-objpfx)linkobj/libc.so): Define
38841         link-libc-deps to empty as target-specific variable.
38842         * Makerules (link-libc-args): New variable.
38843         (libc-for-link): Likewise.
38844         (link-libc-deps): Likewise.
38845         (lib%.so): Depend on $(link-libc-deps).  Link with
38846         $(link-libc-args).
38847         (build-module): Link with $(link-libc-args).
38848         (build-module-asneeded): Likewise.
38849         (build-module-helper-objlist): Filter out $(link-libc-deps) from
38850         list of objects.
38851         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
38852         target-specific variable.
38853         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
38854         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
38855         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
38856         libc.
38857         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
38858         libc and ld.so.
38859         ($(objpfx)libpcprofile.so): Likewise.
38860         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
38861         libc_nonshared.a.
38862         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
38863         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
38864         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
38865         $(link-libc-deps).
38866         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
38867         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
38868         * login/Makefile ($(objpfx)libutil.so): Likewise.
38869         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
38870         * math/Makefile ($(objpfx)libm.so): Likewise.
38871         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
38872         $(objpfx)libnsl.so): Define libc-for-link as target-specific
38873         variable instead of depending directly on libc.
38874         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
38875         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
38876         $(link-libc-deps).
38877         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
38878         libc.
38879         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
38880         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
38881         ($(objpfx)libanl.so): Likewise.
38882         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
38883         ld.so.
38884         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
38885         $(link-libc-deps).
38886         * sysdeps/i386/fpu/Makefile: Remove file.
38887         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
38888         ($(objpfx)libm.so): Remove dependency on ld.so.
38890 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
38892         [BZ # 15553]
38893         * nis/yp_xdr.c (XDRMAXNAME): Define.
38894         (XDRMAXRECORD): Define.
38895         (xdr_domainname): Use XDRMAXNAME.
38896         (xdr_mapname): Likewise.
38897         (xdr_peername): Likewise.
38898         (xdr_keydat): Use XDRMAXRECORD.
38899         (xdr_valdat): Likewise.
38901 2013-05-30  Jeff Law  <law@redhat.com>
38903         [BZ #14256]
38904         * manual/errno.texi (ESTALE): Update to account for more than
38905         just NFS file systems.
38906         * sysdeps/gnu/errlist.c: Regenerated.
38908 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38910         [BZ #15465]
38911         * elf/Makefile (tests): Add tst-null-argv.
38912         (modules-names):  Add tst-null-argv-lib.
38913         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
38914         (tst-null-argv-ENV): Set environment for tst-null-argv.
38915         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
38916         (RTLD_PROGNAME): New macro.
38917         * elf/tst-null-argv.c: New test case.
38918         * elf/tst-null-argv-lib.c: Library for test case.
38919         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
38920         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
38921         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
38922         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
38923         * elf/dl-init.c (call_init): Likewise.
38924         (_dl_init): Likewise.
38925         * elf/dl-load.c (print_search_path): Likewise.
38926         (_dl_map_object): Likewise.
38927         * elf/dl-lookup.c (do_lookup_x): Likewise.
38928         (add_dependency): Likewise.
38929         (_dl_lookup_symbol_x): Likewise.
38930         (_dl_debug_bindings): Likewise.
38931         * elf/dl-open.c (_dl_show_scope): Likewise.
38932         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
38933         * elf/dl-version.c (match_symbol): Likewise.
38934         (_dl_check_map_versions): Likewise.
38935         * elf/rtld.c (dl_main): Likewise.
38936         (print_unresolved): Use RTLD_PROGNAME.
38937         (print_missing_version): Likewise.
38938         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
38939         (elf_machine_rela): Likewise.
38940         * sysdeps/powerpc/powerpc32/dl-machine.c
38941         (__process_machine_rela): Likewise.
38942         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38943         Likewise.
38944         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38945         Likewise.
38946         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
38947         Likewise.
38948         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38949         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
38950         Likewise.
38951         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
38952         Likewise.
38953         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38955 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
38957         * po/be.po: Add descriptive title.
38958         * po/zh_CN.po: Likewise.
38959         * po/header.pot: Likewise.
38961 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
38963         * locale/programs/locarchive.c (create_archive): Inlucde fname in
38964         error message.
38965         (enlarge_archive): Likewise.
38967 2013-05-28  Ben North  <ben@redfrontdoor.org>
38969         * manual/arith.texi (frexp): It is the magnitude of the return
38970         value which lies in [0.5, 1), not the return value itself.
38972 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38974         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38976 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
38978         * stdio-common/bug26.c (main): Correct fscanf template.
38980         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
38981         declare _dl_skip_args.
38983         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
38984         Don't declare.
38986         * manual/platform.texi: Add missing @end deftypefun.
38988 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
38990         [BZ #15529]
38991         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
38992         bit of mantissa of 2^16382.
38993         * math/libm-test.inc (hypot_test_data): Add more tests.
38995         * math/libm-test.inc: Add drem and pow10 to list of tested
38996         functions.
38997         (pow10_test): New function.
38998         (drem_test): Likewise.
38999         (drem_test_tonearest): Likewise.
39000         (drem_test_towardzero): Likewise.
39001         (drem_test_downward): Likewise.
39002         (drem_test_upward): Likewise.
39003         (main): Call the new functions.
39005         * math/libm-test.inc (finite_test_data): Remove.
39006         (finite_test): Run tests from isfinite_test_data.
39007         (gamma_test_data): Remove.
39008         (gamma_test): Run tests from lgamma_test_data.
39009         * sysdeps/i386/fpu/libm-test-ulps: Update.
39010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39012 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39014         * manual/platform.texi: Add PowerPC PPR function set documentation.
39015         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
39016         implementation.
39018 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
39020         * math/libm-test.inc (MAX_EXP): Define.
39021         (ULPDIFF): Define.
39022         (ulp): New function.
39023         (check_float_internal): Use ULPDIFF.
39024         (cpow_test): Disable failing test.
39025         (check_ulp): Test ulp() implemetnation.
39026         (main): Call check_ulp before starting tests.
39028 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
39030         * math/gen-libm-test.pl (generate_testfile): Do not handle
39031         START_DATA and END_DATA.
39032         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
39033         END_DATA.
39034         (acos_tonearest_test_data): Likewise.
39035         (acos_towardzero_test_data): Likewise.
39036         (acos_downward_test_data): Likewise.
39037         (acos_upward_test_data): Likewise.
39038         (acosh_test_data): Likewise.
39039         (asin_test_data): Likewise.
39040         (asin_tonearest_test_data): Likewise.
39041         (asin_towardzero_test_data): Likewise.
39042         (asin_downward_test_data): Likewise.
39043         (asin_upward_test_data): Likewise.
39044         (asinh_test_data): Likewise.
39045         (atan_test_data): Likewise.
39046         (atanh_test_data): Likewise.
39047         (atan2_test_data): Likewise.
39048         (cabs_test_data): Likewise.
39049         (cacos_test_data): Likewise.
39050         (cacosh_test_data): Likewise.
39051         (carg_test_data): Likewise.
39052         (casin_test_data): Likewise.
39053         (casinh_test_data): Likewise.
39054         (catan_test_data): Likewise.
39055         (catanh_test_data): Likewise.
39056         (cbrt_test_data): Likewise.
39057         (ccos_test_data): Likewise.
39058         (ccosh_test_data): Likewise.
39059         (ceil_test_data): Likewise.
39060         (cexp_test_data): Likewise.
39061         (cimag_test_data): Likewise.
39062         (clog_test_data): Likewise.
39063         (clog10_test_data): Likewise.
39064         (conj_test_data): Likewise.
39065         (copysign_test_data): Likewise.
39066         (cos_test_data): Likewise.
39067         (cos_tonearest_test_data): Likewise.
39068         (cos_towardzero_test_data): Likewise.
39069         (cos_downward_test_data): Likewise.
39070         (cos_upward_test_data): Likewise.
39071         (cosh_test_data): Likewise.
39072         (cosh_tonearest_test_data): Likewise.
39073         (cosh_towardzero_test_data): Likewise.
39074         (cosh_downward_test_data): Likewise.
39075         (cosh_upward_test_data): Likewise.
39076         (cpow_test_data): Likewise.
39077         (cproj_test_data): Likewise.
39078         (creal_test_data): Likewise.
39079         (csin_test_data): Likewise.
39080         (csinh_test_data): Likewise.
39081         (csqrt_test_data): Likewise.
39082         (ctan_test_data): Likewise.
39083         (ctan_tonearest_test_data): Likewise.
39084         (ctan_towardzero_test_data): Likewise.
39085         (ctan_downward_test_data): Likewise.
39086         (ctan_upward_test_data): Likewise.
39087         (ctanh_test_data): Likewise.
39088         (ctanh_tonearest_test_data): Likewise.
39089         (ctanh_towardzero_test_data): Likewise.
39090         (ctanh_downward_test_data): Likewise.
39091         (ctanh_upward_test_data): Likewise.
39092         (erf_test_data): Likewise.
39093         (erfc_test_data): Likewise.
39094         (exp_test_data): Likewise.
39095         (exp_tonearest_test_data): Likewise.
39096         (exp_towardzero_test_data): Likewise.
39097         (exp_downward_test_data): Likewise.
39098         (exp_upward_test_data): Likewise.
39099         (exp10_test_data): Likewise.
39100         (exp2_test_data): Likewise.
39101         (expm1_test_data): Likewise.
39102         (fabs_test_data): Likewise.
39103         (fdim_test_data): Likewise.
39104         (finite_test_data): Likewise.
39105         (floor_test_data): Likewise.
39106         (fma_test_data): Likewise.
39107         (fma_towardzero_test_data): Likewise.
39108         (fma_downward_test_data): Likewise.
39109         (fma_upward_test_data): Likewise.
39110         (fmax_test_data): Likewise.
39111         (fmin_test_data): Likewise.
39112         (fmod_test_data): Likewise.
39113         (fpclassify_test_data): Likewise.
39114         (frexp_test_data): Likewise.
39115         (gamma_test_data): Likewise.
39116         (hypot_test_data): Likewise.
39117         (ilogb_test_data): Likewise.
39118         (isfinite_test_data): Likewise.
39119         (isgreater_test_data): Likewise.
39120         (isgreaterequal_test_data): Likewise.
39121         (isinf_test_data): Likewise.
39122         (isless_test_data): Likewise.
39123         (islessequal_test_data): Likewise.
39124         (islessgreater_test_data): Likewise.
39125         (isnan_test_data): Likewise.
39126         (isnormal_test_data): Likewise.
39127         (issignaling_test_data): Likewise.
39128         (isunordered_test_data): Likewise.
39129         (j0_test_data): Likewise.
39130         (j1_test_data): Likewise.
39131         (jn_test_data): Likewise.
39132         (ldexp_test_data): Likewise.
39133         (lgamma_test_data): Likewise.
39134         (lrint_test_data): Likewise.
39135         (lrint_tonearest_test_data): Likewise.
39136         (lrint_towardzero_test_data): Likewise.
39137         (lrint_downward_test_data): Likewise.
39138         (lrint_upward_test_data): Likewise.
39139         (llrint_test_data): Likewise.
39140         (llrint_tonearest_test_data): Likewise.
39141         (llrint_towardzero_test_data): Likewise.
39142         (llrint_downward_test_data): Likewise.
39143         (llrint_upward_test_data): Likewise.
39144         (log_test_data): Likewise.
39145         (log10_test_data): Likewise.
39146         (log1p_test_data): Likewise.
39147         (log2_test_data): Likewise.
39148         (logb_test_data): Likewise.
39149         (logb_downward_test_data): Likewise.
39150         (lround_test_data): Likewise.
39151         (llround_test_data): Likewise.
39152         (modf_test_data): Likewise.
39153         (nearbyint_test_data): Likewise.
39154         (nextafter_test_data): Likewise.
39155         (nexttoward_test_data): Likewise.
39156         (pow_test_data): Likewise.
39157         (pow_tonearest_test_data): Likewise.
39158         (pow_towardzero_test_data): Likewise.
39159         (pow_downward_test_data): Likewise.
39160         (pow_upward_test_data): Likewise.
39161         (remainder_test_data): Likewise.
39162         (remainder_tonearest_test_data): Likewise.
39163         (remainder_towardzero_test_data): Likewise.
39164         (remainder_downward_test_data): Likewise.
39165         (remainder_upward_test_data): Likewise.
39166         (remquo_test_data): Likewise.
39167         (rint_test_data): Likewise.
39168         (rint_tonearest_test_data): Likewise.
39169         (rint_towardzero_test_data): Likewise.
39170         (rint_downward_test_data): Likewise.
39171         (rint_upward_test_data): Likewise.
39172         (round_test_data): Likewise.
39173         (scalb_test_data): Likewise.
39174         (scalbn_test_data): Likewise.
39175         (scalbln_test_data): Likewise.
39176         (signbit_test_data): Likewise.
39177         (sin_test_data): Likewise.
39178         (sin_tonearest_test_data): Likewise.
39179         (sin_towardzero_test_data): Likewise.
39180         (sin_downward_test_data): Likewise.
39181         (sin_upward_test_data): Likewise.
39182         (sincos_test_data): Likewise.
39183         (sinh_test_data): Likewise.
39184         (sinh_tonearest_test_data): Likewise.
39185         (sinh_towardzero_test_data): Likewise.
39186         (sinh_downward_test_data): Likewise.
39187         (sinh_upward_test_data): Likewise.
39188         (sqrt_test_data): Likewise.
39189         (tan_test_data): Likewise.
39190         (tan_tonearest_test_data): Likewise.
39191         (tan_towardzero_test_data): Likewise.
39192         (tan_downward_test_data): Likewise.
39193         (tan_upward_test_data): Likewise.
39194         (tanh_test_data): Likewise.
39195         (tgamma_test_data): Likewise.
39196         (trunc_test_data): Likewise.
39197         (y0_test_data): Likewise.
39198         (y1_test_data): Likewise.
39199         (yn_test_data): Likewise.
39200         (significand_test_data): Likewise.
39202         * math/gen-libm-test.pl (@functions): Remove variable.
39203         (generate_testfile): Don't handle START and END lines.
39204         * math/libm-test.inc (START): New macro.
39205         (END): Likewise.
39206         (END_COMPLEX): Likewise.
39207         (acos_test): Use END macro without arguments.
39208         (acos_test_tonearest): Likewise.
39209         (acos_test_towardzero): Likewise.
39210         (acos_test_downward): Likewise.
39211         (acos_test_upward): Likewise.
39212         (acosh_test): Likewise.
39213         (asin_test): Likewise.
39214         (asin_test_tonearest): Likewise.
39215         (asin_test_towardzero): Likewise.
39216         (asin_test_downward): Likewise.
39217         (asin_test_upward): Likewise.
39218         (asinh_test): Likewise.
39219         (atan_test): Likewise.
39220         (atanh_test): Likewise.
39221         (atan2_test): Likewise.
39222         (cabs_test): Likewise.
39223         (cacos_test): Use END_COMPLEX macro without arguments.
39224         (cacosh_test): Likewise.
39225         (carg_test): Use END macro without arguments.
39226         (casin_test): Use END_COMPLEX macro without arguments.
39227         (casinh_test): Likewise.
39228         (catan_test): Likewise.
39229         (catanh_test): Likewise.
39230         (cbrt_test): Use END macro without arguments.
39231         (ccos_test): Use END_COMPLEX macro without arguments.
39232         (ccosh_test): Likewise.
39233         (ceil_test): Use END macro without arguments.
39234         (cexp_test): Use END_COMPLEX macro without arguments.
39235         (cimag_test): Use END macro without arguments.
39236         (clog_test): Use END_COMPLEX macro without arguments.
39237         (clog10_test): Likewise.
39238         (conj_test): Likewise.
39239         (copysign_test): Use END macro without arguments.
39240         (cos_test): Likewise.
39241         (cos_test_tonearest): Likewise.
39242         (cos_test_towardzero): Likewise.
39243         (cos_test_downward): Likewise.
39244         (cos_test_upward): Likewise.
39245         (cosh_test): Likewise.
39246         (cosh_test_tonearest): Likewise.
39247         (cosh_test_towardzero): Likewise.
39248         (cosh_test_downward): Likewise.
39249         (cosh_test_upward): Likewise.
39250         (cpow_test): Use END_COMPLEX macro without arguments.
39251         (cproj_test): Likewise.
39252         (creal_test): Use END macro without arguments.
39253         (csin_test): Use END_COMPLEX macro without arguments.
39254         (csinh_test): Likewise.
39255         (csqrt_test): Likewise.
39256         (ctan_test): Likewise.
39257         (ctan_test_tonearest): Likewise.
39258         (ctan_test_towardzero): Likewise.
39259         (ctan_test_downward): Likewise.
39260         (ctan_test_upward): Likewise.
39261         (ctanh_test): Likewise.
39262         (ctanh_test_tonearest): Likewise.
39263         (ctanh_test_towardzero): Likewise.
39264         (ctanh_test_downward): Likewise.
39265         (ctanh_test_upward): Likewise.
39266         (erf_test): Use END macro without arguments.
39267         (erfc_test): Likewise.
39268         (exp_test): Likewise.
39269         (exp_test_tonearest): Likewise.
39270         (exp_test_towardzero): Likewise.
39271         (exp_test_downward): Likewise.
39272         (exp_test_upward): Likewise.
39273         (exp10_test): Likewise.
39274         (exp2_test): Likewise.
39275         (expm1_test): Likewise.
39276         (fabs_test): Likewise.
39277         (fdim_test): Likewise.
39278         (finite_test): Likewise.
39279         (floor_test): Likewise.
39280         (fma_test): Likewise.
39281         (fma_test_towardzero): Likewise.
39282         (fma_test_downward): Likewise.
39283         (fma_test_upward): Likewise.
39284         (fmax_test): Likewise.
39285         (fmin_test): Likewise.
39286         (fmod_test): Likewise.
39287         (fpclassify_test): Likewise.
39288         (frexp_test): Likewise.
39289         (gamma_test): Likewise.
39290         (hypot_test): Likewise.
39291         (ilogb_test): Likewise.
39292         (isfinite_test): Likewise.
39293         (isgreater_test): Likewise.
39294         (isgreaterequal_test): Likewise.
39295         (isinf_test): Likewise.
39296         (isless_test): Likewise.
39297         (islessequal_test): Likewise.
39298         (islessgreater_test): Likewise.
39299         (isnan_test): Likewise.
39300         (isnormal_test): Likewise.
39301         (issignaling_test): Likewise.
39302         (isunordered_test): Likewise.
39303         (j0_test): Likewise.
39304         (j1_test): Likewise.
39305         (jn_test): Likewise.
39306         (ldexp_test): Likewise.
39307         (lgamma_test): Likewise.
39308         (lrint_test): Likewise.
39309         (lrint_test_tonearest): Likewise.
39310         (lrint_test_towardzero): Likewise.
39311         (lrint_test_downward): Likewise.
39312         (lrint_test_upward): Likewise.
39313         (llrint_test): Likewise.
39314         (llrint_test_tonearest): Likewise.
39315         (llrint_test_towardzero): Likewise.
39316         (llrint_test_downward): Likewise.
39317         (llrint_test_upward): Likewise.
39318         (log_test): Likewise.
39319         (log10_test): Likewise.
39320         (log1p_test): Likewise.
39321         (log2_test): Likewise.
39322         (logb_test): Likewise.
39323         (logb_test_downward): Likewise.
39324         (lround_test): Likewise.
39325         (llround_test): Likewise.
39326         (modf_test): Likewise.
39327         (nearbyint_test): Likewise.
39328         (nextafter_test): Likewise.
39329         (nexttoward_test): Likewise.
39330         (pow_test): Likewise.
39331         (pow_test_tonearest): Likewise.
39332         (pow_test_towardzero): Likewise.
39333         (pow_test_downward): Likewise.
39334         (pow_test_upward): Likewise.
39335         (remainder_test): Likewise.
39336         (remainder_test_tonearest): Likewise.
39337         (remainder_test_towardzero): Likewise.
39338         (remainder_test_downward): Likewise.
39339         (remainder_test_upward): Likewise.
39340         (remquo_test): Likewise.
39341         (rint_test): Likewise.
39342         (rint_test_tonearest): Likewise.
39343         (rint_test_towardzero): Likewise.
39344         (rint_test_downward): Likewise.
39345         (rint_test_upward): Likewise.
39346         (round_test): Likewise.
39347         (scalb_test): Likewise.
39348         (scalbn_test): Likewise.
39349         (scalbln_test): Likewise.
39350         (signbit_test): Likewise.
39351         (sin_test): Likewise.
39352         (sin_test_tonearest): Likewise.
39353         (sin_test_towardzero): Likewise.
39354         (sin_test_downward): Likewise.
39355         (sin_test_upward): Likewise.
39356         (sincos_test): Likewise.
39357         (sinh_test): Likewise.
39358         (sinh_test_tonearest): Likewise.
39359         (sinh_test_towardzero): Likewise.
39360         (sinh_test_downward): Likewise.
39361         (sinh_test_upward): Likewise.
39362         (sqrt_test): Likewise.
39363         (tan_test): Likewise.
39364         (tan_test_tonearest): Likewise.
39365         (tan_test_towardzero): Likewise.
39366         (tan_test_downward): Likewise.
39367         (tan_test_upward): Likewise.
39368         (tanh_test): Likewise.
39369         (tgamma_test): Likewise.
39370         (trunc_test): Likewise.
39371         (y0_test): Likewise.
39372         (y1_test): Likewise.
39373         (yn_test): Likewise.
39374         (significand_test): Likewise.
39376 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
39378         [BZ #15381]
39379         * libio/genops.c (_IO_no_init): Initialize wide struct info.
39381 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
39383         [BZ #14894]
39384         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
39385         __ppc_mdoio and __ppc_mdoom.
39386         * manual/platform.texi: Document new functions __ppc_yield,
39387         __ppc_mdoio and __ppc_mdoom.
39389 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
39391         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
39392         (main): Mention "tls" pseudo-hwcap is legacy.
39393         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
39395 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
39397         * math/gen-libm-test.pl (parse_args): Output only string of
39398         arguments as text for test name, not full call or descriptions of
39399         tests for extra outputs.
39400         (generate_testfile): Do not pass function name to parse_args.
39401         Generate this_func variable from START.
39402         * math/libm-test.inc (struct test_f_f_data): Rename test_name
39403         field to arg_str.
39404         (struct test_ff_f_data): Likewise.
39405         (test_ff_f_data_nexttoward): Likewise.
39406         (struct test_fi_f_data): Likewise.
39407         (struct test_fl_f_data): Likewise.
39408         (struct test_if_f_data): Likewise.
39409         (struct test_fff_f_data): Likewise.
39410         (struct test_c_f_data): Likewise.
39411         (struct test_f_f1_data): Likewise.  Remove field extra_name.
39412         (struct test_fF_f1_data): Likewise.
39413         (struct test_ffI_f1_data): Likewise.
39414         (struct test_c_c_data): Rename test_name field to arg_str.
39415         (struct test_cc_c_data): Likewise.
39416         (struct test_f_i_data): Likewise.
39417         (struct test_ff_i_data): Likewise.
39418         (struct test_f_l_data): Likewise.
39419         (struct test_f_L_data): Likewise.
39420         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
39421         and extra2_name.
39422         (COMMON_TEST_SETUP): New macro.
39423         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
39424         (COMMON_TEST_CLEANUP): Likewise.
39425         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
39426         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
39427         macros.
39428         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
39429         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
39430         macros.
39431         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
39432         (RUN_TEST_fff_f): Take argument string.  Call new setup and
39433         cleanup macros.
39434         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
39435         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
39436         macros.
39437         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
39438         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
39439         macros.
39440         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
39441         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
39442         cleanup macros.
39443         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
39444         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
39445         cleanup macros.
39446         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
39447         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
39448         cleanup macros.
39449         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
39450         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
39451         macros.
39452         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
39453         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
39454         macros.
39455         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
39456         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
39457         macros.
39458         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
39459         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
39460         cleanup macros.
39461         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
39462         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
39463         cleanup macros.
39464         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
39465         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
39466         macros.
39467         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
39468         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
39469         cleanup macros.
39470         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
39471         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
39472         macros.
39473         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
39474         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
39475         macros.
39476         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
39477         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
39478         cleanup macros.
39479         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
39481 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
39483         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
39484         to _sifields.sigfault.
39485         (si_addr_lsb): Define new macro.
39486         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
39487         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39488         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
39490 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
39492         [BZ #15441]
39493         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
39494         returns -1.
39495         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
39496         null return -1.
39497         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
39498         loading the domain.
39500 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
39502         * math/gen-libm-test.pl (parse_args): Do not include expected
39503         result in test name.
39504         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
39505         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39506         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39507         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39508         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39511 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39513         * benchtests/Makefile: Sort function entries.
39515         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
39516         tanh, asinh, acosh, atanh.
39517         * benchtests/acos-inputs: New file.
39518         * benchtests/acosh-inputs: New file.
39519         * benchtests/asin-inputs: New file.
39520         * benchtests/asinh-inputs: New file.
39521         * benchtests/atanh-inputs: New file.
39522         * benchtests/cosh-inputs: New file.
39523         * benchtests/log-inputs: New file.
39524         * benchtests/sinh-inputs: New file.
39525         * benchtests/tanh-inputs: New file.
39527 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
39529         [BZ #15339]
39530         * posix/tst-getaddrinfo4.c: New test.
39531         * posix/Makefile (tests): Add it.
39533 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39535         [BZ #15339]
39536         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
39537         when no services were used.
39538         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
39539         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
39541 2013-05-21  Andreas Schwab  <schwab@suse.de>
39543         [BZ #15014]
39544         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
39545         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
39546         successful.
39547         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
39548         redundant variable declarations and reallocation of buffer when
39549         parsing as IPv6 address.  Always set NSS status when called from
39550         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
39551         buffer too small.  Correct computation of needed size.
39552         * nss/Makefile (tests): Add test-digits-dots.
39553         * nss/test-digits-dots.c: New test.
39555 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39557         * benchtests/Makefile: Remove instructions for adding
39558         benchmark tests.
39559         * benchtests/README: New file to explain how to execute and
39560         enhance the benchmark tests.
39562 2013-05-21  Andreas Schwab  <schwab@suse.de>
39564         [BZ #15493]
39565         * setjmp/Makefile (tests): Add tst-sigsetjmp.
39566         * setjmp/tst-sigsetjmp.c: New test.
39568 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
39570         * sysdeps/x86_64/memset.S (memset): New implementation.
39571         (__bzero): Likewise.
39572         (__memset_tail): New function.
39574 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
39576         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
39577         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
39578         __memcpy_sse2_unaligned ifunc selection.
39579         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
39580         Add memcpy-sse2-unaligned.S.
39581         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39582         Add: __memcpy_sse2_unaligned.
39584 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
39586         [BZ #15490]
39587         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
39588         math_force_eval before restoring floating-point envrionment.
39589         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
39590         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
39591         Likewise.
39592         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
39593         <math_private.h>.
39594         (__nearbyintl): Use math_force_eval before restoring
39595         floating-point environment.
39596         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
39598         * math/gen-libm-test.pl (special_functions): Remove.
39599         (parse_args): Don't handle TEST_extra.  Handle functions with no
39600         return value.
39601         * math/libm-test.inc (struct test_sincos_data): Replace with
39602         struct test_fFF_11_data.
39603         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
39604         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
39605         (sincos_test_data): Change element type to struct
39606         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
39607         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
39608         RUN_TEST_LOOP_sincos.
39609         * math/README.libm-test: Don't mention special handling of
39610         individual functions.
39611         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
39612         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39613         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39614         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39615         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39618         * math/gen-libm-test.pl (get_variable): Remove function.
39619         (parse_args): Don't show pointer parameters to call in test
39620         names.  Use "extra output N" in test names for extra outputs
39621         rather than naming variables.
39623 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
39625         [BZ #15488]
39626         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
39627         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
39628         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
39629         double tests.
39630         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
39631         disable.
39632         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
39633         check_long_double.
39635         * math/gen-libm-test.pl (@tests): Remove variable.
39636         ($count): Likewise.
39637         (new_test): Remove function.
39638         (show_exceptions): New function.
39639         (special_functions): Use show_exceptions instead of new_test.
39640         (parse_args): Likewise.
39641         (generate_testfile): Pass only function name in generated call to
39642         print_max_error or print_complex_max_error.
39643         (get_ulps): Do not handle complex tests specially.
39644         (output_test): Rename to ...
39645         (get_all_ulps_for_test): ... this.  Return a string rather than
39646         printing to a file.  Require ulps to be present.
39647         (output_ulps): Generate arrays rather than #defines.
39648         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
39649         (struct ulp_data): New type.
39650         (BUILD_COMPLEX_ULP): Remove macro.
39651         (compare_ulp_data): New function.
39652         (find_ulps): Likewise.
39653         (find_test_ulps): Likewise.
39654         (find_function_ulps): Likewise.
39655         (find_complex_function_ulps): Likewise.
39656         (print_max_error): Determine allowed ulps using
39657         find_function_ulps.
39658         (print_complex_max_error): Determine allowed ulps using
39659         find_complex_function_ulps.
39660         (check_float_internal): Determine max ulps using find_test_ulps.
39661         (check_float): Do not take max_ulp parameter.  Update call to
39662         check_float_internal.
39663         (check_complex): Likewise.
39664         (check_int): Do not take max_ulp parameter.
39665         (check_long): Likewise.
39666         (check_bool): Likewise.
39667         (check_longlong): Likewise.
39668         (struct test_f_f_data): Remove max_ulp field.
39669         (struct test_ff_f_data): Likewise.
39670         (struct test_ff_f_data_nexttoward): Likewise.
39671         (struct test_fi_f_data): Likewise.
39672         (struct test_fl_f_data): Likewise.
39673         (struct test_if_f_data): Likewise.
39674         (struct test_fff_f_data): Likewise.
39675         (struct test_c_f_data): Likewise.
39676         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
39677         (struct test_fF_f1_data): Likewise.
39678         (struct test_ffI_f1_data): Likewise.
39679         (struct test_c_c_data): Remove max_ulp field.
39680         (struct test_cc_c_data): Likewise.
39681         (struct test_f_i_data): Likewise.
39682         (struct test_ff_i_data): Likewise.
39683         (struct test_f_l_data): Likewise.
39684         (struct test_f_L_data): Likewise.
39685         (struct test_sincos_data): Likewise.
39686         (RUN_TEST_f_f): Do not handle ulps.
39687         (RUN_TEST_LOOP_f_f): Likewise.
39688         (RUN_TEST_2_f): Likewise.
39689         (RUN_TEST_LOOP_2_f): Likewise.
39690         (RUN_TEST_fff_f): Likewise.
39691         (RUN_TEST_LOOP_fff_f): Likewise.
39692         (RUN_TEST_c_f): Likewise.
39693         (RUN_TEST_LOOP_c_f): Likewise.
39694         (RUN_TEST_f_f1): Likewise.
39695         (RUN_TEST_LOOP_f_f1): Likewise.
39696         (RUN_TEST_fF_f1): Likewise.
39697         (RUN_TEST_LOOP_fF_f1): Likewise.
39698         (RUN_TEST_fI_f1): Likewise.
39699         (RUN_TEST_LOOP_fI_f1): Likewise.
39700         (RUN_TEST_ffI_f1): Likewise.
39701         (RUN_TEST_LOOP_ffI_f1): Likewise.
39702         (RUN_TEST_c_c): Likewise.
39703         (RUN_TEST_LOOP_c_c): Likewise.
39704         (RUN_TEST_cc_c): Likewise.
39705         (RUN_TEST_LOOP_cc_c): Likewise.
39706         (RUN_TEST_f_i): Likewise.
39707         (RUN_TEST_LOOP_f_i): Likewise.
39708         (RUN_TEST_f_i_tg): Likewise.
39709         (RUN_TEST_LOOP_f_i_tg): Likewise.
39710         (RUN_TEST_ff_i_tg): Likewise.
39711         (RUN_TEST_LOOP_ff_i_tg): Likewise.
39712         (RUN_TEST_f_b): Likewise.
39713         (RUN_TEST_LOOP_f_b): Likewise.
39714         (RUN_TEST_f_b_tg): Likewise.
39715         (RUN_TEST_LOOP_f_b_tg): Likewise.
39716         (RUN_TEST_f_l): Likewise.
39717         (RUN_TEST_LOOP_f_l): Likewise.
39718         (RUN_TEST_f_L): Likewise.
39719         (RUN_TEST_LOOP_f_L): Likewise.
39720         (RUN_TEST_sincos): Likewise.
39721         (RUN_TEST_LOOP_sincos): Likewise.
39723 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
39725         [BZ #15480]
39726         [BZ #15485]
39727         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
39728         main case of finite arguments, set rounding mode to FE_TONEAREST
39729         and discard exceptions.
39730         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
39731         exceptions.
39732         (remainder_tonearest_test_data): New variable.
39733         (remainder_test_tonearest): New function.
39734         (remainder_towardzero_test_data): New variable.
39735         (remainder_test_towardzero): New function.
39736         (remainder_downward_test_data): New variable.
39737         (remainder_test_downward): New function.
39738         (remainder_upward_test_data): New variable.
39739         (remainder_test_upward): New function.
39740         (main): Call the new test functions.
39742         * math/libm-test.inc (struct test_f_f1_data): Remove field
39743         extra_init.
39744         (struct test_fF_f1_data): Likewise.
39745         (struct test_ffI_f1_data): Likewise.
39746         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
39747         based on value of EXTRA_EXPECTED.
39748         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
39749         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
39750         EXTRA_VAR based on value of EXTRA_EXPECTED.
39751         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
39752         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
39753         EXTRA_VAR based on value of EXTRA_EXPECTED.
39754         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
39755         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
39756         EXTRA_VAR based on value of EXTRA_EXPECTED.
39757         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
39758         * math/gen-libm-test.pl (parse_args): Don't output initializers
39759         for extra output values.
39761         * math/libm-test.inc (check_int): Expect result to be exactly
39762         equal to expected value and do not handle ulps.
39763         (check_long): Likewise.
39764         (check_longlong): Likewise.
39766         * math/libm-test.inc (ceil_test_data): Test for "inexact"
39767         exceptions.
39768         (cimag_test_data): Likewise.
39769         (conj_test_data): Likewise.
39770         (copysign_test_data): Likewise.
39771         (cproj_test_data): Likewise.
39772         (creal_test_data): Likewise.
39773         (fabs_test_data): Likewise.
39774         (fdim_test_data): Likewise.
39775         (finite_test_data): Likewise.
39776         (floor_test_data): Likewise.
39777         (fmax_test_data): Likewise.
39778         (fmin_test_data): Likewise.
39779         (fmod_test_data): Likewise.
39780         (fpclassify_test_data): Likewise.
39781         (frexp_test_data): Likewise.
39782         (ilogb_test_data): Likewise.
39783         (isfinite_test_data): Likewise.
39784         (isgreater_test_data): Likewise.
39785         (isgreaterequal_test_data): Likewise.
39786         (isinf_test_data): Likewise.
39787         (isless_test_data): Likewise.
39788         (islessequal_test_data): Likewise.
39789         (islessgreater_test_data): Likewise.
39790         (isnan_test_data): Likewise.
39791         (isnormal_test_data): Likewise.
39792         (issignaling_test_data): Likewise.
39793         (isunordered_test_data): Likewise.
39794         (ldexp_test_data): Likewise.
39795         (lrint_test_data): Likewise.
39796         (lrint_test_data) [TEST_FLOAT]: Disable one test.
39797         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
39798         (lrint_tonearest_test_data): Test for "inexact" exceptions.
39799         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
39800         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
39801         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
39802         test input.
39803         (lrint_towardzero_test_data): Test for "inexact" exceptions.
39804         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
39805         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
39806         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
39807         that test input.
39808         (lrint_downward_test_data): Test for "inexact" exceptions.
39809         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
39810         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
39811         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
39812         test input.
39813         (lrint_upward_test_data): Test for "inexact" exceptions.
39814         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
39815         test input.
39816         (llrint_test_data): Test for "inexact" exceptions.
39817         (llrint_test_data) [TEST_FLOAT]: Disable one test.
39818         (llrint_tonearest_test_data): Test for "inexact" exceptions.
39819         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
39820         (llrint_towardzero_test_data): Test for "inexact" exceptions.
39821         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
39822         (llrint_downward_test_data): Test for "inexact" exceptions.
39823         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
39824         (llrint_upward_test_data): Test for "inexact" exceptions.
39825         (logb_test_data): Likewise.
39826         (logb_downward_test_data): Likewise.
39827         (nextafter_test_data): Likewise.
39828         (nexttoward_test_data): Likewise.
39829         (remainder_test_data): Likewise.
39830         (remquo_test_data): Likewise.
39831         (scalbn_test_data): Likewise.
39832         (scalbln_test_data): Likewise.
39833         (signbit_test_data): Likewise.
39834         (sqrt_test_data): Likewise.
39835         (significand_test_data): Likewise.
39837 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39839         [BZ #15424]
39840         * benchtests/bench-modf.c (struct args): Mark arg0 as
39841         volatile.
39842         * scripts/bench.pl: Mark members of struct args as volatile.
39844 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39846         [BZ # 15497]
39847         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
39848         negative infinity on POWER6 or lower.
39849         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
39851 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
39853         [BZ #15442]
39854         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
39855         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
39856         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
39857         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
39858         (_FP_SETQNAN): New macro.
39859         (_FP_SETQNAN_SEMIRAW): Likewise.
39860         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
39861         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
39862         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
39863         (FP_EXTEND): Use _FP_FRAC_SNANP.
39864         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
39865         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
39866         into account.
39867         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
39868         New macro.
39869         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
39870         Likewise.
39872 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
39874         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
39875         with DIVIDE_BY_ZERO_EXCEPTION.
39876         (gamma_test_data): Likewise.
39877         (lgamma_test_data): Likewise.
39878         (log_test_data): Likewise.
39879         (log10_test_data): Likewise.
39880         (log2_test_data): Likewise.
39881         (tgamma_test_data): Likewise.
39883         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
39884         (acos_test_tonearest): Likewise.
39885         (acos_test_towardzero): Likewise.
39886         (acos_test_downward): Likewise.
39887         (acos_test_upward): Likewise.
39888         (acosh_test): Likewise.
39889         (asin_test): Likewise.
39890         (asin_test_tonearest): Likewise.
39891         (asin_test_towardzero): Likewise.
39892         (asin_test_downward): Likewise.
39893         (asin_test_upward): Likewise.
39894         (asinh_test): Likewise.
39895         (atan_test): Likewise.
39896         (atanh_test): Likewise.
39897         (atan2_test): Likewise.
39898         (cabs_test): Likewise.
39899         (cacos_test): Likewise.
39900         (cacosh_test): Likewise.
39901         (casin_test): Likewise.
39902         (casinh_test): Likewise.
39903         (catan_test): Likewise.
39904         (catanh_test): Likewise.
39905         (cbrt_test): Likewise.
39906         (ccos_test): Likewise.
39907         (ccosh_test): Likewise.
39908         (cexp_test): Likewise.
39909         (clog_test): Likewise.
39910         (clog10_test): Likewise.
39911         (cos_test): Likewise.
39912         (cos_test_tonearest): Likewise.
39913         (cos_test_towardzero): Likewise.
39914         (cos_test_downward): Likewise.
39915         (cos_test_upward): Likewise.
39916         (cosh_test): Likewise.
39917         (cosh_test_tonearest): Likewise.
39918         (cosh_test_towardzero): Likewise.
39919         (cosh_test_downward): Likewise.
39920         (cosh_test_upward): Likewise.
39921         (cpow_test): Likewise.
39922         (csin_test): Likewise.
39923         (csinh_test): Likewise.
39924         (csqrt_test): Likewise.
39925         (ctan_test): Likewise.
39926         (ctan_test_tonearest): Likewise.
39927         (ctan_test_towardzero): Likewise.
39928         (ctan_test_downward): Likewise.
39929         (ctan_test_upward): Likewise.
39930         (ctanh_test): Likewise.
39931         (ctanh_test_tonearest): Likewise.
39932         (ctanh_test_towardzero): Likewise.
39933         (ctanh_test_downward): Likewise.
39934         (ctanh_test_upward): Likewise.
39935         (erf_test): Likewise.
39936         (erfc_test): Likewise.
39937         (exp_test): Likewise.
39938         (exp_test_tonearest): Likewise.
39939         (exp_test_towardzero): Likewise.
39940         (exp_test_downward): Likewise.
39941         (exp_test_upward): Likewise.
39942         (exp10_test): Likewise.
39943         (exp2_test): Likewise.
39944         (expm1_test): Likewise.
39945         (fmod_test): Likewise.
39946         (gamma_test): Likewise.
39947         (hypot_test): Likewise.
39948         (j0_test): Likewise.
39949         (j1_test): Likewise.
39950         (jn_test): Likewise.
39951         (lgamma_test): Likewise.
39952         (log_test): Likewise.
39953         (log10_test): Likewise.
39954         (log1p_test): Likewise.
39955         (log2_test): Likewise.
39956         (logb_test_downward): Likewise.
39957         (pow_test): Likewise.
39958         (pow_test_tonearest): Likewise.
39959         (pow_test_towardzero): Likewise.
39960         (pow_test_downward): Likewise.
39961         (pow_test_upward): Likewise.
39962         (remainder_test): Likewise.
39963         (remquo_test): Likewise.
39964         (sin_test): Likewise.
39965         (sin_test_tonearest): Likewise.
39966         (sin_test_towardzero): Likewise.
39967         (sin_test_downward): Likewise.
39968         (sin_test_upward): Likewise.
39969         (sincos_test): Likewise.
39970         (sinh_test): Likewise.
39971         (sinh_test_tonearest): Likewise.
39972         (sinh_test_towardzero): Likewise.
39973         (sinh_test_downward): Likewise.
39974         (sinh_test_upward): Likewise.
39975         (sqrt_test): Likewise.
39976         (tan_test): Likewise.
39977         (tan_test_tonearest): Likewise.
39978         (tan_test_towardzero): Likewise.
39979         (tan_test_downward): Likewise.
39980         (tan_test_upward): Likewise.
39981         (tanh_test): Likewise.
39982         (tgamma_test): Likewise.
39983         (y0_test): Likewise.
39984         (y1_test): Likewise.
39985         (yn_test): Likewise.
39987         * math/gen-libm-test.pl (adjust_arg): Remove function.
39988         (special_function): Remove argument $in_func.  Only handle
39989         generating output for tables of tests, not inside functions.
39990         (parse_args): Likewise.
39991         (generate_testfile): Remove variable $in_func.  Update call to
39992         parse_args.
39993         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
39994         (MINUS_ZERO_INIT): Rename macro to minus_zero.
39995         (PLUS_INFTY_INIT): Rename macro to plus_infty.
39996         (MINUS_INFTY_INIT): Rename macro to minus_infty.
39997         (QNAN_VALUE_INIT): Rename macro to qnan_value.
39998         (MAX_VALUE_INIT): Rename macro to max_value.
39999         (MIN_VALUE_INIT): Rename macro to min_value.
40000         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
40001         (plus_zero): Remove variable.
40002         (minus_zero): Likewise.
40003         (plus_infty): Likewise.
40004         (minus_infty): Likewise.
40005         (qnan_value): Likewise.
40006         (max_value): Likewise.
40007         (min_value): Likewise.
40008         (min_subnorm_value): Likewise.
40010 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40012         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
40013         uint64_t or uint32_t usage.
40014         * crypt/sha256-block.c: Likewise.
40015         * crypt/sha256-crypt.c: Likewise.
40016         * crypt/sha256.c: Likewise.
40017         * crypt/sha512-block.c: Likewise.
40018         * crypt/sha512-crypt.c: Likewise.
40019         * crypt/sha512.c: Likewise.
40020         * debug/backtrace-tst.c: Likewise.
40021         * debug/pcprofiledump.c: Likewise.
40022         * elf/cache.c: Likewise.
40023         * elf/dl-cache.c: Likewise.
40024         * elf/dl-misc.c: Likewise.
40025         * elf/dl-profile.c: Likewise.
40026         * elf/dl-support.c: Likewise.
40027         * elf/ldconfig.c: Likewise.
40028         * elf/sprof.c: Likewise.
40029         * iconv/dummy-repertoire.c: Likewise.
40030         * iconv/iconv_charmap.c: Likewise.
40031         * iconv/skeleton.c: Likewise.
40032         * iconvdata/8bit-generic.c: Likewise.
40033         * iconvdata/cp737.h: Likewise.
40034         * iconvdata/cp775.h: Likewise.
40035         * iconvdata/ibm1008.h: Likewise.
40036         * iconvdata/ibm1025.h: Likewise.
40037         * iconvdata/ibm1046.h: Likewise.
40038         * iconvdata/ibm1097.h: Likewise.
40039         * iconvdata/ibm1112.h: Likewise.
40040         * iconvdata/ibm1122.h: Likewise.
40041         * iconvdata/ibm1123.h: Likewise.
40042         * iconvdata/ibm1124.h: Likewise.
40043         * iconvdata/ibm1129.h: Likewise.
40044         * iconvdata/ibm1130.h: Likewise.
40045         * iconvdata/ibm1132.h: Likewise.
40046         * iconvdata/ibm1133.h: Likewise.
40047         * iconvdata/ibm1137.h: Likewise.
40048         * iconvdata/ibm1140.h: Likewise.
40049         * iconvdata/ibm1141.h: Likewise.
40050         * iconvdata/ibm1142.h: Likewise.
40051         * iconvdata/ibm1143.h: Likewise.
40052         * iconvdata/ibm1144.h: Likewise.
40053         * iconvdata/ibm1145.h: Likewise.
40054         * iconvdata/ibm1146.h: Likewise.
40055         * iconvdata/ibm1147.h: Likewise.
40056         * iconvdata/ibm1148.h: Likewise.
40057         * iconvdata/ibm1149.h: Likewise.
40058         * iconvdata/ibm1153.h: Likewise.
40059         * iconvdata/ibm1154.h: Likewise.
40060         * iconvdata/ibm1155.h: Likewise.
40061         * iconvdata/ibm1156.h: Likewise.
40062         * iconvdata/ibm1157.h: Likewise.
40063         * iconvdata/ibm1158.h: Likewise.
40064         * iconvdata/ibm1160.h: Likewise.
40065         * iconvdata/ibm1161.h: Likewise.
40066         * iconvdata/ibm1162.h: Likewise.
40067         * iconvdata/ibm1163.h: Likewise.
40068         * iconvdata/ibm1164.h: Likewise.
40069         * iconvdata/ibm1166.h: Likewise.
40070         * iconvdata/ibm1167.h: Likewise.
40071         * iconvdata/ibm12712.h: Likewise.
40072         * iconvdata/ibm1390.h: Likewise.
40073         * iconvdata/ibm1399.h: Likewise.
40074         * iconvdata/ibm16804.h: Likewise.
40075         * iconvdata/ibm4517.h: Likewise.
40076         * iconvdata/ibm4899.h: Likewise.
40077         * iconvdata/ibm4909.h: Likewise.
40078         * iconvdata/ibm4971.h: Likewise.
40079         * iconvdata/ibm5347.h: Likewise.
40080         * iconvdata/ibm803.h: Likewise.
40081         * iconvdata/ibm856.h: Likewise.
40082         * iconvdata/ibm901.h: Likewise.
40083         * iconvdata/ibm902.h: Likewise.
40084         * iconvdata/ibm9030.h: Likewise.
40085         * iconvdata/ibm9066.h: Likewise.
40086         * iconvdata/ibm921.h: Likewise.
40087         * iconvdata/ibm922.h: Likewise.
40088         * iconvdata/ibm9448.h: Likewise.
40089         * iconvdata/isiri-3342.h: Likewise.
40090         * iconvdata/jis0201.h: Likewise.
40091         * include/link.h: Likewise.
40092         * include/netdb.h: Likewise.
40093         * inet/check_native.c: Likewise.
40094         * inet/check_pf.c: Likewise.
40095         * inet/getipv4sourcefilter.c: Likewise.
40096         * inet/getnameinfo.c: Likewise.
40097         * inet/getsourcefilter.c: Likewise.
40098         * inet/htonl.c: Likewise.
40099         * inet/setipv4sourcefilter.c: Likewise.
40100         * inet/setsourcefilter.c: Likewise.
40101         * inet/test-inet6_opt.c: Likewise.
40102         * inet/tst-network.c: Likewise.
40103         * locale/C-collate.c: Likewise.
40104         * locale/C-ctype.c: Likewise.
40105         * locale/C-time.c: Likewise.
40106         * locale/C-translit.h: Likewise.
40107         * locale/loadarchive.c: Likewise.
40108         * locale/programs/3level.h: Likewise.
40109         * locale/programs/charmap.c: Likewise.
40110         * locale/programs/charmap.h: Likewise.
40111         * locale/programs/ld-address.c: Likewise.
40112         * locale/programs/ld-collate.c: Likewise.
40113         * locale/programs/ld-ctype.c: Likewise.
40114         * locale/programs/ld-identification.c: Likewise.
40115         * locale/programs/ld-measurement.c: Likewise.
40116         * locale/programs/ld-messages.c: Likewise.
40117         * locale/programs/ld-monetary.c: Likewise.
40118         * locale/programs/ld-name.c: Likewise.
40119         * locale/programs/ld-numeric.c: Likewise.
40120         * locale/programs/ld-paper.c: Likewise.
40121         * locale/programs/ld-telephone.c: Likewise.
40122         * locale/programs/ld-time.c: Likewise.
40123         * locale/programs/linereader.c: Likewise.
40124         * locale/programs/locale.c: Likewise.
40125         * locale/programs/locarchive.c: Likewise.
40126         * locale/programs/locfile.h: Likewise.
40127         * locale/programs/repertoire.c: Likewise.
40128         * locale/programs/simple-hash.c: Likewise.
40129         * locale/programs/simple-hash.h: Likewise.
40130         * malloc/memusage.c: Likewise.
40131         * malloc/memusagestat.c: Likewise.
40132         * nis/nis_defaults.c: Likewise.
40133         * nis/nis_hash.c: Likewise.
40134         * nis/nis_print.c: Likewise.
40135         * nis/nis_xdr.c: Likewise.
40136         * nscd/connections.c: Likewise.
40137         * nscd/hstcache.c: Likewise.
40138         * nscd/nscd_gethst_r.c: Likewise.
40139         * nscd/nscd_getserv_r.c: Likewise.
40140         * nscd/nscd_helper.c: Likewise.
40141         * nscd/servicescache.c: Likewise.
40142         * nss/makedb.c: Likewise.
40143         * nss/nss_db/db-XXX.c: Likewise.
40144         * nss/nss_db/db-initgroups.c: Likewise.
40145         * nss/nss_db/db-netgrp.c: Likewise.
40146         * nss/nss_files/files-network.c: Likewise.
40147         * nss/nss_files/files-parse.c: Likewise.
40148         * posix/bug-regex5.c: Likewise.
40149         * posix/fnmatch_loop.c: Likewise.
40150         * posix/regcomp.c: Likewise.
40151         * posix/regexec.c: Likewise.
40152         * posix/tst-rfc3484-2.c: Likewise.
40153         * posix/tst-rfc3484-3.c: Likewise.
40154         * posix/tst-rfc3484.c: Likewise.
40155         * resolv/nss_dns/dns-canon.c: Likewise.
40156         * resolv/nss_dns/dns-network.c: Likewise.
40157         * resolv/res_init.c: Likewise.
40158         * resolv/res_mkquery.c: Likewise.
40159         * resolv/tst-aton.c: Likewise.
40160         * stdlib/cxa_atexit.c: Likewise.
40161         * stdlib/cxa_finalize.c: Likewise.
40162         * stdlib/gen-fpioconst.c: Likewise.
40163         * stdlib/strtol_l.c: Likewise.
40164         * string/tst-endian.c: Likewise.
40165         * sunrpc/auth_des.c: Likewise.
40166         * sunrpc/clnt_udp.c: Likewise.
40167         * sunrpc/rtime.c: Likewise.
40168         * sunrpc/svcauth_des.c: Likewise.
40169         * sunrpc/xdr.c: Likewise.
40170         * sunrpc/xdr_intXX_t.c: Likewise.
40171         * sunrpc/xdr_rec.c: Likewise.
40172         * sysdeps/generic/ldconfig.h: Likewise.
40173         * sysdeps/generic/ldsodefs.h: Likewise.
40174         * sysdeps/generic/memusage.h: Likewise.
40175         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40176         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
40177         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
40178         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40179         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40180         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40181         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40182         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40183         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40184         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
40185         * sysdeps/posix/getaddrinfo.c: Likewise.
40186         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40187         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40188         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40189         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40190         * sysdeps/powerpc/test-gettimebase.c: Likewise.
40191         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
40192         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
40193         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
40194         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
40195         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
40196         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40197         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40198         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
40199         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
40200         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
40201         * sysdeps/x86_64/dl-tls.h: Likewise.
40202         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
40203         * time/alt_digit.c: Likewise.
40204         * time/era.c: Likewise.
40205         * wcsmbs/tst-c16c32-1.c: Likewise.
40207 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
40209         * math/libm-test.inc (struct test_sincos_data): New type.
40210         (RUN_TEST_LOOP_sincos): New macro.
40211         (sincos_test_data): New variable.
40212         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
40214 2013-05-16  Richard Henderson  <rth@redhat.com>
40216         * math/atest-exp2.c (LIMB64): New macro.
40217         (CONSTSZ): New macro.
40218         (mp_exp1, mp_exp_m1, mp_log2): New variables.
40219         (hexdig): Move ...
40220         (print_mpn_fp): ... to function scope.
40221         (read_mpn_hex): Remove.
40222         (get_log2): Remove.
40223         (exp2_mpn): Use mp_log2.
40224         (main): Use mp_exp1.
40226 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
40228         * math/libm-test.inc: Remove comment about not testing "inexact"
40229         exceptions.
40230         (INEXACT_EXCEPTION): New macro.
40231         (NO_INEXACT_EXCEPTION): Likewise.
40232         (INVALID_EXCEPTION_OK): Update value.
40233         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40234         (OVERFLOW_EXCEPTION_OK): Likewise.
40235         (UNDERFLOW_EXCEPTION_OK): Likewise.
40236         (IGNORE_ZERO_INF_SIGN): Likewise.
40237         (ERRNO_UNCHANGED): Likewise.
40238         (ERRNO_EDOM): Likewise.
40239         (ERRNO_ERANGE): Likewise.
40240         (test_exceptions): Handle testing "inexact" exceptions.
40241         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
40242         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
40243         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
40244         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
40245         INEXACT_EXCEPTION.
40246         (rint_towardzero_test_data): Likewise.
40247         (rint_downward_test_data): Likewise.
40248         (rint_upward_test_data): Likewise.
40250         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
40251         with OVERFLOW_EXCEPTION.
40252         (exp10_test_data): Likewise.
40253         (exp2_test_data): Likewise.
40254         (expm1_test_data): Likewise.
40255         (lgamma_test_data): Likewise.
40256         (pow_test_data): Likewise.
40257         (tgamma_test_data): Likewise.
40258         (yn_test_data): Remove duplicate test of overflow.
40260         * math/libm-test.inc (struct test_cc_c_data): New type.
40261         (RUN_TEST_LOOP_cc_c): New macro.
40262         (cpow_test_data): New variable.
40263         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
40265         * math/libm-test.inc (struct test_f_L_data): New type.
40266         (RUN_TEST_LOOP_f_L): New macro.
40267         (llrint_test_data): New variable.
40268         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
40269         (llrint_tonearest_test_data): New variable.
40270         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
40271         (llrint_towardzero_test_data): New variable.
40272         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
40273         (llrint_downward_test_data): New variable.
40274         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
40275         (llrint_upward_test_data): New variable.
40276         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
40277         (llround_test_data): New variable.
40278         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
40280 2013-05-13  Peter Collingbourne  <pcc@google.com>
40282         * math/atest-exp2.c (get_log2): Remove const attribute.
40284 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
40286         * math/libm-test.inc (struct test_f_l_data): New type.
40287         (RUN_TEST_LOOP_f_l): New macro.
40288         (lrint_test_data): New variable.
40289         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
40290         (lrint_tonearest_test_data): New variable.
40291         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
40292         (lrint_towardzero_test_data): New variable.
40293         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
40294         (lrint_downward_test_data): New variable.
40295         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
40296         (lrint_upward_test_data): New variable.
40297         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
40298         (lround_test_data): New variable.
40299         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
40301 2013-05-15  Peter Collingbourne  <pcc@google.com>
40303         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
40304         (EXTRACT_WORDS64) Use where appropriate.
40305         (INSERT_WORDS64) Likewise.
40307         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
40308         constraints with x constraints.
40309         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
40311         * malloc/obstack.c (_obstack_compat): Add initializer.
40313 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
40315         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
40316         si_trapno and add si_addr_lsb to _sifields.sigfault.
40317         (si_trapno): Remove macro.
40318         (si_addr_lsb): Define new macro.
40319         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
40321 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
40323         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
40324         instead of TEST_f_l.
40325         (llrint_test_tonearest): Likewise.
40326         (llrint_test_towardzero): Likewise.
40327         (llrint_test_downward): Likewise.
40328         (llrint_test_upward): Likewise.
40329         (llround_test): Likewise.
40331         * math/libm-test.inc (struct test_f_i_data): Add comment.
40332         (RUN_TEST_LOOP_f_b): New macro.
40333         (RUN_TEST_LOOP_f_b_tg): Likewise.
40334         (finite_test_data): New variable.
40335         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
40336         (isfinite_test_data): New variable.
40337         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40338         (isinf_test_data): New variable.
40339         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40340         (isnan_test_data): New variable.
40341         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40342         (isnormal_test_data): New variable.
40343         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40344         (issignaling_test_data): New variable.
40345         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40346         (signbit_test_data): New variable.
40347         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40349         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
40350         with INVALID_EXCEPTION.
40351         (acosh_test_data): Likewise.
40352         (asin_test_data): Likewise.
40353         (atanh_test_data): Likewise.
40354         (fmod_test_data): Likewise.
40355         (log_test_data): Likewise.
40356         (log10_test_data): Likewise.
40357         (log2_test_data): Likewise.
40358         (pow_test_data): Likewise.
40359         (sqrt_test_data): Likewise.
40360         (y0_test_data): Likewise.
40361         (y1_test_data): Likewise.
40362         (yn_test_data): Likewise.
40364         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
40365         function contents.
40367         * math/libm-test.inc (struct test_ff_i_data): New type.
40368         (RUN_TEST_LOOP_ff_i_tg): New macro.
40369         (isgreater_test_data): New variable.
40370         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40371         (isgreaterequal_test_data): New variable.
40372         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40373         (isless_test_data): New variable.
40374         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40375         (islessequal_test_data): New variable.
40376         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40377         (islessgreater_test_data): New variable.
40378         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40379         (isunordered_test_data): New variable.
40380         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40382 2013-05-14  David S. Miller  <davem@davemloft.net>
40384         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40386 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
40388         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
40390         * math/libm-test.inc (struct test_fF_f1_data): Change type of
40391         extra_test to int.
40392         (struct test_f_i_data): Change type of max_ulp to int.
40394         * math/libm-test.inc (test_ffI_f1_data): New type.
40395         (RUN_TEST_LOOP_ffI_f1): New macro.
40396         (remquo_test_data): New variable.
40397         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
40399         * setjmp/tst-setjmp-fp.c: New file.
40400         * setjmp/Makefile (tests): Add tst-setjmp-fp.
40401         (link-libm): New variable.
40402         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
40404         * math/libm-test.inc (struct test_f_i_data): New type.
40405         (RUN_TEST_LOOP_f_i): New macro.
40406         (RUN_TEST_LOOP_f_i_tg): Likewise.
40407         (fpclassify_test_data): New variable.
40408         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
40409         (ilogb_test_data): New variable.
40410         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
40412         * math/libm-test.inc (scalbln_test): Correct function name in END
40413         call.
40415         * math/libm-test.inc (struct test_f_f1_data): Add comment.
40416         (RUN_TEST_LOOP_fI_f1): New macro.
40417         (frexp_test_data): New variable.
40418         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
40420         * math/libm-test.inc (struct test_fF_f1_data): New type.
40421         (RUN_TEST_LOOP_fF_f1): New macro.
40422         (modf_test_data): New variable.
40423         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
40425         * math/libm-test.inc (struct test_f_f1_data): New type.
40426         (RUN_TEST_LOOP_f_f1): New macro.
40427         (gamma_test_data): New variable.
40428         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
40429         (lgamma_test_data): New variable.
40430         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
40432 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
40434         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
40435         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
40436         (main): Comment "tls" pseudo-hwcap.
40438 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
40440         * math/libm-test.inc (struct test_fl_f_data): New type.
40441         (RUN_TEST_LOOP_fl_f): New variable.
40442         (scalbln_test_data): New variable.
40443         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
40445         * math/libm-test.inc (struct test_fi_f_data): New type.
40446         (RUN_TEST_LOOP_fi_f): New macro.
40447         (ldexp_test_data): New variable.
40448         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
40449         (scalbn_test_data): New variable.
40450         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
40452         * math/libm-test.inc (struct test_c_f_data): New type.
40453         (RUN_TEST_LOOP_c_f): New macro.
40454         (cabs_test_data): New variable.
40455         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
40456         (carg_test_data): New variable.
40457         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
40458         (cimag_test_data): New variable.
40459         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
40460         (creal_test_data): New variable.
40461         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
40463         * math/libm-test.inc (struct test_if_f_data): New type.
40464         (RUN_TEST_LOOP_if_f): New macro.
40465         (jn_test_data): New variable.
40466         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
40467         (yn_test_data): New variable.
40468         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
40470         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
40472 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40474         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
40475         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
40477 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40479         * benchtests/Makefile (CPPFLAGS-nonlib): Add
40480         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
40481         (bench-deps): Add bench-timing.h.
40482         * benchtests-bench-skeleton.c: Include bench-timing.h.
40483         (main): Use TIMING_* macros instead of clock_gettime.
40484         * benchtests/bench-timing.h: New file.
40486         [BZ #14582]
40487         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
40488         Renamed from _LIB_VERSION.
40489         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
40491 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
40493         * math/libm-test.inc (struct test_fff_f_data): New type.
40494         (RUN_TEST_LOOP_fff_f): New macro.
40495         (fma_test_data): New variable.
40496         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
40497         (fma_towardzero_test_data): New variable.
40498         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
40499         (fma_downward_test_data): New variable.
40500         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
40501         (fma_upward_test_data): New variable.
40502         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
40504         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
40505         (struct test_c_c_data): New type.
40506         (RUN_TEST_LOOP_c_c): New macro.
40507         (cacos_test_data): New variable.
40508         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
40509         (cacosh_test_data): New variable.
40510         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
40511         (casin_test_data): New variable.
40512         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
40513         (casinh_test_data): New variable.
40514         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
40515         (catan_test_data): New variable.
40516         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
40517         (catanh_test_data): New variable.
40518         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
40519         (ccos_test_data): New variable.
40520         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
40521         (ccosh_test_data): New variable.
40522         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
40523         (cexp_test_data): New variable.
40524         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
40525         (clog_test_data): New variable.
40526         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
40527         (clog10_test_data): New variable.
40528         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
40529         (conj_test_data): New variable.
40530         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
40531         (cproj_test_data): New variable.
40532         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
40533         (csin_test_data): New variable.
40534         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
40535         (csinh_test_data): New variable.
40536         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
40537         (csqrt_test_data): New variable.
40538         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
40539         (ctan_test_data): New variable.
40540         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
40541         (ctan_tonearest_test_data): New variable.
40542         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
40543         (ctan_towardzero_test_data): New variable.
40544         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
40545         (ctan_downward_test_data): New variable.
40546         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
40547         (ctan_upward_test_data): New variable.
40548         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
40549         (ctanh_test_data): New variable.
40550         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
40551         (ctanh_tonearest_test_data): New variable.
40552         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
40553         (ctanh_towardzero_test_data): New variable.
40554         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
40555         (ctanh_downward_test_data): New variable.
40556         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
40557         (ctanh_upward_test_data): New variable.
40558         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
40559         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
40560         of BUILD_COMPLEX.
40562         * math/libm-test.inc (struct test_ff_f_data): New type.
40563         (struct test_ff_f_data_nexttoward): Likewise.
40564         (RUN_TEST_LOOP_2_f): New macro.
40565         (RUN_TEST_LOOP_ff_f): Likewise.
40566         (atan2_test_data): New variable.
40567         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
40568         (copysign_test_data): New variable.
40569         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
40570         (fdim_test_data): New variable.
40571         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
40572         (fmax_test_data): New variable.
40573         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
40574         (fmin_test_data): New variable.
40575         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
40576         (fmod_test_data): New variable.
40577         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
40578         (hypot_test_data): New variable.
40579         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
40580         (nextafter_test_data): New variable.
40581         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
40582         (nexttoward_test_data): New variable.
40583         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
40584         (pow_test_data): New variable.
40585         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
40586         (pow_tonearest_test_data): New variable.
40587         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
40588         (pow_towardzero_test_data): New variable.
40589         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
40590         (pow_downward_test_data): New variable.
40591         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
40592         (pow_upward_test_data): New variable.
40593         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
40594         (remainder_test_data): New variable.
40595         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
40596         (scalb_test_data): New variable.
40597         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
40598         * sysdeps/i386/fpu/libm-test-ulps: Update.
40600 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
40602         * math/libm-test.inc (fma_test): Use max_value instead of local
40603         variable fltmax.
40604         (nextafter_test): Likewise.
40606         * math/libm-test.inc (acos_towardzero_test_data): New variable.
40607         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40608         (acos_downward_test_data): New variable.
40609         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40610         (acos_upward_test_data): New variable.
40611         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40612         (acosh_test_data): New variable.
40613         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
40614         (asin_test_data): New variable.
40615         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
40616         (asin_tonearest_test_data): New variable.
40617         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40618         (asin_towardzero_test_data): New variable.
40619         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40620         (asin_downward_test_data): New variable.
40621         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40622         (asin_upward_test_data): New variable.
40623         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40624         (asinh_test_data): New variable.
40625         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
40626         (atan_test_data): New variable.
40627         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
40628         (atanh_test_data): New variable.
40629         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
40630         (cbrt_test_data): New variable.
40631         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
40632         (ceil_test_data): New variable.
40633         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
40634         (cos_test_data): New variable.
40635         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
40636         (cos_tonearest_test_data): New variable.
40637         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40638         (cos_towardzero_test_data): New variable.
40639         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40640         (cos_downward_test_data): New variable.
40641         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40642         (cos_upward_test_data): New variable.
40643         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40644         (cosh_test_data): New variable.
40645         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
40646         (cosh_tonearest_test_data): New variable.
40647         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40648         (cosh_towardzero_test_data): New variable.
40649         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40650         (cosh_downward_test_data): New variable.
40651         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40652         (cosh_upward_test_data): New variable.
40653         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40654         (erf_test_data): New variable.
40655         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
40656         (erfc_test_data): New variable.
40657         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
40658         (exp_test_data): New variable.
40659         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
40660         (exp_tonearest_test_data): New variable.
40661         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40662         (exp_towardzero_test_data): New variable.
40663         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40664         (exp_downward_test_data): New variable.
40665         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40666         (exp_upward_test_data): New variable.
40667         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40668         (exp10_test_data): New variable.
40669         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
40670         (exp2_test_data): New variable.
40671         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
40672         (expm1_test_data): New variable.
40673         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
40674         (fabs_test_data): New variable.
40675         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
40676         (floor_test_data): New variable.
40677         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
40678         (j0_test_data): New variable.
40679         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
40680         (j1_test_data): New variable.
40681         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
40682         (log_test_data): New variable.
40683         (log_test): Run tests with RUN_TEST_LOOP_f_f.
40684         (log10_test_data): New variable.
40685         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
40686         (log1p_test_data): New variable.
40687         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
40688         (log2_test_data): New variable.
40689         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
40690         (logb_test_data): New variable.
40691         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
40692         (logb_downward_test_data): New variable.
40693         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40694         (nearbyint_test_data): New variable.
40695         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
40696         (rint_test_data): New variable.
40697         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
40698         (rint_tonearest_test_data): New variable.
40699         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40700         (rint_towardzero_test_data): New variable.
40701         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40702         (rint_downward_test_data): New variable.
40703         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40704         (rint_upward_test_data): New variable.
40705         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40706         (round_test_data): New variable.
40707         (round_test): Run tests with RUN_TEST_LOOP_f_f.
40708         (sin_test_data): New variable.
40709         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
40710         (sin_tonearest_test_data): New variable.
40711         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40712         (sin_towardzero_test_data): New variable.
40713         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40714         (sin_downward_test_data): New variable.
40715         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40716         (sin_upward_test_data): New variable.
40717         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40718         (sinh_test_data): New variable.
40719         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
40720         (sinh_tonearest_test_data): New variable.
40721         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40722         (sinh_towardzero_test_data): New variable.
40723         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40724         (sinh_downward_test_data): New variable.
40725         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40726         (sinh_upward_test_data): New variable.
40727         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40728         (sqrt_test_data): New variable.
40729         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
40730         (tan_test_data): New variable.
40731         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
40732         (tan_tonearest_test_data): New variable.
40733         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40734         (tan_towardzero_test_data): New variable.
40735         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
40736         (tan_downward_test_data): New variable.
40737         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
40738         (tan_upward_test_data): New variable.
40739         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
40740         (tanh_test_data): New variable.
40741         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
40742         (tgamma_test_data): New variable.
40743         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
40744         (trunc_test_data): New variable.
40745         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
40746         (y0_test_data): New variable.
40747         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
40748         (y1_test_data): New variable.
40749         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
40750         (significand_test_data): New variable.
40751         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
40753 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
40755         [BZ #12387]
40756         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
40758 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40760         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
40762 2013-05-10  Andreas Jaeger  <aj@suse.de>
40764         [BZ #15448]
40765         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
40766         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
40768 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
40770         * math/gen-libm-test.pl (adjust_arg): New function.
40771         (special_functions): Handle generating output in both functions
40772         and arrays.
40773         (parse_args): Likewise.
40774         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
40775         $in_func argument to parse_args.
40776         * math/libm-test.inc (struct test_f_f_data): New type.
40777         (IF_ROUND_INIT_): New macro.
40778         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
40779         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
40780         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
40781         (IF_ROUND_INIT_FE_UPWARD): Likewise.
40782         (ROUND_RESTORE_): Likewise.
40783         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
40784         (ROUND_RESTORE_FE_TONEAREST): Likewise.
40785         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
40786         (ROUND_RESTORE_FE_UPWARD): Likewise.
40787         (RUN_TEST_LOOP_f_f): New macro.
40788         (acos_test_data): New variable.
40789         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
40790         (acos_tonearest_test_data): New variable.
40791         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
40793 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40795         * benchtests/bench-skeleton.c (startup): Fix coding style.
40797 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
40799         [BZ #6809]
40800         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
40801         negative infinity argument.
40802         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
40803         negative infinity argument.
40804         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
40805         negative infinity argument.
40806         * math/libm-test.inc (tgamma_test): Expect errno to be set for
40807         domain errors.
40809 2013-05-10  Florian Weimer  <fweimer@redhat.com>
40811         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
40812         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
40813         * iconv/iconv_prog.c (main): Likewise.
40814         * locale/programs/charmap-dir.c (charmap_readdir)
40815         (fopen_uncompressed): Likewise.
40816         * locale/programs/locfile.c (siblings_uncached)
40817         (write_locale_data): Use lstat64 instead of lstat.
40818         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
40819         stat.
40821 2013-05-10  Andreas Jaeger  <aj@suse.de>
40823         [BZ #15395]
40824         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
40825         localization.
40826         Include <locale.h>.
40828 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
40830         * elf/dl-close.c (_dl_close_worker): Add comments.
40832 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
40834         [BZ #15359]
40835         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
40836         high part of pi/2.
40837         (__ieee754_rem_pio2l): Update comments.
40839         [BZ #15429]
40840         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
40841         high part of pi/2.
40842         (__ieee754_rem_pio2l): Update comments.
40844         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
40845         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
40847         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
40848         M_PI_4l.
40850         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
40851         (M_PI_34_LOG10El): Likewise.
40852         (M_PI2_LOG10El): Likewise.
40853         (M_PI4_LOG10El): Likewise.
40854         (M_PI_LOG10El): Likewise.
40856 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40858         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40860 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
40862         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
40863         (MINUS_ZERO_INIT): Likewise.
40864         (PLUS_INFTY_INIT): Likewise.
40865         (MINUS_INFTY_INIT): Likewise.
40866         (QNAN_VALUE_INIT): Likewise.
40867         (MAX_VALUE_INIT): Likewise.
40868         (MIN_VALUE_INIT): Likewise.
40869         (MIN_SUBNORM_VALUE_INIT): Likewise.
40870         (plus_zero): Initialize with PLUS_ZERO_INIT.
40871         (minus_zero): Initialize with MINUS_ZERO_INIT.
40872         (plus_infty): Initialize with PLUS_INFTY_INIT.
40873         (minus_infty): Initialize with MINUS_INFTY_INIT.
40874         (qnan_value): Initialize with QNAN_VALUE_INIT.
40875         (max_value): Initialize with MAX_VALUE_INIT.
40876         (min_value): Initialize with MIN_VALUE_INIT.
40877         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
40879         * math/libm-test.inc (RUN_TEST_if_f): New macro.
40880         (jn_test): Use TEST_if_f instead of TEST_ff_f.
40881         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
40882         (yn_test): Use TEST_if_f instead of TEST_ff_f.
40884         * math/libm-test.inc (RUN_TEST_f_f): New macro.
40885         (RUN_TEST_2_f): Likewise.
40886         (RUN_TEST_ff_f): Likewise.
40887         (RUN_TEST_fi_f): Likewise.
40888         (RUN_TEST_fl_f): Likewise.
40889         (RUN_TEST_fff_f): Likewise.
40890         (RUN_TEST_c_f): Likewise.
40891         (RUN_TEST_f_f1): Likewise.
40892         (RUN_TEST_fF_f1): Likewise.
40893         (RUN_TEST_fI_f1): Likewise.
40894         (RUN_TEST_ffI_f1): Likewise.
40895         (RUN_TEST_c_c): Likewise.
40896         (RUN_TEST_cc_c): Likewise.
40897         (RUN_TEST_f_i): Likewise.
40898         (RUN_TEST_f_i_tg): Likewise.
40899         (RUN_TEST_ff_i_tg): Likewise.
40900         (RUN_TEST_f_b): Likewise.
40901         (RUN_TEST_f_b_tg): Likewise.
40902         (RUN_TEST_f_l): Likewise.
40903         (RUN_TEST_f_L): Likewise.
40904         (RUN_TEST_sincos): Likewise.
40905         * math/gen-libm-test.pl (new_test): Take new argument to indicate
40906         whether to show exceptions.  Do not include ");\n" in return
40907         value.
40908         (special_functions): Output call to RUN_TEST_sincos instead of
40909         check_float calls.  Update calls to new_test.
40910         (parse_args): Output call to single RUN_TEST_* macro instead of
40911         check_* calls and other assignments.  Update calls to new_test.
40913         [BZ #2546]
40914         [BZ #2560]
40915         [BZ #5159]
40916         [BZ #15426]
40917         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
40918         input to result for tgamma overflow.
40919         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
40920         (gamma_coeff): New variable.
40921         (NCOEFF): New macro.
40922         (gamma_positive): New function.
40923         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
40924         underflow here.  Use gamma_positive instead of exp (lgamma) for
40925         other arguments.
40926         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
40927         (gamma_coeff): New variable.
40928         (NCOEFF): New macro.
40929         (gammaf_positive): New function.
40930         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
40931         underflow here.  Use gamma_positive instead of exp (lgamma) for
40932         other arguments.
40933         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
40934         (gamma_coeff): New variable.
40935         (NCOEFF): New macro.
40936         (gammal_positive): New function.
40937         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
40938         underflow here.  Use gamma_positive instead of exp (lgamma) for
40939         other arguments.
40940         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
40941         (gamma_coeff): New variable.
40942         (NCOEFF): New macro.
40943         (gammal_positive): New function.
40944         (__ieee754_gammal_r): Handle positive infinity, overflow and
40945         underflow here.  Handle NaN the same as positive infinity.  Remove
40946         check x < 0xffffffff for negative integers.  Use gamma_positive
40947         instead of exp (lgamma) for other arguments.
40948         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
40949         (gamma_coeff): New variable.
40950         (NCOEFF): New macro.
40951         (gammal_positive): New function.
40952         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
40953         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
40954         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
40955         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
40956         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
40957         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
40958         * sysdeps/generic/math_private.h (__gamma_productf): New
40959         prototype.
40960         (__gamma_product): Likewise.
40961         (__gamma_productl): Likewise.
40962         * math/Makefile (libm-calls): Add gamma_product.
40963         * math/libm-test.inc (tgamma_test): Add more tests.
40964         * sysdeps/i386/fpu/libm-test-ulps: Update.
40965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40967 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
40969         * benchtests/bench-skeleton.c (main): Preheat CPU.
40971 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
40973         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
40975 2013-05-07  Roland McGrath  <roland@hack.frob.com>
40977         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
40978         and _dl_skip_args_internal.
40980 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
40982         * manual/message.texi (Message Translation): Talk about users.
40983         Message to key mapping impacts design.
40985 2013-05-06  Roland McGrath  <roland@hack.frob.com>
40987         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
40989         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
40991         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
40992         * sysdeps/wordsize-64/glob64.c: ... here.
40994         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
40995         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
40996         New macros.
40998         * debug/getlogin_r_chk.c: Moved to ...
40999         * login/getlogin_r_chk.c: ... here.
41000         * debug/Makefile (routines): Move getlogin_r_chk to ...
41001         * login/Makefile (routines): ... here.
41002         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
41003         * login/Versions (libc: GLIBC_2.4): ... here.
41005         * io/poll.c (__poll): Renamed from poll.
41006         Add libc_hidden_def.
41007         (poll): Define as weak alias.
41009         * debug/ptsname_r_chk.c: Moved to ...
41010         * login/ptsname_r_chk.c: ... here.
41011         * debug/Makefile (routines): Move ptsname_r_chk to ...
41012         * login/Makefile (routines): ... here.
41013         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
41014         * login/Versions (libc: GLIBC_2.4): ... here.
41016         * posix/getlogin.c: Moved to ...
41017         * login/getlogin.c: ... here.
41018         * posix/getlogin_r.c: Moved to ...
41019         * login/getlogin_r.c: ... here.
41020         * posix/getlogin_r.c: Moved to ...
41021         * login/getlogin_r.c: ... here.
41022         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
41023         * login/Makefile (routines): ... here.
41024         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
41025         * login/Versions (libc: GLIBC_2.0): ... here.
41027         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
41028         (setrlimit): Define as weak alias.
41030         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
41031         Call __ names for open, ftruncate, and close.
41032         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
41033         (truncate): Define as weak alias.
41035 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
41037         * math/gen-libm-test.pl (parse_args): Initialize x before each
41038         test of frexp, modf and remquo.
41040         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
41041         test signgam value.
41043 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41045         [BZ #15418]
41046         [BZ #15419]
41047         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
41048         internal tests.
41049         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41051 2013-05-06  Roland McGrath  <roland@hack.frob.com>
41053         * elf/dl-writev.h: New file.
41054         * elf/dl-misc.c: Include it.
41055         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
41056         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
41058 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
41060         * math/libm-test.inc (noXFails): Remove variable.
41061         (noXPasses): Likewise.
41062         (BUILD_COMPLEX_INT): Remove macro.
41063         (print_screen): Remove xfail argument.
41064         (print_screen_max_error): Likewise.
41065         (update_stats): Likewise.
41066         (print_max_error): Likewise.  Update calls to other affected
41067         functions.
41068         (print_complex_max_error): Likewise.
41069         (test_single_exception): Update calls to print_screen.
41070         (test_single_errno): Likewise.
41071         (check_float_internal): Remove xfail argument.  Update calls to
41072         other affected functions.
41073         (check_float): Likewise.
41074         (check_complex): Likewise.
41075         (check_int): Likewise.
41076         (check_long): Likewise.
41077         (check_bool): Likewise.
41078         (check_longlong): Likewise.
41079         (main): Don't print noXFails and noXPasses.
41080         * math/gen-libm-test.pl (top level): Don't mention expected
41081         failure handling in comment.
41082         (new_test): Don't handle expected failures.
41083         (parse_args): Don't mention expected failure handling in comment.
41084         (generate_testfile): Don't handle expected failures.
41085         (parse_ulps): Likewise.
41086         (print_ulps_file): Likewise.
41087         (get_failure): Remove function.
41088         (output_test): Don't handle expected failures.
41089         * make/README.libm-test: Don't mention expected failure handling.
41091         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
41092         (minus_zero): Likewise.
41093         (plus_infty): Likewise.
41094         (minus_infty): Likewise.
41095         (qnan_value): Likewise.
41096         (max_value): Likewise.
41097         (min_value): Likewise.
41098         (min_subnorm_value): Likewise.
41099         (initialize): Do not initialize those variables dynamically.
41101 2013-05-03  Roland McGrath  <roland@hack.frob.com>
41103         * io/open.c (__open_2): Moved to ...
41104         * io/open_2.c: ... this new file.
41105         * io/open64.c (__open64_2): Moved to ...
41106         * io/open64_2.c: ... this new file.
41107         * io/openat.c (__openat_2): Moved to ...
41108         * io/openat_2.c: ... this new file.
41109         * io/openat64.c (__openat64_2): Moved to ...
41110         * io/openat64_2.c: ... this new file.
41111         * io/Makefile (routines): Add them.
41112         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
41113         * sysdeps/unix/sysv/linux/open_2.c: File removed.
41114         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
41115         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
41116         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
41117         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
41118         (__openat64): Add hidden_ver.
41119         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
41120         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
41122         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
41123         Separately conditionalize setting of GLRO(dl_sysinfo) so
41124         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
41125         as well, but the actual setting is only under [NEED_DL_SYSINFO].
41127 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41129         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
41130         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
41131         definition.
41132         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
41133         * sysdeps/unix/sysv/linux/powerpc/init-first.c
41134         (_libc_vdso_platform_setup): Add __vdso_time initialization.
41135         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
41136         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
41138 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
41140         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
41141         test signgam value.
41143         * math/libm-test.inc (hypot_test): Do not use
41144         IGNORE_ZERO_INF_SIGN.
41146 2013-05-03  Andreas Jaeger  <aj@suse.de>
41148         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
41149         Linux 3.9.
41150         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
41151         (PF_MAX): Adjust for VSOCK change.
41153 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41155         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41157 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
41159         [BZ #15264]
41160         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
41161         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
41162         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
41164 2013-05-02  David S. Miller  <davem@davemloft.net>
41166         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41168 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
41170         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
41172 2013-05-01  Roland McGrath  <roland@hack.frob.com>
41174         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
41176 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
41178         [BZ #14952]
41179         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
41180         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
41181         Use __attribute__ ((__gnu_inline__)).
41182         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
41183         Don't use __attribute__ ((__gnu_inline__)).
41185 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
41187         [BZ #15423]
41188         * math/s_catan.c (__catan): Handle small real or imaginary part of
41189         input specially to avoid spurious underflow.
41190         * math/s_catanf.c (__catanf): Likewise.
41191         * math/s_catanh.c (__catanh): Likewise.
41192         * math/s_catanhf.c (__catanhf): Likewise.
41193         * math/s_catanhl.c (__catanhl): Likewise.
41194         * math/s_catanl.c (__catanl): Likewise.
41195         * math/libm-test.inc (catan_test): Add more tests.
41196         (catanh_test): Likewise.
41197         * sysdeps/i386/fpu/libm-test-ulps: Update.
41198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41200 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41202         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41204 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
41206         [BZ #15416]
41207         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
41208         accurately for denominator in atan2.
41209         * math/s_catanf.c (__catanf): Likewise.
41210         * math/s_catanh.c (__catanh): Likewise.
41211         * math/s_catanhf.c (__catanhf): Likewise.
41212         * math/s_catanhl.c (__catanhl): Likewise.
41213         * math/s_catanl.c (__catanl): Likewise.
41214         * math/libm-test.inc (catan_test): Add more tests.
41215         (catanh_test): Likewise.
41216         * sysdeps/i386/fpu/libm-test-ulps: Update.
41217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41219 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41221         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
41223         * benchtests/Makefile (bench): Remove slow benchmarks.
41224         * benchtests/atan-inputs: Add slow benchmark inputs.
41225         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
41226         (BENCH_FUNC): Accept variant offset.
41227         (VARIANT): Define.
41228         * benchtests/bench-skeleton.c (main): Run benchmark for each
41229         variant.
41230         * benchtests/cos-inputs: Add slow benchmark inputs.
41231         * benchtests/exp-inputs: Likewise.
41232         * benchtests/pow-inputs: Likewise.
41233         * benchtests/sin-inputs: Likewise.
41234         * benchtests/slowatan-inputs: Remove.
41235         * benchtests/slowatan.c: Remove.
41236         * benchtests/slowcos-inputs: Remove.
41237         * benchtests/slowcos.c: Remove.
41238         * benchtests/slowexp-inputs: Remove.
41239         * benchtests/slowexp.c: Remove.
41240         * benchtests/slowpow-inputs: Remove.
41241         * benchtests/slowpow.c: Remove.
41242         * benchtests/slowsin-inputs: Remove.
41243         * benchtests/slowsin.c: Remove.
41244         * benchtests/slowtan-inputs: Remove.
41245         * benchtests/slowtan.c: Remove.
41246         * benchtests/tan-inputs: Add slow benchmark inputs.
41247         * scripts/bench.pl: Parse comments and directives.
41249         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
41250         in CPPFLAGS.
41251         ($(objpfx)bench-%.c): Remove *-ITER.
41252         * benchtests/bench-modf.c: Remove definition of ITER.
41253         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
41254         (main): Loop for DURATION seconds instead of fixed number of
41255         iterations.
41256         * scripts/bench.pl: Don't expect iterations in parameters.
41258 2013-04-29  Roland McGrath  <roland@hack.frob.com>
41260         * io/fchdir.c (__fchdir): Renamed from fchdir.
41261         (fchdir): Define as weak alias.
41263 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
41265         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
41266         (ERRNO_EDOM): Likewise.
41267         (ERRNO_ERANGE): Likewise.
41268         (noErrnoTests): New variable.
41269         (init_max_error): Set errno to 0.
41270         (test_single_errno): New function.
41271         (test_errno): Likewise.
41272         (check_float_internal): Call test_errno.  Set errno to 0.
41273         (check_complex): Refer to errno tests in comment.
41274         (check_int): Call test_errno.  Set errno to 0.
41275         (check_long): Likewise.
41276         (check_bool): Likewise.
41277         (check_longlong): Likewise.
41278         (cos_test): Use ERRNO_* flags for errno tests instead of
41279         check_int.
41280         (expm1_test): Likewise.
41281         (fmod_test): Likewise.
41282         (ilogb_test): Likewise.
41283         (lgamma_test): Likewise.
41284         (pow_test): Likewise.
41285         (remainder_test): Likewise.
41286         (sin_test): Likewise.
41287         (tan_test): Likewise.
41288         (yn_test): Likewise.
41289         (initialize): Set errno to 0.
41290         (main): Print number of errno tests.
41291         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
41293 2013-04-29  Andreas Jaeger  <aj@suse.de>
41295         [BZ #15084]
41296         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
41297         and RES_USEVC.
41299         [BZ #15085]
41300         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
41301         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
41302         unimplemented.
41304         [BZ #15380]
41305         * stdlib/random.c (__initstate): Return NULL if
41306         __initstate fails.
41308         [BZ #15086]
41309         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
41310         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
41311         RES_SNGLKUPREOP.
41313 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41315         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41317 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
41319         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
41320         of individual tests.
41321         (casin_test): Likewise.
41322         (casinh_test): Likewise.
41324 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
41326         [BZ #15409]
41327         * math/s_catan.c (__catan): Handle arguments with large real or
41328         imaginary part separately without squaring.
41329         * math/s_catanf.c (__catanf): Likewise.
41330         * math/s_catanh.c (__catanh): Likewise.
41331         * math/s_catanhf.c (__catanhf): Likewise.
41332         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
41333         and redefine.
41334         (__catanhl): Handle arguments with large real or imaginary part
41335         separately without squaring.
41336         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
41337         and redefine.
41338         (__catanl): Handle arguments with large real or imaginary part
41339         separately without squaring.
41340         * math/libm-test.inc (catan_test): Add more tests.
41341         (catanh_test): Likewise.
41342         * sysdeps/i386/fpu/libm-test-ulps: Update.
41343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41345 2013-04-27  Andreas Jaeger  <aj@suse.de>
41347         [BZ #15007]
41348         * stdlib/stdlib.h: Update guards for qecvt.
41349         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
41350         <stdlib.h>.
41352 2013-04-27  Allan McRae  <allan@archlinux.org>
41354         * sysdeps/i386/fpu/libm-test-ulps: Update.
41356 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
41358         [BZ #15406]
41359         * math/s_catan.c: Include <float.h>.
41360         (__catan): Ensure underflow exception occurs for underflowed
41361         result.
41362         * math/s_catanf.c: Include <float.h>.
41363         (__catanf): Ensure underflow exception occurs for underflowed
41364         result.
41365         * math/s_catanh.c: Include <float.h>.
41366         (__catanh): Ensure underflow exception occurs for underflowed
41367         result.
41368         * math/s_catanhf.c: Include <float.h>.
41369         (__catanhf): Ensure underflow exception occurs for underflowed
41370         result.
41371         * math/s_catanhl.c: Include <float.h>.
41372         (__catanhl): Ensure underflow exception occurs for underflowed
41373         result.
41374         * math/s_catanl.c: Include <float.h>.
41375         (__catanl): Ensure underflow exception occurs for underflowed
41376         result.
41377         * math/libm-test.inc (catan_test): Add more tests.
41378         (catanh_test): Likewise.
41380         [BZ #15405]
41381         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
41382         underflowed result.
41383         * math/s_ccoshf.c (__ccoshf): Likewise.
41384         * math/s_ccoshl.c (__ccoshl): Likewise.
41385         * math/s_csin.c (__csin): Likewise.
41386         * math/s_csinf.c (__csinf): Likewise.
41387         * math/s_csinh.c (__csinh): Likewise.
41388         * math/s_csinhf.c (__csinhf): Likewise.
41389         * math/s_csinhl.c (__csinhl): Likewise.
41390         * math/s_csinl.c (__csinl): Likewise.
41391         * math/libm-test.inc (ccos_test): Add more tests.
41392         (ccosh_test): Likewise.
41393         (csin_test): Likewise.
41394         (csinh_test): Likewise.
41396 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41398         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
41399         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
41400         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
41401         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
41402         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
41403         powerpc/power5+/fpu folders.
41404         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
41407 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
41409         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41411 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
41413         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
41414         additions to variable.
41415         [$(config-machine) = x86_64] (modules-names): Likewise.
41416         ($(objpfx)tst-audit3): Remove dependency.
41417         ($(objpfx)tst-audit3.out): Likewise.
41418         ($(objpfx)tst-audit4): Likewise.
41419         ($(objpfx)tst-audit4.out): Likewise.
41420         ($(objpfx)tst-audit5): Likewise.
41421         ($(objpfx)tst-audit5.out): Likewise.
41422         ($(objpfx)tst-audit6): Likewise.
41423         ($(objpfx)tst-audit6.out): Likewise.
41424         ($(objpfx)tst-audit7): Likewise.
41425         ($(objpfx)tst-audit7.out): Likewise.
41426         (tst-audit3-ENV): Remove variable.
41427         (tst-audit4-ENV): Likewise.
41428         (tst-audit5-ENV): Likewise.
41429         (tst-audit6-ENV): Likewise.
41430         (tst-audit7-ENV): Likewise.
41431         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
41432         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
41433         addition to variable.
41434         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
41435         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
41436         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
41437         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
41438         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
41439         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
41440         tst-audit3, tst-audit4 and tst-audit5.
41441         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
41442         tst-audit6 and tst-audit7.
41443         [$(subdir) = elf] (modules-names): Add audit modules for those
41444         tests.
41445         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
41446         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
41447         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
41448         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
41449         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
41450         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
41451         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
41452         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
41453         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
41454         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
41455         [$(subdir) = elf] (tst-audit3-ENV): New variable.
41456         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
41457         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
41458         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
41459         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
41460         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
41461         Likewise.
41462         [$(subdir) = elf && $(config-cflags-avx) = yes]
41463         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
41464         [$(subdir) = elf && $(config-cflags-avx) = yes]
41465         (CFLAGS-tst-auditmod4a.c): Likewise.
41466         [$(subdir) = elf && $(config-cflags-avx) = yes]
41467         (CFLAGS-tst-auditmod4b.c): Likewise.
41468         [$(subdir) = elf && $(config-cflags-avx) = yes]
41469         (CFLAGS-tst-auditmod6b.c): Likewise.
41470         [$(subdir) = elf && $(config-cflags-avx) = yes]
41471         (CFLAGS-tst-auditmod6c.c): Likewise.
41472         [$(subdir) = elf && $(config-cflags-avx) = yes]
41473         (CFLAGS-tst-auditmod7b.c): Likewise.
41474         * elf/tst-audit3.c: Move to ...
41475         * sysdeps/x86_64/tst-audit3.c: ... here.
41476         * elf/tst-audit4.c: Move to ...
41477         * sysdeps/x86_64/tst-audit4.c: ... here.
41478         * elf/tst-audit5.c: Move to ...
41479         * sysdeps/x86_64/tst-audit5.c: ... here.
41480         * elf/tst-audit6.c: Move to ...
41481         * sysdeps/x86_64/tst-audit6.c: ... here.
41482         * elf/tst-audit7.c: Move to ...
41483         * sysdeps/x86_64/tst-audit7.c: ... here.
41484         * elf/tst-auditmod3a.c: Move to ...
41485         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
41486         * elf/tst-auditmod3b.c: Move to ...
41487         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
41488         * elf/tst-auditmod4a.c: Move to ...
41489         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
41490         * elf/tst-auditmod4b.c: Move to ...
41491         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
41492         * elf/tst-auditmod5a.c: Move to ...
41493         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
41494         * elf/tst-auditmod5b.c: Move to ...
41495         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
41496         * elf/tst-auditmod6a.c: Move to ...
41497         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
41498         * elf/tst-auditmod6b.c: Move to ...
41499         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
41500         * elf/tst-auditmod6c.c: Move to ...
41501         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
41502         * elf/tst-auditmod7a.c: Move to ...
41503         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
41504         * elf/tst-auditmod7b.c: Move to ...
41505         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
41507 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
41509         [BZ #15366]
41510         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
41511         define unconditionally.
41512         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
41513         define unconditionally.
41514         (INT8_C, INT16_C, etc.): Likewise.
41516 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
41518         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
41519         __ehdr_start with hidden visibility.
41521         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
41523 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
41525         * math/libm-test.inc (cos_test): Use accurate hex constants.
41526         (sincost_test): Likewise.
41528 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
41530         * math/libm-test.inc (catan_test): Add more tests.
41531         (catanh_test): Likewise.
41533         * math/s_catanf.c (__catanf): Use suffixed floating-point
41534         constants.
41535         * math/s_catanhf.c (__catanhf): Likewise.
41536         * math/s_catanhl.c (__catanhl): Likewise.
41537         * math/s_catanl.c (__catanl): Likewise.
41539         [BZ #15394]
41540         * math/s_catan.c (__catan): Calculate imaginary part of result
41541         with log1p not log unless computing log of number close to 0.
41542         * math/s_catanf.c (__catanf): Likewise.
41543         * math/s_catanl.c (__catanl): Likewise.
41544         * math/s_catanh.c (__catanh): Calculate real part of result with
41545         log1p not log unless computing log of number close to 0.
41546         * math/s_catanhf.c (__catanhf): Likewise.
41547         * math/s_catanhl.c (__catanhl): Likewise.
41548         * math/libm-test.inc (catan_test): Add more tests.
41549         (catanh_test): Likewise.
41550         * sysdeps/i386/fpu/libm-test-ulps: Update.
41551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41553 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41555         * benchtests/Makefile: Mention files in which fast and slow
41556         paths of math functions are implemented.
41558 2013-04-23  Roland McGrath  <roland@hack.frob.com>
41560         * sysdeps/posix/timespec_get.c: New file.
41562 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41564         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
41565         POWER.
41566         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
41567         for POWER.
41568         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
41569         powerpc/power5/fpu folders.
41570         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
41571         * benchtests/Makefile: Add modf testcase.
41572         * benchtests/bench-modf.c: New file: Benchmark test for mo
41574 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
41576         [BZ #14888]
41577         * time/Makefile (tests): Add tst-strptime-whitespace.
41578         * time/strptime_l.c (get_number): Use ISSPACE.
41579         (__strptime_internal): Likewise.
41580         * time/tst-strptime-whitespace.c: New test case.
41582 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
41584         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
41585         member.
41586         (_nss_files_init): Set it here.
41588 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
41590         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
41591         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
41592         unsigned.
41594 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
41596         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
41598 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
41600         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
41601         size just once.
41603 2013-04-21  David S. Miller  <davem@davemloft.net>
41605         * po/ru.po: Update Russion translation from translation project.
41607 2013-04-17  Adam Conrad  <adconrad@0c3.net>
41609         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
41610         and setfsgid.
41612 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
41614         * configure.in: Remove i386 configure warning. Remove i386 case.
41615         * configure: Regenerate.
41616         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
41617         Add example to error message.
41618         * sysdeps/i386/configure: Regenerate.
41620 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41622         * benchtests/Makefile (bench): Add cos, tan, slowcos and
41623         slowtan.
41624         * benchtests/cos-inputs: New file.
41625         * benchtests/slowcos-inputs: New file.
41626         * benchtests/slowcos.c: New file.
41627         * benchtests/slowtan-inputs: New file.
41628         * benchtests/slowtan.c: New file.
41629         * benchtests/tan-inputs: New file.
41631 2013-04-16  Roland McGrath  <roland@hack.frob.com>
41633         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
41634         considered kosher.
41636 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41638         * benchtests/Makefile: Include cppflags-iterator.mk to add
41639         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
41641         * Makefile.in (bench-clean): New target.
41642         * benchtests/Makefile (bench-clean): Likewise.
41644 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
41646         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
41648 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
41650         * stdio-common/tstdiomisc.c: Fix coding-style violation.
41652 2013-04-15  Andreas Schwab  <schwab@suse.de>
41654         * nscd/grpcache.c (cache_addgr): Properly check for short write.
41655         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41656         * nscd/pwdcache.c (cache_addpw): Likewise.
41657         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
41658         more than recsize.
41660 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41662         * benchtests/Makefile (bench): Write all output to
41663         bench-out.tmp together.
41665 2013-04-15  Andreas Schwab  <schwab@suse.de>
41667         * nscd/nscd.c (main): Don't fork again after closing files.
41669 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41671         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
41673         * benchtests/Rules (bench-deps): Collect dependencies into a
41674         single variable.  Add Makefile to dependencies.
41675         ($(objpfx)bench-%.c): Depend on bench-deps.
41677 2013-04-12  Roland McGrath  <roland@hack.frob.com>
41678             Xavier Roche  <roche+kml2@exalead.com>
41680         [BZ #15361]
41681         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
41682         just that it's a file descriptor.
41683         * manual/llio.texi (Synchronizing AIO Operations): Update description
41684         for EBADF error from aio_fsync.
41686 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41688         * Rules (bench): Move target definition...
41689         * benchtests/Makefile: ... here.
41691 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
41693         * math/libm-test.inc (cos_test): Fix PI/2 test.
41694         (sincos_test): Likewise.
41695         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
41696         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
41698 2013-04-11  Andreas Schwab  <schwab@suse.de>
41700         [BZ #13988]
41701         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
41702         accept exponent character only when digits were seen.
41703         * stdio-common/Makefile (tests): Add bug26.
41704         * stdio-common/bug26.c: New file.
41706         [BZ #14293]
41707         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
41708         non-freeable.
41710 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41712         * Makeconfig (rtld-prefix): Define built linker prefix.
41713         * Rules (run-bench): Use it.
41714         * math/Makefile (run-regen-ulps): Likewise.
41716         * Rules (bench): Remove eval.
41718 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41719             Roland McGrath  <roland@hack.frob.com>
41720             Ondrej Bilka  <neleai@seznam.cz>
41722         [BZ #15346]
41723         * time/getdate.c: Include ctype.h and alloca.h.
41724         (__getdate_r): Trim leading and trailing spaces of input.
41725         * time/tst-getdate.c (tests): Add tests with leading and
41726         trailing spaces.
41728 2013-04-08  Roland McGrath  <roland@hack.frob.com>
41730         [BZ #14280]
41731         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
41732         when computing value.
41734 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
41736         * math/README.libm-test (How can I generate "libm-test-ulps"?):
41737         Use testrun.sh to run libm tests.
41739         [BZ #15309]
41740         * elf/dl-open.c (dl_open_worker): memset all of seen array.
41742 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
41744         [BZ #15264]
41745         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
41747 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
41749         * Makefile.in (regen-ulps): New target.
41750         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
41751         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
41752         [ifneq (no,$(PERL)] (regen-ulps): New target.
41753         [ifeq (no,$(PERL)] (regen-ulps): New target.
41754         * math/libm-test.inc (ulps_file_name): Define.
41755         (output_dir): New variable.
41756         (options): Add "output-dir" option.
41757         (parse_opt): Handle 'o' case.
41758         (main): If output_dir is non-NULL use it as a prefix
41759         otherwise use "".
41760         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
41762 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
41764         [BZ #10060, #10062]
41765         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
41766         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
41767         fail configure if __sync_val_compare_and_swap is not inlined.
41768         * sysdeps/i386/configure: Regenerate.
41769         * configure.in: Build for i686 when configured for i386.
41770         * configure: Regenerate.
41771         * README: Remove i386 reference.
41773 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
41775         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
41776         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41778 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
41780         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
41781         (lmsnanval): New variables.
41782         (F): Add conversion tests.
41783         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
41784         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
41786         * stdio-common/tstdiomisc.c (F): Properly collect individual
41787         tests' results.
41789         [BZ #14686, #15336]
41790         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
41791         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
41792         Instead, use input NaN values or generate a qNaN by arithmetic
41793         operation.  Also fix bugs to comply with the standard.
41794         * math/libm-test.inc (remainder_test): Add more tests.
41796         [BZ #15335, #15342]
41797         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
41798         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
41799         input NaN values or generate a qNaN by arithmetic operation.
41801         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
41802         unreachable code.
41804         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
41805         definitions.
41807 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
41809         [BZ #14478]
41810         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
41811         underflowed result.
41812         * math/s_cexpf.c (__cexpf): Likewise.
41813         * math/s_cexpl.c (__cexpl): Likewise.
41814         * math/libm-test.inc (cexp_test): Add more tests.
41816 2013-04-03  Andreas Schwab  <schwab@suse.de>
41818         [BZ #15330]
41819         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
41820         order arrays from heap if bigger than alloca cutoff.
41822 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
41824         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
41825         (SNAN_TESTS_double): Refer to GCC PR56831.
41826         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
41827         GCC PR56828.
41829 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41831         * Rules (bench): Move bench.out after the run is complete.
41833         * Rules (bench): Echo currently running benchmark.
41835         * benchtests/Makefile (bench): Add atan and slowatan.
41836         * benchtests/atan-inputs: New file.
41837         * benchtests/slowatan-inputs: New file.
41838         * benchtests/slowatan.c: New file.
41840         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
41841         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
41842         its value.
41844         [BZ #15305]
41845         * sysdeps/unix/sysv/linux/kernel-features.h
41846         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
41847         __ASSUME_XFS_RESTRICTED_CHOWN.
41848         * sysdeps/unix/sysv/linux/pathconf.c
41849         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
41850         Save and restore errno.
41852 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
41854         [BZ #15327]
41855         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
41856         arguments using __kernel_casinh.
41857         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
41858         arguments using __kernel_casinhf.
41859         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
41860         arguments using __kernel_casinhl.
41861         * math/libm-test.inc (cacosh_test): Add more tests.
41862         * sysdeps/i386/fpu/libm-test-ulps: Update.
41863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41865 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41867         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
41868         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
41870         * bench/Makefile (bench): Add sin and slowsin.
41871         * benchtests/sin-inputs: New file.
41872         * benchtests/slowsin-inputs: New file.
41873         * benchtests/slowsin.c: New file.
41875         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
41876         (bench): Add slowexp and slowpow.
41877         (exp-ITER): Increase iterations.
41878         (pow-ITER): Likewise.
41879         * benchtests/exp-inputs: Change input.
41880         * benchtests/pow-inputs: Likewise.
41881         * benchtests/slowexp-inputs: New file.
41882         * benchtests/slowexp.c: New file.
41883         * benchtests/slowpow-inputs: New file.
41884         * benchtests/slowpow.c: New file.
41886 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41888         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
41889         instructions.
41890         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41891         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
41892         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
41893         * benchtests/Makefile: Add rint benchtest.
41894         * benchtests/rint-inputs: Input for rint benchtest.
41896 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
41898         * Versions.def (libm): Add GLIBC_2.18.
41899         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
41900         hidden libm prototypes.
41901         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
41902         * math/Makefile (libm-calls): Add s_issignaling.
41903         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
41904         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
41905         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
41906         declaration.
41907         * math/math.h [__USE_GNU] (issignaling): New macro.
41908         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
41909         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
41910         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
41911         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
41912         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
41913         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
41914         * manual/arith.texi (issignaling): New section.
41915         * manual/libm-err-tab.pl (@all_functions): Update comment.
41916         * math/gen-libm-test.pl (parse_args): Apply special handling for
41917         issignaling.
41918         * math/libm-test.inc (print_float, issignaling_test): New
41919         functions.
41920         (check_float_internal): Add issignaling checks.
41921         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
41922         default definition.
41923         * sysdeps/powerpc/math-tests.h: New file.
41924         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
41925         tests.
41926         * math/test-snan.c (TEST_FUNC): Likewise.
41928 2013-03-30  David S. Miller  <davem@davemloft.net>
41930         * po/de.po: Update from translation team.
41932 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
41934         [BZ #10357]
41935         * math/k_casinh.c (__kernel_casinh): Handle arguments with
41936         imaginary part less than 1.0 and real part less than 0.5
41937         specially.
41938         * math/k_casinhf.c (__kernel_casinhf): Likewise.
41939         * math/k_casinhl.c (__kernel_casinhl): Likewise.
41940         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
41941         (cacos_test): Add more tests.
41942         (casin_test): Likewise.
41943         (casinh_test): Likewise.
41944         * sysdeps/i386/fpu/libm-test-ulps: Update.
41945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41947 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41949         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
41950         ONE with its value.
41952         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
41953         (__pow_mp): Replace ONE and MONE with their values.
41954         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41955         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
41956         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41957         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
41958         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
41959         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41961         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
41963         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
41964         (__pow_mp): Replace ZERO and MZERO with their values.
41965         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
41966         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41967         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41968         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41969         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
41970         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
41971         (__sqr): Likewise.
41973         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
41975         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
41977 2013-03-28  Roland McGrath  <roland@hack.frob.com>
41979         * include/stdlib.h [!SHARED] (__call_tls_dtors):
41980         Declare with __attribute__ ((weak)).
41981         * stdlib/exit.c (__libc_atexit) [!SHARED]:
41982         Call __call_tls_dtors only if it's not NULL.
41984 2013-03-28  Roland McGrath  <roland@hack.frob.com>
41986         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
41987         didn't do it already, then set _dl_phdr and _dl_phnum based on the
41988         magic __ehdr_start linker symbol if it's defined.
41989         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
41990         them up here if it was already done.
41992         * elf/dl-support.c (_dl_phdr): Make pointer to const.
41993         (_dl_aux_init): Use const in cast when setting it.
41994         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
41995         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
41996         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
41998         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
41999         Declare them here.
42000         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
42001         * csu/libc-tls.c: Nor here.
42002         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
42004         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
42005         (__libc_message): Never call vsyslog.
42007 2013-03-28  Alan Modra  <amodra@gmail.com>
42009         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
42010         Define as empty.
42011         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
42012         Likewise.
42014 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42016         [BZ #15214]
42017         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
42018         underflow.
42019         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42021 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42023         [BZ #15304]
42024         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
42025         Don't add gid passed as argument.
42027         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
42029 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
42031         [BZ #15307]
42032         * math/k_casinh.c (__kernel_casinh): Handle arguments with
42033         imaginary part between 1.0 and 1.5 and real part less than 0.5
42034         specially.
42035         * math/k_casinhf.c (__kernel_casinhf): Likewise.
42036         * math/k_casinhl.c (__kernel_casinhl): Likewise.
42037         * math/libm-test.inc (cacos_test): Add more tests.
42038         (casin_test): Likewise.
42039         (casinh_test): Likewise.
42040         * sysdeps/i386/fpu/libm-test-ulps: Update.
42041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42043 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42045         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
42046         constants.
42047         (norm): Likewise.
42048         (denorm): Likewise.
42049         (__dbl_mp): Likewise.
42050         (add_magnitudes): Likewise.
42051         (sub_magnitudes): Likewise.
42052         (__add): Likewise.
42053         (__sub): Likewise.
42054         (__mul): Likewise.
42055         (__sqr): Likewise.
42056         (__inv): Likewise.
42057         (__dvd): Likewise.
42059         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
42060         commented code.
42061         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
42062         (__dubcos): Likewise.
42063         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
42064         (__ieee754_acos): Likewise.
42065         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
42066         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
42067         (__exp1): Likewise.
42068         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
42069         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
42070         (log1): Likewise.
42071         (my_log2): Likewise.
42072         (checkint): Likewise.
42073         * sysdeps/ieee754/dbl-64/e_remainder.c
42074         (__ieee754_remainder): Likewise.
42075         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
42076         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
42077         (bsloww): Likewise.
42078         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
42080         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
42081         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
42082         MANTISSA_STORE_T to store computations on mantissa.  Use
42083         macros for rounding and division.
42084         (denorm): Likewise.
42085         (__dbl_mp): Likewise.
42086         (add_magnitudes): Likewise.
42087         (sub_magnitudes): Likewise.
42088         (__mul): Likewise.
42089         (__sqr): Likewise.
42090         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
42091         powers of two in terms of TWOPOW macro.
42092         (mp_no): Make type of mantissa as MANTISSA_T.
42093         [!RADIXI]: Define RADIXI.
42094         [!TWO52]: Define TWO52.
42095         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
42097 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42099         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
42100         llroundl symbol when building for PPC32.
42102 2013-03-24  Mark H Weaver  <mhw@netris.org>
42104         * manual/arith.texi (Normalization Functions): Fix prototypes for
42105         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
42107 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42109         [BZ #13889]
42110         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
42111         high value to check if expl overflow.
42112         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
42113         to check for underflow and overflow.
42114         * math/libm-test.inc: Add exp test.
42116 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
42118         [BZ #11120]
42119         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
42120         with NOT_IN_libc.
42122 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42124         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
42125         symbol.
42127 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
42129         * math/gen-libm-test.pl (parse_args, special_functions): Properly
42130         wrap blocks consisting of several statements.
42132         * sysdeps/generic/math-tests.h: New file.
42133         * sysdeps/i386/fpu/math-tests.h: Likewise.
42134         * math/test-snan.c: Include it.
42135         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
42137 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
42139         [BZ #15285]
42140         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
42141         (__ieee754_j0l): Do not improve calculations using cos of twice
42142         input for inputs above LDBL_MAX / 2.0L.
42143         (__ieee754_y0l): Likewise.
42144         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
42145         (__ieee754_j1l): Do not improve calculations using cos of twice
42146         input for inputs above LDBL_MAX / 2.0L.
42147         (__ieee754_y1l): Likewise.
42148         * math/libm-test.inc (j0_test): Add another test.
42149         (j1_test): Likewise.
42150         (y0_test): Likewise.
42151         (y1_test): Likewise.
42152         * sysdeps/i386/fpu/libm-test-ulps: Update.
42154 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42156         * Rules ($(objpfx)bench-%.c): Include code from a C source
42157         file.
42159 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
42161         [BZ #15287]
42162         * math/k_casinh.c (__kernel_casinh): Handle arguments with
42163         imaginary part 1.0 and real part less than 0.5 specially.
42164         * math/k_casinhf.c (__kernel_casinhf): Likewise.
42165         * math/k_casinhl.c (__kernel_casinhl): Likewise.
42166         * math/libm-test.inc (cacos_test): Add more tests.
42167         (casin_test): Likewise.
42168         (casinh_test): Likewise.
42169         * sysdeps/i386/fpu/libm-test-ulps: Update.
42170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42172 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42174         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
42175         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
42177 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
42179         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
42180         * config.make.in (config-cflags-sse4): Remove variable.
42181         (config-cflags-avx): Likewise.
42182         (config-cflags-sse2avx): Likewise.
42183         (config-cflags-novzeroupper): Likewise.
42184         (config-asflags-i686): Likewise.
42185         (have-mfma4): Likewise.
42186         (have-as-vis3): Likewise.
42187         (MIG): Likewise.
42188         * configure.in (MIG): Do not AC_SUBST.
42189         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
42190         (libc_cv_cc_sse4): Do not AC_SUBST.
42191         (libc_cv_cc_avx): Likewise.
42192         (libc_cv_cc_sse2avx): Likewise.
42193         (libc_cv_cc_novzeroupper): Likewise.
42194         (libc_cv_cc_fma4): Likewise.
42195         (libc_cv_as_i686): Likewise.
42196         (libc_cv_sparc_as_vis3): Likewise.
42197         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
42198         LIBC_CONFIG_VAR.
42199         (config-asflags-i686): Likewise.
42200         (config-cflags-avx): Likewise.
42201         (config-cflags-sse2avx): Likewise.
42202         (have-mfma4): Likewise.
42203         (config-cflags-novzeroupper): Likewise.
42204         * sysdeps/mach/configure.in (MIG): Likewise.
42205         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
42206         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
42207         LIBC_CONFIG_VAR.
42208         (config-cflags-avx): Likewise.
42209         (config-cflags-sse2avx): Likewise.
42210         (have-mfma4): Likewise.
42211         (config-cflags-novzeroupper): Likewise.
42212         * configure: Regenerated.
42213         * sysdeps/i386/configure: Likewise.
42214         * sysdeps/mach/configure: Likewise.
42215         * sysdeps/sparc/configure: Likewise.
42216         * sysdeps/x86_64/configure: Likewise.
42218 2013-03-20  Roland McGrath  <roland@hack.frob.com>
42220         [BZ #14812]
42221         * locale/programs/localedef.c (options): Put N_ translation marker
42222         on argument names, not just descriptions.
42224 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42226         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
42228 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
42230         [BZ #14176]
42231         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
42233 2013-03-19  Roland McGrath  <roland@hack.frob.com>
42235         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
42236         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
42237         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
42238         [!BEFORE_ABORT] (before_abort): New function.
42239         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
42240         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
42241         (writev_for_fatal): New function.
42242         (WRITEV_FOR_FATAL): New macro; call that.
42243         (backtrace_and_maps): New function.
42244         (BEFORE_ABORT): New macro; call that.
42245         (struct str_list): Type removed.
42246         (__libc_message, __libc_fatal): Functions removed.
42247         Include <sysdeps/posix/libc_fatal.c> instead.
42249 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
42251         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
42252         constants.
42253         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
42254         double constants.
42256 2013-03-19  Andreas Schwab  <schwab@suse.de>
42258         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
42259         * sysdeps/gnu/configure: Regenerate.
42261         * configure.in: Substitute libc_cv_rtlddir.
42262         * configure: Regenerate.
42263         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
42264         * Makeconfig (rtlddir, inst_rtlddir): New variables.
42265         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
42266         * elf/Makefile (install-others, CFLAGS-interp.c)
42267         (ldso_install, common-ldd-rewrite): Likewise.
42268         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
42269         $(inst_slibdir)/$(rtld-installed-name).
42270         * scripts/rellns-sh: Add -p option.
42271         * Makerules (make-shlib-link): Use rellns-sh to get relative name
42272         for source.
42274 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42276         * manual/nptl.texi: Renamed to ...
42277         * manual/threads.texi: ... this.
42278         * manual/Makefile (chapters): Update.
42280 2013-03-18  Roland McGrath  <roland@hack.frob.com>
42282         [BZ #14812]
42283         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
42284         on argument names, not just descriptions.
42285         * malloc/memusagestat.c (options): Likewise.
42286         * nss/getent.c (options): Likewise.
42288 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
42290         [BZ #14812]
42291         * iconv/iconv_prog.c (options): Put N_ translation marker
42292         on argument names, not just descriptions.
42293         * iconv/iconvconfig.c (options): Likewise.
42295 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
42297         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
42298         implementation which is faster on all x86_64 architectures.
42299         Tested on AMD, Intel Nehalem, SNB, IVB.
42300         * sysdeps/x86_64/strnlen.S: Likewise.
42302         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
42303         Remove all multiarch strlen and strnlen versions.
42304         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
42305         Remove strlen and strnlen related parts.
42307         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
42308         Inline strlen part.
42309         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
42311         * sysdeps/x86_64/multiarch/strlen.S: Remove.
42312         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
42313         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
42314         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
42315         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
42316         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
42318 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
42320         * manual/memory.texi (Malloc Tunable Parameters):
42321         Sort parameters alphabetically. Add comments for missing entries.
42323 2013-03-17  David S. Miller  <davem@davemloft.net>
42325         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42327 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
42329         [BZ #15283]
42330         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
42331         for arguments at most half maximum finite value.
42332         * math/libm-test.inc (j0_test): Add more tests.
42333         (j1_test): Likewise.
42334         (y0_test): Likewise.
42335         (y1_test): Likewise.
42336         * sysdeps/i386/fpu/libm-test-ulps: Update.
42337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42339         [BZ #14155]
42340         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
42341         1 / x and functions P and Q for arguments above 0x1p256L.
42342         (__ieee754_y0l): Likewise.
42343         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
42344         (__ieee754_y1l): Likewise.
42345         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
42346         (j1_test): Likewise.
42347         (y0_test): Likewise.
42348         (y1_test): Likewise.
42350 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
42352         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
42353         variable.
42355 2013-03-15  Roland McGrath  <roland@hack.frob.com>
42357         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
42358         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
42359         zero since it's initialized to EXEC_PAGESIZE.
42361         * sysdeps/unix/sysv/linux/ldsodefs.h
42362         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
42363         * sysdeps/generic/ldsodefs.h: ... here.
42365 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
42367         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
42369         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
42370         math/test-snan.c.
42371         * math/test-snan.c: Renamed from
42372         sysdeps/powerpc/fpu/test-powerpc-snan.c.
42373         * math/Makefile (tests): Add test-snan.
42374         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
42375         test-powerpc-snan.
42377         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
42378         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
42379         functions.
42380         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
42381         __builtin_nan family of functions.
42382         * math/libm-test.inc (initialize): Initialize qnan_value with
42383         __builtin_nan family of functions.
42384         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
42385         Remove variables.
42386         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
42387         Remove functions.
42388         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
42389         storage class.  Initialize qNaN_var and sNaN_var with
42390         __builtin_nan and __builtin_nans families of functions,
42391         respectively.
42393         * math/libm-test.inc (acosh_test): Also test with qNaN input.
42394         (sqrt_test): Remove duplicate test with qNaN input.
42395         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
42396         (round_test, signbit_test, significand_test): Note missing +/-Inf
42397         as well as qNaN tests.
42399         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
42400         qNaN_var.  Fix a few strings, too.
42401         * math/libm-test.inc (nan_value): Rename to qnan_value.
42402         * math/gen-libm-test.pl (%beautify): Adjust to that.
42403         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
42404         * math/test-misc.c (main): Likewise.
42405         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
42406         to __qnan_bytes, and __qnan_union, respectively.
42407         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
42408         Likewise.
42409         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
42410         and lqnanval, respectively.
42411         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
42412         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
42413         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
42414         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
42416         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
42417         * math/test-misc.c (main) [__x86_64__]: Enable test for long
42418         doubles.
42420         * math/test-misc.c (main): Fix copy'n'pastos.
42421         * misc/tst-efgcvt.c (special): Likewise.
42423         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
42424         Remove declarations.
42426 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42428         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
42429         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
42430         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
42431         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
42433 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42435         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
42436         macro to return vdso values correctly in IFUNC implementations.
42437         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
42438         Optimization by using IFUNC.
42440 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42441             Richard Henderson  <rth@redhat.com>
42442             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42444         * Makefile.in (bench): New target.
42445         * NEWS: Mention the benchmark framework.
42446         * Rules (bench): Likewise.
42447         (binaries-bench): Generate binaries for functions to
42448         benchmark.
42449         * benchtests/Makefile: New makefile for benchmark tests.
42450         * benchtests/bench-skeleton.c: New skeleton file for benchmark
42451         programs.
42452         * benchtests/exp-inputs: New input file for EXP function.
42453         * benchtests/pow-inputs: New input file for POW function.
42454         * scripts/bench.pl: New script to generate source files for
42455         benchmark programs.
42457 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42459         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
42460         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
42461         computations on mantissa.  Use macros for rounding and
42462         division.
42463         (denorm): Likewise.
42464         (__dbl_mp): Likewise.
42465         (add_magnitudes): Likewise.
42466         (sub_magnitudes): Likewise.
42467         (__mul): Likewise.
42468         (__sqr): Likewise.
42469         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
42470         powers of two in terms of TWOPOW macro.
42471         (mp_no): Make type of mantissa as MANTISSA_T.
42472         [!RADIXI]: Define RADIXI.
42473         [!TWO52]: Define TWO52.
42474         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
42476         * manual/nptl.texi (cindex): Modify threads to pthreads.
42478 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
42480         * sysdeps/x86_64/preconfigure: Regenerated.
42482 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
42484         [BZ #14155]
42485         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
42486         0x1p28 and above.
42487         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
42488         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
42489         0x1p28 and above.
42490         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
42491         * math/libm-test.inc (j0_test): Do not allow one spurious
42492         underflow exception.
42493         (y1_test): Likewise.
42495 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
42497         * manual/Makefile (chapters): Add nptl.
42498         * manual/debug.texi (Debugging Support): Add link to Threads
42499         chapter.
42500         * manual/nptl.texi: New file.
42502         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
42504 2013-03-14  Petr Baudis  <pasky@ucw.cz>
42506         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
42507         for non-NULL pointer before the memory validity test. Pointed
42508         out by Holger Brunck <holger.brunck@keymile.com>.
42510 2013-03-13  Andreas Schwab  <schwab@suse.de>
42512         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
42513         instead of .os.
42515 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
42517         * timezone/zic.c: Update from tzcode 2013b.
42519 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
42521         * manual/install.texi (Configuring and compiling):
42522         Mention i686 and i586.
42523         * INSTALL: Regenerate.
42525 2013-03-12  Roland McGrath  <roland@hack.frob.com>
42527         * sysdeps/init_array/elf-init.c: New file.
42528         * csu/elf-init.c
42529         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
42530         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
42532         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
42533         __gmon_start__ as global, but as static with a .preinit_array pointer.
42534         * sysdeps/init_array/gmon-start.c: New file.  Use that.
42535         * sysdeps/init_array/crti.S: New file, empty except for comments.
42536         * sysdeps/init_array/crtn.S: Likewise.
42538 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
42540         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
42541         definining bcopy.
42542         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42543         Remove Prefer_SSE_for_memop.
42544         * sysdeps/x86_64/multiarch/init-arch.h: Remove
42545         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
42546         HAS_PREFER_SSE_FOR_MEMOP.
42547         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
42548         memset-x86-64.
42549         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42550         Remove bzero, memset ifunc support.
42551         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
42552         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
42553         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42554         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42556 2013-03-11  Andreas Schwab  <schwab@suse.de>
42558         [BZ #15234]
42559         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
42560         by SHLIB_COMPAT.
42561         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
42562         (GLIBC_2.16): Remove pthread_atfork.
42564 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
42566         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
42567         (ptestcases.h): Likewise.
42569 2013-03-08  Roland McGrath  <roland@hack.frob.com>
42571         * Makeconfig ($(common-objpfx)config.status): Depend on
42572         sysdeps/*/preconfigure{,.in} too.
42574 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
42576         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
42577         (__free_hook): Use void * instead of __malloc_ptr_t.
42578         (__malloc_hook): Likewise.
42579         (__realloc_hook): Likewise.
42580         (__memalign_hook): Likewise.
42581         (__after_morecore_hook): Likewise.
42582         * malloc/arena.c (save_malloc_hook): Likewise.
42583         (save_free_hook): Likewise.
42584         * malloc/hooks.c (malloc_hook_ini): Likewise.
42585         (realloc_hook_ini): Likewise.
42586         (memalign_hook_ini): Likewise.
42587         * malloc/malloc.c (malloc_hook_ini): Likewise.
42588         (realloc_hook_ini): Likewise.
42589         (memalign_hook_ini): Likewise.
42590         (__free_hook): Likewise.
42591         (__malloc_hook): Likewise.
42592         (__realloc_hook): Likewise.
42593         (__memalign_hook): Likewise.
42594         (__libc_malloc): Likewise.
42595         (__libc_free): Likewise.
42596         (__libc_realloc): Likewise.
42597         (__libc_memalign): Likewise.
42598         (__libc_valloc): Likewise.
42599         (__libc_pvalloc): Likewise.
42600         (__libc_calloc): Likewise.
42601         (__posix_memalign): Likewise.
42602         * malloc/morecore.c (__sbrk): Likewise.
42603         (__default_morecore): Likewise.
42605         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
42607         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
42608         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
42609         __malloc_ptrdiff_t.
42611         * malloc/malloc.h (__malloc_size_t): Remove macro.
42612         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
42613         __malloc_size_t.
42614         (old_memalign_hook): Likewise.
42615         (old_realloc_hook): Likewise.
42616         (struct hdr): Likewise.
42617         (flood): Likewise.
42618         (mallochook): Likewise.
42619         (memalignhook): Likewise.
42620         (reallochook): Likewise.
42621         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
42622         (tr_old_realloc_hook): Likewise.
42623         (tr_old_memalign_hook): Likewise.
42624         (tr_mallochook): Likewise.
42625         (tr_reallochook): Likewise.
42626         (tr_memalignhook): Likewise.
42628 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42630         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
42631         default_ldbl_pack and using as default implementation.
42632         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
42633         implementation.
42634         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
42635         redundant definition.
42636         (ldbl_insert_mantissa): Likewise.
42637         (ldbl_canonicalize): Likewise.
42638         (ldbl_nearbyint): Likewise.
42639         (ldbl_pack): Rename to ldbl_pack_ppc.
42640         (ldbl_unpack): Rename to ldbl_unpack_ppc.
42641         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
42642         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
42644 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
42646         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
42647         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
42648         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
42649         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
42650         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
42651         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
42652         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
42653         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
42655 2013-03-07  Andreas Jaeger  <aj@suse.de>
42657         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42658         bits/mman-linux.h.
42660 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
42662         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
42663         Include mpa.h and declare __MPEXP.
42664         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
42665         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
42666         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
42667         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
42668         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
42669         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
42670         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
42672         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
42673         (__slowpow): Use long double EXPL and LOGL functions to
42674         compute POW.
42675         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
42676         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
42677         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
42678         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
42679         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
42680         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
42682         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
42683         intermediate variable to calculate exponent.
42684         (__sqr): Likewise.
42685         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
42686         Likewise.
42687         (__sqr): Likewise.
42689         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
42690         [!NO__SQR]: Define __sqr.
42691         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
42692         and NO__SQR.  Remove all code except __mul and __sqr.  Include
42693         sysdeps/ieee754/dbl-64/mpa.c.
42694         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42696         [BZ #12723]
42697         * posix/Makefile (tests): Add tst-pathconf.
42698         * posix/tst-pathconf.c: New test case.
42699         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
42700         _PC_PIPE_BUF.
42701         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
42703 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
42705         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
42707 2013-03-06  Andreas Jaeger  <aj@suse.de>
42709         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
42710         definition via __MAP_ANONYMOUS.
42712         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
42713         it's not part of Linux headers.
42715         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
42716         (MAP_HUGE_MASK): Define.
42718         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
42719         Define.
42720         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
42721         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
42722         Define.
42723         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
42724         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
42725         Define.
42726         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
42727         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
42728         Define.
42729         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
42731         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
42732         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
42733         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
42734         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
42735         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
42736         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
42738         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42739         Handle f2fs.
42741         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42742         Handle f2fs and efivarfs.
42744         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
42745         f2fs.
42747         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
42748         (EFIVARFS_MAGIC): Add.
42749         (F2FS_LINK_MAX): Add.
42751 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
42753         * stdio-common/vfprintf.c: Replace __builtin_expect with
42754         __glibc_unlikely.
42756 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
42758         [BZ #13550]
42759         * sysdeps/generic/bp-sym.h: Remove file.
42760         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
42761         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
42762         <bp-sym.h> and <bp-asm.h>.
42763         (__longjmp): Don't use BP_SYM.
42764         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
42765         and <bp-asm.h>.
42766         (memcpy): Don't use BP_SYM.
42767         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
42768         <bp-sym.h> and <bp-asm.h>.
42769         (memcpy): Don't use BP_SYM.
42770         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
42771         <bp-asm.h>.
42772         (memcpy): Don't use BP_SYM.
42773         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
42774         <bp-asm.h>.
42775         (memset): Don't use BP_SYM.
42776         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
42777         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
42778         (__bzero): Don't use BP_SYM.
42779         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
42780         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
42781         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
42782         <bp-sym.h> and <bp-asm.h>.
42783         (memcmp): Don't use BP_SYM.  Remove comment about bounded
42784         pointers.
42785         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
42786         <bp-sym.h> and <bp-asm.h>.
42787         (memcpy): Don't use BP_SYM.
42788         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
42789         <bp-sym.h> and <bp-asm.h>.
42790         (memset): Don't use BP_SYM.
42791         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
42792         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
42793         (__bzero): Don't use BP_SYM.
42794         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
42795         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
42796         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
42797         <bp-sym.h> and <bp-asm.h>.
42798         (strncmp): Don't use BP_SYM.  Remove comment about bounded
42799         pointers.
42800         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
42801         <bp-sym.h> and <bp-asm.h>.
42802         (memcpy): Don't use BP_SYM.
42803         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
42804         <bp-sym.h> and <bp-asm.h>.
42805         (memset): Don't use BP_SYM.
42806         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
42807         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
42808         (__bzero): Don't use BP_SYM.
42809         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
42810         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
42811         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
42812         <bp-sym.h> and <bp-asm.h>.
42813         (__memchr): Don't use BP_SYM.
42814         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
42815         <bp-sym.h> and <bp-asm.h>.
42816         (memcmp): Don't use BP_SYM.  Remove comment about bounded
42817         pointers.
42818         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
42819         <bp-sym.h> and <bp-asm.h>.
42820         (memcpy): Don't use BP_SYM.
42821         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
42822         <bp-sym.h> and <bp-asm.h>.
42823         (__mempcpy): Don't use BP_SYM.
42824         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
42825         <bp-sym.h> and <bp-asm.h>.
42826         (__memrchr): Don't use BP_SYM.
42827         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
42828         <bp-sym.h> and <bp-asm.h>.
42829         (memset): Don't use BP_SYM.
42830         (__bzero): Likewise.
42831         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
42832         <bp-sym.h> and <bp-asm.h>.
42833         (__rawmemchr): Don't use BP_SYM.
42834         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
42835         <bp-sym.h> and <bp-asm.h>.
42836         (__STRCMP): Don't use BP_SYM.
42837         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
42838         <bp-sym.h> and <bp-asm.h>.
42839         (strchr): Don't use BP_SYM.
42840         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
42841         <bp-sym.h> and <bp-asm.h>.
42842         (__strchrnul): Don't use BP_SYM.
42843         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
42844         <bp-sym.h> and <bp-asm.h>.
42845         (strlen): Don't use BP_SYM.
42846         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
42847         <bp-sym.h> and <bp-asm.h>.
42848         (strncmp): Don't use BP_SYM.  Remove comment about bounded
42849         pointers.
42850         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
42851         <bp-sym.h> and <bp-asm.h>.
42852         (__strnlen): Don't use BP_SYM.
42853         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
42854         <bp-sym.h> and <bp-asm.h>.
42855         (__GI__setjmp): Don't use BP_SYM.
42856         (_setjmp): Likewise.
42857         (__sigsetjmp): Likewise.
42858         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
42859         (L(start_addresses)): Don't use BP_SYM.
42860         (_start): Likewise.
42861         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
42862         <bp-asm.h>.
42863         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
42864         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
42865         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42866         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42867         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
42868         <bp-asm.h>.
42869         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
42870         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
42871         about bounded pointers.
42872         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
42873         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
42874         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
42875         <bp-asm.h>.
42876         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
42877         about bounded pointers.  Remove GKM FIXME comments.
42878         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
42879         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
42880         <bp-asm.h>.
42881         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
42882         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
42883         Remove GKM FIXME comments.
42884         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
42885         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
42886         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
42887         <bp-asm.h>.
42888         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
42889         about bounded pointers.  Remove GKM FIXME comment.
42890         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
42891         and <bp-asm.h>.
42892         (strncmp): Don't use BP_SYM.  Remove comment about bounded
42893         pointers.
42894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
42895         <bp-sym.h> and <bp-asm.h>.
42896         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
42897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
42898         <bp-sym.h> and <bp-asm.h>.
42899         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
42900         comment.
42902 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42904         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
42905         call free(NULL).
42907 2013-03-05  David S. Miller  <davem@davemloft.net>
42909         * po/es.po: Update from translation team.
42911 2013-03-05  Andreas Jaeger  <aj@suse.de>
42913         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
42914         <bits/mman-linux.h>.
42915         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
42916         is fine.
42917         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
42918         <bits/mman-linux.h> to end of file.
42919         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
42920         is fine.
42921         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
42922         <bits/mman-linux.h> to end of file.
42923         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
42924         is fine.
42925         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
42926         <bits/mman-linux.h> to end of file.
42928         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
42929         (MCL_CURRENT, MCL_FUTURE): Define here.
42931 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42933         [BZ #15232]
42934         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
42935         attribute_hidden.
42936         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42938 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42940         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
42941         fourth parameter needed for rt_sigprocmask syscall.
42942         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
42943         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
42944         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
42945         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
42946         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
42947         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
42949 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
42951         [BZ #13550]
42952         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
42953         comment about bounded pointers.
42954         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
42955         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
42957 2013-03-04  Andreas Jaeger  <aj@suse.de>
42959         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
42960         common definitions.
42962         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
42963         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
42964         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
42965         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42966         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42967         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42969 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42971         [BZ #15055]
42972         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
42973         __ieee754_sqrl instead of __sqrl.
42975 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
42977         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
42978         * sysdeps/powerpc/fpu_control.h: ... here.
42979         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
42980         * sysdeps/powerpc/bits/fenvinline.h: ... here.
42981         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
42982         * sysdeps/powerpc/bits/mathinline.h: ... here.
42984 2013-03-01  Roland McGrath  <roland@hack.frob.com>
42986         * elf/dl-hwcaps.c (_dl_important_hwcaps):
42987         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
42988         to just [NEED_DL_SYSINFO_DSO].
42989         * elf/dl-support.c: Likewise.
42990         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
42991         * elf/rtld.c (dl_main): Likewise.
42992         * elf/setup-vdso.h (setup_vdso): Likewise.
42993         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
42994         * sysdeps/unix/sysv/linux/dl-sysdep.c
42995         (_dl_discover_osversion): Likewise.
42997 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
42999         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
43000         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
43002 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
43004         * NEWS: Mention libm performance improvements and non-x86 PI
43005         futex support.
43007         * csu/libc-start.c (__pthread_initialize_minimal): Change
43008         function arguments.
43009         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
43011 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
43013         [BZ #13550]
43014         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
43015         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
43016         <bp-sym.h> and <bp-asm.h>.
43017         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
43018         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
43019         and <bp-asm.h>.
43020         (memcpy): Don't use BP_SYM.
43021         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
43022         <bp-asm.h>.
43023         (__mpn_add_n): Don't use BP_SYM.
43024         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
43025         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
43026         and <bp-asm.h>.
43027         (__mpn_addmul_1): Don't use BP_SYM.
43028         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43029         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
43030         <bp-sym.h>.
43031         (_setjmp): Don't use BP_SYM.
43032         (__novmx_setjmp): Likewise.
43033         (__GI__setjmp): Likewise.
43034         (__vmx_setjmp): Likewise.
43035         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
43036         <bp-sym.h>.
43037         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
43038         (__bzero): Don't use BP_SYM.
43039         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43040         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43041         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
43042         <bp-sym.h> and <bp-asm.h>.
43043         (memcpy): Don't use BP_SYM.
43044         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
43045         <bp-sym.h> and <bp-asm.h>.
43046         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
43047         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
43048         <bp-sym.h> and <bp-asm.h>.
43049         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
43050         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
43051         <bp-asm.h>.
43052         (__mpn_lshift): Don't use BP_SYM.
43053         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43054         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
43055         <bp-asm.h>.
43056         (memset): Don't use BP_SYM.
43057         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43058         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43059         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
43060         <bp-asm.h>.
43061         (__mpn_mul_1): Don't use BP_SYM.
43062         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43063         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
43064         <bp-sym.h> and <bp-asm.h>.
43065         (memcmp): Don't use BP_SYM.
43066         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
43067         <bp-sym.h> and <bp-asm.h>.
43068         (memcpy): Don't use BP_SYM.
43069         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
43070         <bp-sym.h> and <bp-asm.h>.
43071         (memset): Don't use BP_SYM.
43072         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
43073         <bp-sym.h> and <bp-asm.h>.
43074         (strncmp): Don't use BP_SYM.
43075         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
43076         <bp-sym.h> and <bp-asm.h>.
43077         (memcpy): Don't use BP_SYM.
43078         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
43079         <bp-sym.h> and <bp-asm.h>.
43080         (memset): Don't use BP_SYM.
43081         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
43082         <bp-sym.h> and <bp-asm.h>.
43083         (__memchr): Don't use BP_SYM.
43084         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
43085         <bp-sym.h> and <bp-asm.h>.
43086         (memcmp): Don't use BP_SYM.
43087         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
43088         <bp-sym.h> and <bp-asm.h>.
43089         (memcpy): Don't use BP_SYM.
43090         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
43091         <bp-sym.h> and <bp-asm.h>.
43092         (__mempcpy): Don't use BP_SYM.
43093         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
43094         <bp-sym.h> and <bp-asm.h>.
43095         (__memrchr): Don't use BP_SYM.
43096         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
43097         <bp-sym.h> and <bp-asm.h>.
43098         (memset): Don't use BP_SYM.
43099         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
43100         <bp-sym.h> and <bp-asm.h>.
43101         (__rawmemchr): Don't use BP_SYM.
43102         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
43103         <bp-sym.h> and <bp-asm.h>.
43104         (__STRCMP): Don't use BP_SYM.
43105         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
43106         <bp-sym.h> and <bp-asm.h>.
43107         (strchr): Don't use BP_SYM.
43108         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
43109         <bp-sym.h> and <bp-asm.h>.
43110         (__strchrnul): Don't use BP_SYM.
43111         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
43112         <bp-sym.h> and <bp-asm.h>.
43113         (strlen): Don't use BP_SYM.
43114         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
43115         <bp-sym.h> and <bp-asm.h>.
43116         (strncmp): Don't use BP_SYM.
43117         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
43118         <bp-sym.h> and <bp-asm.h>.
43119         (__strnlen): Don't use BP_SYM.
43120         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
43121         <bp-asm.h>.
43122         (__mpn_rshift): Don't use BP_SYM.
43123         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43124         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
43125         <bp-sym.h> and <bp-asm.h>.
43126         (__sigsetjmp): Don't use BP_SYM.
43127         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
43128         (L(start_addresses)): Don't use BP_SYM.
43129         (_start): Likewise.
43130         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
43131         <bp-asm.h>.
43132         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
43133         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43134         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
43135         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
43136         <bp-asm.h>.
43137         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
43138         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
43139         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
43140         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
43141         <bp-asm.h>.
43142         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
43143         comments.
43144         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
43145         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
43146         <bp-asm.h>.
43147         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
43148         FIXME comments.
43149         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43150         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
43151         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
43152         <bp-asm.h>.
43153         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
43154         comment.
43155         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
43156         and <bp-asm.h>.
43157         (strncmp): Don't use BP_SYM,
43158         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
43159         <bp-asm.h>.
43160         (__mpn_sub_n): Don't use BP_SYM.
43161         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43162         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
43163         and <bp-asm.h>.
43164         (__mpn_submul_1): Don't use BP_SYM.
43165         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
43167         <bp-sym.h> and <bp-asm.h>.
43168         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
43169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
43170         <bp-sym.h> and <bp-asm.h>.
43171         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
43172         comment.
43174 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43176         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
43177         Use ZK to minimize writes to Z.
43178         (sub_magnitudes): Simplify code a bit.
43179         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
43180         Use ZK to minimize writes to Z.
43181         (sub_magnitudes): Simplify code a bit.
43183 2013-02-27  Roland McGrath  <roland@hack.frob.com>
43185         * csu/gmon-start.c: Add special exception to license text.
43187 2013-02-27  Richard Henderson  <rth@redhat.com>
43189         * scripts/config.guess: Update from config.git.
43190         * scripts/config.sub: Likewise.
43192 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43194         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
43196         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
43198         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
43200         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
43202         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
43204 2013-02-26  Roland McGrath  <roland@hack.frob.com>
43206         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
43207         [$(build-shared = yes].
43209 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43211         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
43212         (__mul): Reduce iterations for calculating mantissa.
43214         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
43215         MPTWO.
43216         (__mpranred): Likewise.
43218         [BZ #15160]
43219         * malloc/memusagestat.c (main): Draw graphs for heap and stack
43220         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
43222 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
43224         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
43225         Define __attribute__.
43227 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43229         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
43230         unused.
43231         * posix/regex_internal.h (__attribute): Remove.
43232         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
43233         (re_string_context_at): Likewise.
43234         (bitset_not): Use __attribute__ and mark function as possibly
43235         unused.
43236         (bitset_merge): Likewise.
43237         (bitset_mask): Likewise.
43238         (re_string_char_size_at): Likewise.
43239         (re_string_wchar_at): Likewise.
43240         (re_string_elem_size_at): Likewise.
43242 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43244         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
43245         code.
43246         (cc32): Likewise.
43248         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
43249         (__acr): Likewise.
43250         (__cpy): Likewise.
43251         (norm): Likewise.
43252         (denorm): Likewise.
43253         (__dbl_mp): Likewise.
43254         (add_magnitudes): Likewise.
43255         (sub_magnitudes): Likewise.
43256         (__mul): Likewise.
43257         (__inv): Likewise.
43259         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
43260         style.
43262         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
43263         style.
43265         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
43266         code.
43268         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
43269         up changes with default code.
43270         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
43271         Likewise.
43273 2013-02-24  Allan McRae  <allan@archlinux.org>
43275         * manual/socket.texi (The Internet Namespace): Order menu items
43276         to match that in the file.
43278         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
43279         node listing of the info page menu.
43281 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
43283         [BZ #13550]
43284         * sysdeps/i386/bp-asm.h: Remove file.
43285         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
43286         (PARMS): Do not use macros from bp-asm.h.
43287         (S1): Likewise.
43288         (S2): Likewise.
43289         (SIZE): Likewise.
43290         (__mpn_add_n): Do not use BP_SYM
43291         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
43292         "bp-asm.h".
43293         (PARMS): Do not use macros from bp-asm.h.
43294         (S1): Likewise.
43295         (SIZE): Likewise.
43296         (__mpn_addmul_1): Do not use BP_SYM
43297         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
43298         "bp-asm.h".
43299         (PARMS): Do not use macros from bp-asm.h.
43300         (SIGMSK): Likewise.
43301         (_setjmp): Likewise.  Do not use BP_SYM.
43302         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
43303         "bp-asm.h".
43304         (PARMS): Do not use macros from bp-asm.h.
43305         (SIGMSK): Likewise.
43306         (setjmp): Likewise.  Do not use BP_SYM.
43307         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
43308         "bp-asm.h".
43309         (PARMS): Do not use macros from bp-asm.h.
43310         (__frexp): Do not use BP_SYM.
43311         (frexp): Likewise.
43312         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
43313         "bp-asm.h".
43314         (PARMS): Do not use macros from bp-asm.h.
43315         (__frexpf): Do not use BP_SYM.
43316         (frexpf): Likewise.
43317         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
43318         "bp-asm.h".
43319         (PARMS): Do not use macros from bp-asm.h.
43320         (__frexpl): Do not use BP_SYM.
43321         (frexpl): Likewise.
43322         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
43323         "bp-asm.h".
43324         (PARMS): Do not use macros from bp-asm.h.
43325         (__remquo): Do not use BP_SYM.
43326         (remquo): Likewise.
43327         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
43328         "bp-asm.h".
43329         (PARMS): Do not use macros from bp-asm.h.
43330         (__remquof): Do not use BP_SYM.
43331         (remquof): Likewise.
43332         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
43333         "bp-asm.h".
43334         (PARMS): Do not use macros from bp-asm.h.
43335         (__remquol): Do not use BP_SYM.
43336         (remquol): Likewise.
43337         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
43338         "bp-asm.h".
43339         (PARMS): Do not use macros from bp-asm.h.
43340         (DEST): Likewise.
43341         (SRC): Likewise.
43342         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
43343         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
43344         "bp-asm.h".
43345         (PARMS): Do not use macros from bp-asm.h.
43346         (strlen): Do not use BP_SYM.
43347         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
43348         "bp-asm.h".
43349         (PARMS): Do not use macros from bp-asm.h.
43350         (S1): Likewise.
43351         (S2): Likewise.
43352         (SIZE): Likewise.
43353         (__mpn_add_n): Do not use BP_SYM.
43354         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
43355         "bp-asm.h".
43356         (PARMS): Do not use macros from bp-asm.h.
43357         (S1): Likewise.
43358         (SIZE): Likewise.
43359         (__mpn_addmul_1): Do not use BP_SYM.
43360         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
43361         weak_alias.
43362         (bzero): Likewise.
43363         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
43364         "bp-asm.h".
43365         (PARMS): Do not use macros from bp-asm.h.
43366         (S): Likewise.
43367         (SIZE): Likewise.
43368         (__mpn_lshift): Do not use BP_SYM.
43369         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
43370         "bp-asm.h".
43371         (PARMS): Do not use macros from bp-asm.h.
43372         (DEST): Likewise.
43373         (SRC): Likewise.
43374         (LEN): Likewise.
43375         (memcpy): Likewise.  Do not use BP_SYM.
43376         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
43377         libc_hidden_def and weak_alias.
43378         (mempcpy): Do not use BP_SYM in weak_alias.
43379         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
43380         "bp-asm.h".
43381         (PARMS): Do not use macros from bp-asm.h.
43382         (DEST): Likewise.
43383         (LEN): Likewise.
43384         [!BZERO_P] (CHR): Likewise.
43385         (memset): Likewise.  Do not use BP_SYM.
43386         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
43387         "bp-asm.h".
43388         (PARMS): Do not use macros from bp-asm.h.
43389         (S1): Likewise.
43390         (SIZE): Likewise.
43391         (__mpn_mul_1): Do not use BP_SYM.
43392         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
43393         "bp-asm.h".
43394         (PARMS): Do not use macros from bp-asm.h.
43395         (S): Likewise.
43396         (SIZE): Likewise.
43397         (__mpn_rshift): Do not use BP_SYM.
43398         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
43399         "bp-asm.h".
43400         (PARMS): Do not use macros from bp-asm.h.
43401         (STR): Likewise.
43402         (CHR): Likewise.
43403         (strchr): Likewise.  Do not use BP_SYM.
43404         (index): Do not use BP_SYM in weak_alias.
43405         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
43406         "bp-asm.h".
43407         (PARMS): Do not use macros from bp-asm.h.
43408         (DEST): Likewise.
43409         (SRC): Likewise.
43410         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
43411         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
43412         "bp-asm.h".
43413         (PARMS): Do not use macros from bp-asm.h.
43414         (strlen): Do not use BP_SYM.
43415         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
43416         "bp-asm.h".
43417         (PARMS): Do not use macros from bp-asm.h.
43418         (S1): Likewise.
43419         (S2): Likewise.
43420         (SIZE): Likewise.
43421         (__mpn_sub_n): Do not use BP_SYM.
43422         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
43423         "bp-asm.h".
43424         (PARMS): Do not use macros from bp-asm.h.
43425         (S1): Likewise.
43426         (SIZE): Likewise.
43427         (__mpn_submul_1): Do not use BP_SYM.
43428         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
43429         "bp-asm.h".
43430         (PARMS): Do not use macros from bp-asm.h.
43431         (S1): Likewise.
43432         (S2): Likewise.
43433         (SIZE): Likewise.
43434         (__mpn_add_n): Do not use BP_SYM.
43435         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
43436         weak_alias.
43437         (bzero): Likewise.
43438         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
43439         "bp-asm.h".
43440         (PARMS): Do not use macros from bp-asm.h.
43441         (BLK2): Likewise.
43442         (LEN): Likewise.
43443         (memcmp): Do not use BP_SYM.
43444         (bcmp): Do not use BP_SYM in weak_alias.
43445         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
43446         "bp-asm.h".
43447         (PARMS): Do not use macros from bp-asm.h.
43448         (DEST): Likewise.
43449         (SRC): Likewise.
43450         (LEN): Likewise.
43451         (memcpy): Likewise.  Do not use BP_SYM.
43452         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
43453         "bp-asm.h".
43454         (PARMS): Do not use macros from bp-asm.h.
43455         (DEST): Likewise.
43456         (SRC): Likewise.
43457         (LEN): Likewise.
43458         (memmove): Likewise.  Do not use BP_SYM.
43459         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
43460         "bp-asm.h".
43461         (PARMS): Do not use macros from bp-asm.h.
43462         (DEST): Likewise.
43463         (SRC): Likewise.
43464         (LEN): Likewise.
43465         (__mempcpy): Likewise.  Do not use BP_SYM.
43466         (mempcpy): Do not use BP_SYM in weak_alias.
43467         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
43468         "bp-asm.h".
43469         (PARMS): Do not use macros from bp-asm.h.
43470         (DEST): Likewise.
43471         (LEN): Likewise.
43472         [!BZERO_P] (CHR): Likewise.
43473         (memset): Likewise.  Do not use BP_SYM.
43474         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
43475         "bp-asm.h".
43476         (PARMS): Do not use macros from bp-asm.h.
43477         (STR2): Likewise.
43478         (strcmp): Do not use BP_SYM.
43479         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
43480         "bp-asm.h".
43481         (PARMS): Do not use macros from bp-asm.h.
43482         (STR): Likewise.
43483         (DELIM): Likewise.
43484         [USE_AS_STRTOK_R] (SAVE): Likewise.
43485         (FUNCTION): Likewise.  Do not use BP_SYM.
43486         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
43487         aliases.
43488         (strtok_r): Likewise.
43489         (__GI___strtok_r): Likewise.
43490         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
43491         (PARMS): Do not use macros from bp-asm.h.
43492         (S): Likewise.
43493         (SIZE): Likewise.
43494         (__mpn_lshift): Do not use BP_SYM.
43495         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
43496         (PARMS): Do not use macros from bp-asm.h.
43497         (STR): Likewise.
43498         (CHR): Likewise.
43499         (__memchr): Do not use BP_SYM.
43500         (memchr): Do not use BP_SYM in weak_alias.
43501         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
43502         (PARMS): Do not use macros from bp-asm.h.
43503         (BLK2): Likewise.
43504         (LEN): Likewise.
43505         (memcmp): Do not use BP_SYM.
43506         (bcmp): Do not use BP_SYM in weak_alias.
43507         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
43508         (PARMS): Do not use macros from bp-asm.h.
43509         (S1): Likewise.
43510         (SIZE): Likewise.
43511         (__mpn_mul_1): Do not use BP_SYM.
43512         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
43513         "bp-asm.h".
43514         (PARMS): Do not use macros from bp-asm.h.
43515         (STR): Likewise.
43516         (CHR): Likewise.
43517         (__rawmemchr): Do not use BP_SYM.
43518         (rawmemchr): Do not use BP_SYM in weak_alias.
43519         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
43520         (PARMS): Do not use macros from bp-asm.h.
43521         (S): Likewise.
43522         (SIZE): Likewise.
43523         (__mpn_rshift): Do not use BP_SYM.
43524         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
43525         (PARMS): Do not use macros from bp-asm.h.
43526         (SIGMSK): Likewise.
43527         (__sigsetjmp): Likewise.  Do not use BP_SYM.
43528         * sysdeps/i386/start.S: Do not include "bp-sym.h".
43529         (_start): Do not use BP_SYM.
43530         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
43531         (PARMS): Do not use macros from bp-asm.h.
43532         (DEST): Likewise.
43533         (SRC): Likewise.
43534         (__stpcpy): Likewise.  Do not use BP_SYM.
43535         (stpcpy): Do not use BP_SYM in weak_alias.
43536         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
43537         "bp-asm.h".
43538         (PARMS): Do not use macros from bp-asm.h.
43539         (DEST): Likewise.
43540         (SRC): Likewise.
43541         (LEN): Likewise.
43542         (__stpncpy): Likewise.  Do not use BP_SYM.
43543         (stpncpy): Do not use BP_SYM in weak_alias.
43544         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
43545         (PARMS): Do not use macros from bp-asm.h.
43546         (STR): Likewise.
43547         (CHR): Likewise.
43548         (strchr): Likewise.  Do not use BP_SYM.
43549         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
43550         "bp-asm.h".
43551         (PARMS): Do not use macros from bp-asm.h.
43552         (STR): Likewise.
43553         (CHR): Likewise.
43554         (__strchrnul): Likewise.  Do not use BP_SYM.
43555         (strchrnul): Do not use BP_SYM in weak_alias.
43556         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
43557         "bp-asm.h".
43558         (PARMS): Do not use macros from bp-asm.h.
43559         (STOP): Likewise.
43560         (strcspn): Do not use BP_SYM.
43561         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
43562         "bp-asm.h".
43563         (PARMS): Do not use macros from bp-asm.h.
43564         (STR): Likewise.
43565         (STOP): Likewise.
43566         (strpbrk): Likewise.  Do not use BP_SYM.
43567         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
43568         "bp-asm.h".
43569         (PARMS): Do not use macros from bp-asm.h.
43570         (STR): Likewise.
43571         (CHR): Likewise.
43572         (strrchr): Likewise.  Do not use BP_SYM.
43573         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
43574         (PARMS): Do not use macros from bp-asm.h.
43575         (SKIP): Likewise.
43576         (strspn): Do not use BP_SYM.
43577         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
43578         (PARMS): Do not use macros from bp-asm.h.
43579         (STR): Likewise.
43580         (DELIM): Likewise.
43581         (SAVE): Likewise.
43582         (FUNCTION): Likewise.  Do not use BP_SYM.
43583         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
43584         aliases.
43585         (strtok_r): Likewise.
43586         (__GI___strtok_r): Likewise.
43587         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
43588         (PARMS): Do not use macros from bp-asm.h.
43589         (S1): Likewise.
43590         (S2): Likewise.
43591         (SIZE): Likewise.
43592         (__mpn_sub_n): Do not use BP_SYM.
43593         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
43594         "bp-asm.h".
43595         (PARMS): Do not use macros from bp-asm.h.
43596         (S1): Likewise.
43597         (SIZE): Likewise.
43598         (__mpn_submul_1): Do not use BP_SYM.
43599         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
43600         <bp-sym.h>.
43601         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
43602         and <bp-asm.h>.
43603         (PARMS): Do not use macros from bp-asm.h.
43604         (FLAGS): Likewise.
43605         (PTID): Likewise.
43606         (TLS): Likewise.
43607         (CTID): Likewise.
43608         (__clone): Do not use BP_SYM.
43609         (clone): Do not use BP_SYM in weak_alias.
43610         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
43611         and <bp-asm.h>.
43612         (PARMS): Do not use macros from bp-asm.h.
43613         (LEN): Likewise.
43614         (__mmap64): Do not use BP_SYM.
43615         (mmap64): Do not use BP_SYM in weak_alias.
43616         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
43617         <bp-sym.h> and <bp-asm.h>.
43618         (PARMS): Do not use macros from bp-asm.h.
43619         (__posix_fadvise64_l64): Do not use BP_SYM.
43620         * sysdeps/unix/sysv/linux/i386/semtimedop.S
43621         (PARMS): Do not use macros from bp-asm.h.
43622         (NSOPS): Likewise.
43623         (semtimedop): Do not use BP_SYM.
43624         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
43625         and <bp-asm.h>.
43627 2013-02-21  Allan McRae  <allan@archlinux.org>
43629         * manual/message.texi (Charset conversion in gettext):
43630         Move @end statement to beginning of line.
43632 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43634         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
43635         static.
43636         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
43637         Likewise.
43639         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
43640         (denorm): Likewise.
43641         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
43642         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
43644 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43646         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
43647         tail-call to the resolved function if pltexit isn't needed.
43649 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43651         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
43652         or Y being zero as being unlikely.
43653         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
43654         Likewise.
43656 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
43658         * manual/nss.texi (System Databases and Name Service Switch):
43659         Remove frobnicate @pxref.
43661 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
43663         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
43664         __attribute__ ((unused)) to __attribute__ ((__unused__)).
43666 2013-02-20  Petr Machata  <pmachata@redhat.com>
43668         * elf/elf.h (R_ARM_TARGET1): New macro.
43669         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
43670         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
43671         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
43672         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
43673         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
43674         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
43675         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
43676         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
43677         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
43678         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
43679         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
43680         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
43681         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
43682         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
43683         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
43684         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
43685         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
43686         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
43687         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
43688         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
43689         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
43690         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
43691         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
43692         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
43693         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
43694         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
43695         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
43696         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
43697         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
43698         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
43699         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
43700         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
43701         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
43702         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
43703         (R_ARM_THM_GOT_BREL12): Likewise.
43704         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
43705         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
43706         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
43707         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
43708         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
43709         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
43710         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
43711         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
43712         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
43714 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
43716         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
43717         __attribute_used__ to __attribute__ ((unused)).
43719 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43721         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
43722         powerpc mpa.c.
43723         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
43724         comment formatting.
43725         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
43727 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
43729         [BZ #13550]
43730         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
43731         Remove macro.
43732         (ENTER): Remove both macro definitions.
43733         (LEAVE): Likewise.
43734         (CHECK_BOUNDS_LOW): Likewise.
43735         (CHECK_BOUNDS_HIGH): Likewise.
43736         (CHECK_BOUNDS_BOTH): Likewise.
43737         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
43738         (RETURN_BOUNDED_POINTER): Likewise.
43739         (RETURN_NULL_BOUNDED_POINTER): Likewise.
43740         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
43741         (POP_ERRNO_LOCATION_RETURN): Likewise.
43742         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
43743         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43744         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
43745         macros.
43746         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43747         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
43748         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
43749         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
43750         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
43751         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
43752         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
43753         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
43754         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
43755         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
43756         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
43757         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
43758         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43759         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
43760         removed macros.
43761         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43762         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
43763         macros.
43764         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43765         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
43766         * sysdeps/i386/i586/memset.S (memset): Likewise.
43767         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
43768         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43769         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
43770         macros.
43771         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43772         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
43773         Change uses of L(2) to L(out).
43774         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
43775         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
43776         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
43777         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43778         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
43779         removed macros.
43780         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43781         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
43782         macros.
43783         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43784         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
43785         (RETURN): Do not use macro LEAVE.
43786         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
43787         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
43788         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
43789         * sysdeps/i386/i686/memset.S (memset): Likewise.
43790         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
43791         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
43792         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
43793         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
43794         Likewise.
43795         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
43796         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
43797         L(1_2) and L(1_3) into L(1).
43798         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
43799         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
43800         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43801         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
43802         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
43803         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
43804         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
43805         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43806         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
43807         macros.
43808         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
43809         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43810         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
43811         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
43812         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
43813         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43814         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
43815         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
43816         * sysdeps/i386/strcspn.S (strcspn): Likewise.
43817         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
43818         * sysdeps/i386/strrchr.S (strrchr): Likewise.
43819         * sysdeps/i386/strspn.S (strspn): Likewise.
43820         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
43821         conditional code.
43822         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
43823         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
43824         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
43825         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
43826         L(1_3) into L(1_1).
43827         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
43828         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43829         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
43830         macros.
43831         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43833 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
43835         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
43836         macro.
43838 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43840         * math/atest-exp.c (exp_mpn): Remove ROUND.
43841         * math/atest-exp2.c (exp_mpn): Likewise.
43842         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
43844         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
43845         * stdlib/tst-tls-atexit-lib.c: Likewise.
43846         * stdlib/tst-tls-atexit.c: Likewise.
43848 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
43850         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
43851         and __attribute_alloc_size__.
43853 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
43855         * include/programs/xmalloc.h: Change __attribute_alloc_size to
43856         __attribute_alloc_size__.
43857         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
43858         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
43860 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
43862         * include/programs/xmalloc.h: New file.
43863         * catgets/gencat.c: Include it.
43864         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
43865         * elf/pldd.c: Likewise.
43866         * iconv/iconv_charmap.c: Likewise.
43867         * iconv/iconvconfig.c: Likewise.
43868         * iconv/strtab.c: Likewise.
43869         * locale/programs/locale.c: Likewise.
43870         * locale/programs/localedef.h: Likewise.
43871         * locale/programs/simple-hash.c: Likewise.
43872         * nscd/nscd.h: Likewise.
43873         * nss/makedb.c: Likewise.
43874         * sysdeps/generic/ldconfig.h: Likewise.
43876 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43878         * Versions.def: Add GLIBC_2.18.
43879         * include/link.h (struct link_map): New member l_tls_dtor_count.
43880         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
43881         (__call_tls_dtors): Likewise.
43882         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
43883         __cxa_thread_atexit_impl.
43884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43885         Likewise.
43886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43887         Likewise.
43888         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
43889         Likewise.
43890         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
43891         Likewise.
43892         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43893         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
43894         Likewise.
43895         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
43896         Likewise.
43897         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43898         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
43899         Likewise.
43900         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
43901         (tests): Add test case tst-tls-atexit.
43902         (modules-names): Add shared library for tst-tls-atexit.
43903         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
43904         (GLIBC_PRIVATE): Add __call_tls_dtors.
43905         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
43906         for libstdc++.
43907         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
43908         * stdlib/tst-tls-atexit.c: New test case.
43909         * stdlib/tst-tls-atexit-lib.c: New test case.
43911         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
43913         * elf/Versions (ld): Add _dl_find_dso_for_object.
43914         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
43915         * elf/dl-open.c (_dl_find_dso_for_object): New function.
43916         (dl_open_worker): Use _dl_find_dso_for_object.
43917         * elf/dl-sym.c (do_sym): Likewise.
43918         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
43920 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43922         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
43923         Syntactic changes only.
43924         (_dl_runtime_profile): Do a tail-call to the resolved function.
43926 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
43928         [BZ #13550]
43929         * sysdeps/x86_64/bp-asm.h: Remove file.
43930         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
43931         <bp-sym.h> and <bp-asm.h>.
43932         (__clone): Do not use BP_SYM.
43933         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
43934         <bp-sym.h> and <bp-asm.h>.
43935         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43936         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
43937         "bp-asm.h".
43938         (_setjmp): Do not use BP_SYM.
43939         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
43940         "bp-asm.h".
43941         (setjmp): Do not use BP_SYM.
43942         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
43943         libc_hidden_def.
43944         (mempcpy): Do not use BP_SYM in weak_alias.
43945         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
43946         "bp-asm.h".
43947         (strchr): Do not use BP_SYM.
43948         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
43949         "bp-asm.h".
43950         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
43951         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
43952         (_start): Do not use BP_SYM.
43953         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
43954         "bp-asm.h".
43955         (strcat): Do not use BP_SYM.
43956         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
43957         "bp-asm.h".
43958         (STRCMP): Do not use BP_SYM.
43959         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
43960         "bp-asm.h".
43961         (STRCPY): Do not use BP_SYM.
43962         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
43963         "bp-asm.h".
43964         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
43965         "bp-asm.h".
43966         (FUNCTION): Do not use BP_SYM.
43967         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
43968         weak_alias.
43969         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
43971 2013-02-17  Andreas Jaeger  <aj@suse.de>
43973         * time/Versions: Sort entries.
43974         * string/Versions: Likewise.
43975         * resolv/Versions: Likewise.
43976         * posix/Versions: Likewise.
43977         * iconv/Versions: Likewise.
43978         * elf/Versions: Likewise.
43979         * wcsmbs/Versions: Likewise.
43981 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43983         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
43984         loop termination condition.
43986         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
43987         variable to calculate EZ.
43988         (__sqr): Likewise.
43990         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
43991         the lower precision input.
43993 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
43995         [BZ #13550]
43996         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
43997         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
43998         (run-via-rtld-prefix): Do not handle %-bp tests.
43999         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
44000         (all-object-suffixes): Remove .ob.
44001         (bppfx): Remove variable.
44002         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
44003         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
44004         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
44005         [$(build-bounded) = yes] (libtype.ob): Likewise.
44006         * Makerules (elide-routines.ob): Remove variable.
44007         (do-tests-clean): Do not handle *-bp.out.
44008         (common-mostlyclean): Do not handle *-bp and *-bp.out.
44009         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
44010         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
44011         (tests): Do not include $(tests-bp.out).
44012         (xtests): Do not include $(xtests-bp.out).
44013         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
44014         [$(build-bounded) = yes] ($(addprefix
44015         $(objpfx),$(binaries-bounded))): Remove rule.
44016         ($(objpfx)%-bp.out): Remove rule.
44017         * config.make.in (build-bounded): Remove variable.
44018         * crypt/Makefile [$(build-bounded) = yes]
44019         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
44020         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
44021         append to variable.
44022         [$(build-bounded) = yes] (install-lib): Likewise.
44023         [$(build-bounded) = yes] (generated): Likewise.
44024         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
44025         Remove rule.
44026         * intl/Makefile [$(build-bounded) = yes]
44027         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
44028         * math/Makefile [$(build-bounded) = yes]
44029         ($(tests:%=$(objpfx)%-bp): Likewise.
44030         * misc/Makefile [$(build-bounded) = yes]
44031         ($(objpfx)tst-tsearch-bp): Likewise.
44032         * nptl/Makeconfig (bounded-thread-library): Remove variable.
44033         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
44034         Remove dependency.
44035         * string/Makefile (o-objects.ob): Remove variable.
44036         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
44037         (CFLAGS-.ob): Remove variable.
44038         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
44039         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
44040         both definitions of variable.
44041         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
44042         (ASFLAGS-.ob): Remove variable.
44044 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
44046         [BZ #13550]
44047         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
44048         Remove __BOUNDED_POINTERS__ from condition.
44049         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
44050         * string/bits/string2.h [!__NO_STRING_INLINES &&
44051         !__BOUNDED_POINTERS__]: Likewise.
44052         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
44053         Likewise.
44054         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
44055         Remove conditional code.
44056         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
44057         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
44058         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
44059         condition.
44061         [BZ #13550]
44062         * csu/libc-start.c: Do not include <bp-sym.h>.
44063         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
44064         * elf/dl-open.c: Do not include <bp-sym.h>.
44065         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
44066         * math/fegetenv.c: Do not include <bp-sym.h>.
44067         (fegetenv): Do not use BP_SYM in versioned symbols.
44068         * nptl/sysdeps/pthread/bits/libc-lockP.h
44069         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
44070         <bp-sym.h>.
44071         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44072         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
44073         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44074         (__pthread_mutex_destroy): Likewise.
44075         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44076         (__pthread_mutex_lock): Likewise.
44077         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44078         (__pthread_mutex_trylock): Likewise.
44079         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44080         (__pthread_mutex_unlock): Likewise.
44081         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44082         (__pthread_mutexattr_init): Likewise.
44083         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44084         (__pthread_mutexattr_destroy): Likewise.
44085         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44086         (__pthread_mutexattr_settype): Likewise.
44087         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44088         (__pthread_rwlock_init): Likewise.
44089         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44090         (__pthread_rwlock_destroy): Likewise.
44091         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44092         (__pthread_rwlock_rdlock): Likewise.
44093         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44094         (__pthread_rwlock_tryrdlock): Likewise.
44095         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44096         (__pthread_rwlock_wrlock): Likewise.
44097         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44098         (__pthread_rwlock_trywrlock): Likewise.
44099         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44100         (__pthread_rwlock_unlock): Likewise.
44101         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44102         (__pthread_key_create): Likewise.
44103         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44104         (__pthread_setspecific): Likewise.
44105         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44106         (__pthread_getspecific): Likewise.
44107         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
44108         Likewise.
44109         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44110         (_pthread_cleanup_push_defer): Likewise.
44111         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44112         (_pthread_cleanup_pop_restore): Likewise.
44113         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44114         (pthread_setcancelstate): Likewise.
44115         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
44116         <bp-sym.h>.
44117         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
44118         (memchr): Do not use BP_SYM in weak_alias.
44119         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
44120         (fegetenv): Do not use BP_SYM in versioned symbols.
44121         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
44122         (fesetenv): Do not use BP_SYM in versioned symbols.
44123         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
44124         (feupdateenv): Do not use BP_SYM in versioned symbols.
44125         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
44126         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
44127         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
44128         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
44129         (open64): Do not use BP_SYM in weak_alias.
44130         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
44131         (fegetenv): Do not use BP_SYM in versioned symbols.
44132         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
44133         (fesetenv): Do not use BP_SYM in versioned symbols.
44134         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
44135         (feupdateenv): Do not use BP_SYM in versioned symbols.
44136         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
44137         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
44138         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
44139         (feraiseexcept): Do not use BP_SYM in versioned symbols.
44140         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
44141         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
44142         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
44143         <bp-sym.h>.
44144         (__libc_start_main): Do not use BP_SYM.
44146 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44148         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
44149         redundant return line.
44150         (norm): Likewise.
44151         (denorm): Likewise.
44152         (dbl_mp): Likewise.
44153         (sub_magnitudes): Likewise.
44154         (__add): Likewise.
44155         (__sub): Likewise.
44156         (__mul): Likewise.
44157         (__inv): Likewise.
44158         (__dvd): Likewise.
44159         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
44160         (norm): Likewise.
44161         (denorm): Likewise.
44162         (dbl_mp): Likewise.
44163         (sub_magnitudes): Likewise.
44164         (__add): Likewise.
44165         (__sub): Likewise.
44166         (__mul): Likewise.
44167         (__inv): Likewise.
44168         (__dvd): Likewise.
44170         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
44171         instead of __mul.
44172         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44173         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
44174         (cc32): Likewise.
44176         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
44177         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
44178         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
44179         of __mul for squares.
44180         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
44181         function
44182         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
44183         Likewise.
44184         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
44185         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44187 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
44189         [BZ #13550]
44190         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
44191         code.
44192         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
44193         prototype or function definition.  Rename ubp_* variables and
44194         parameters.  Remove argv definitions conditional on
44195         [__BOUNDED_POINTERS__].
44196         * debug/backtrace.c (__backtrace): Do not use __unbounded.
44197         * elf/dl-runtime.c (_dl_fixup): Likewise.
44198         * include/set-hooks.h (RUN_HOOK): Likewise.
44199         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
44200         definition.
44201         * string/strcpy.c (strcpy): Do not use __unbounded.
44202         * sysdeps/generic/frame.h (struct layout): Likewise.
44203         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
44204         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
44205         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
44206         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
44207         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
44208         (__backtrace): Likewise.
44209         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
44210         use __ptrvalue.
44211         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
44212         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
44213         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
44214         Likewise.
44215         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
44216         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
44217         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
44218         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
44219         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
44220         Do not use __unbounded.
44221         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
44222         Rename __unboundedrlimits parameter to rlimits in prototype.
44223         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
44224         Do not use __unbounded.
44225         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
44226         not use __ptrvalue.
44227         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
44228         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
44229         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
44230         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
44231         __ptrvalue or __unbounded.
44232         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
44233         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
44234         use __unbounded.
44235         (__new_msgctl): Do not use __ptrvalue.
44236         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
44237         __unbounded.
44238         (__libc_msgrcv): Do not use __ptrvalue.
44239         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
44240         startup_info): Do not use __unbounded.
44241         (__libc_start_main): Likewise.  Rename ubp_* variables and
44242         parameters.  Remove argv definitions conditional on
44243         [__BOUNDED_POINTERS__].
44244         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
44245         __ptrvalue.
44246         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
44247         use __unbounded.
44248         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
44249         or __ptrvalue.
44250         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
44251         use __unbounded.
44252         (__new_shmctl): Do not use __ptrvalue.
44253         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
44254         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
44255         Likewise.
44256         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
44257         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
44258         (__libc_sigaction): Likewise.
44259         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
44260         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
44261         Likewise.
44262         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
44264 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
44266         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
44268         * string/mempcpy.c: Implement by calling memcpy.
44270 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44272         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
44274         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
44275         evaluation.
44277         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
44278         values in the mantissa.
44280         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
44281         minimize writes to Z.
44282         (sub_magnitudes): Simplify code a bit.
44284 2013-02-12  Roland McGrath  <roland@hack.frob.com>
44286         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
44287         from the message.  The linker prefixes all warnings with that already.
44289 2013-02-12  Andreas Schwab  <schwab@suse.de>
44291         [BZ #15078]
44292         * posix/regexec.c (extend_buffers): Add parameter min_len.
44293         (check_matching): Pass minimum needed length.
44294         (clean_state_log_if_needed): Likewise.
44295         (get_subexp): Likewise.
44296         * posix/Makefile (tests): Add bug-regex34.
44297         (bug-regex34-ENV): Define.
44298         * posix/bug-regex34.c: New file.
44300         [BZ #11561]
44301         * posix/regcomp.c (parse_bracket_exp): When looking up collating
44302         elements compare against the byte sequence of it, not its name.
44303         * posix/Makefile (tests): Add bug-regex35.
44304         (bug-regex35-ENV): Define.
44305         * posix/bug-regex35.c: New file.
44307 2013-02-11  Tom de Vries  <tom@codesourcery.com>
44309         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
44310         comment.
44311         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
44312         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
44313         (CHECK_EOL): Add undef.
44315 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
44317         * bits/stdlib-bsearch.h: New file.
44318         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
44319         * stdlib/stdlib.h: Likewise.
44321 2013-02-11  Roland McGrath  <roland@hack.frob.com>
44323         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
44324         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
44325         declaration.
44326         * manual/search.texi (Array Search Function): Add missing const in
44327         lfind prototype.
44328         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
44329         declaration to use rlim_t.
44330         (Basic Scheduling Functions): Remove erroneous const from
44331         sched_getparam prototype.  Remove erroneous * from
44332         sched_get_priority_max and sched_get_priority_min prototypes.
44333         (Resource Usage): Fix summary @comment on vtimes to refer to
44334         sys/vtimes.h rather than vtimes.h.
44335         Add missing *s in vtimes prototype.
44336         (Limits on Resources): Fix ulimit prototype to return long int.
44337         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
44338         prototypes to use long int rather than double.
44339         (BSD Random): Fix initstate and setstate to use char *, not void *.
44340         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
44341         prototype to make second argument 'struct aiocb64 *const[]'.
44342         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
44343         (Status of AIO Operations): Remove erroneous const in aio_return and
44344         aio_return64 prototypes.
44345         (Synchronizing I/O): Fix sync prototype to return void.
44346         * manual/startup.texi (Suboptions): Remove an erroneous const in
44347         getsubopt prototype.
44348         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
44349         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
44350         use size_t rather than int.
44351         (Scanning All Users): Likewise for getpwent_r.
44352         (Setting Groups): Add missing const to setgroups prototype.
44353         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
44354         * manual/socket.texi (Host Names): Fix gethostbyaddr and
44355         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
44356         'const void *' rather than 'const char *'.
44357         (Host Address Functions): Likewise for inet_ntop.
44358         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
44359         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
44360         ssize_t for return value.
44361         (Sending Data): Likewise for send, sendto, sendmsg.
44362         (Socket Option Functions): Add a missing const in setsockopt prototype.
44363         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
44364         use wchar_t for the argument.
44365         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
44366         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
44367         take no arguments.
44368         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
44369         double/float/long double for second argument.
44370         Fix return types of significand, significandf, significandl.
44371         * manual/filesys.texi (Setting Permissions): Use mode_t for second
44372         argument in fchmod prototype.
44373         (File Owner): Use uid_t and gid_t in fchown prototype.
44374         (File Times): Add const to utimes, futimes, and lutimes prototypes.
44375         (Making Special Files): Use mode_t and dev_t in mknod prototype.
44376         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
44377         use 'const struct dirent **' as argument types to CMP function pointer
44378         argument.
44379         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
44380         (File Times): Fix summary magic @comment for struct utimbuf and utime
44381         to refer to utime.h, not time.h.
44382         * manual/string.texi (Argz Functions): Add missing const in
44383         argz_extract and argz_next prototypes.
44384         (Finding Tokens in a String): Likewise for basename.
44385         (String/Array Comparison): Fix typo in wcscasecmp prototype.
44386         (Copying and Concatenation): Fix typo in wmemmove prototype.
44387         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
44388         (Signal Stack): Remove erroneous const in sigstack prototype.
44389         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
44390         prototype.
44391         (Simple Calendar Time): Likewise for stime.
44392         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
44393         prototype.
44394         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
44395         say sys/sysctl.h instead.
44396         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
44397         and vsyslog prototypes.
44399 2013-02-11  Tom de Vries  <tom@codesourcery.com>
44401         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
44402         Remove.
44404 2013-02-11  Roland McGrath  <roland@hack.frob.com>
44406         * misc/sys/mman.h: Fix typo in mremap comment.
44408 2013-02-08  Roland McGrath  <roland@hack.frob.com>
44410         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
44411         the '\0' terminator.
44413 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
44415         [BZ #13550]
44416         * debug/segfault.c: Don't include <bp-checks.h>.
44417         * sysdeps/generic/bp-checks.h: Remove file.
44418         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
44419         (__GETDENTS): Don't use CHECK_N.
44420         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
44421         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
44422         (__getgroups): Don't use CHECK_N.
44423         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
44424         (setgroups): Don't use CHECK_N.
44425         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
44426         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
44427         (__libc_msgrcv): Don't use CHECK_N.
44428         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
44429         (__libc_msgsnd): Don't use CHECK_N.
44430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
44431         <bp-checks.h>.
44432         (__libc_pread): Don't use CHECK_N.
44433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
44434         include <bp-checks.h>.
44435         (__libc_pread64): Don't use CHECK_N.
44436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
44437         include <bp-checks.h>.
44438         (__libc_pwrite): Don't use CHECK_N.
44439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
44440         include <bp-checks.h>.
44441         (__libc_pwrite64): Don't use CHECK_N.
44442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
44443         <bp-checks.h>.
44444         (__libc_pread): Don't use CHECK_N.
44445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
44446         include <bp-checks.h>.
44447         (__libc_pread64): Don't use CHECK_N.
44448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
44449         include <bp-checks.h>.
44450         (__libc_pwrite): Don't use CHECK_N.
44451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
44452         include <bp-checks.h>.
44453         (__libc_pwrite64): Don't use CHECK_N.
44454         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
44455         (do_pread): Don't use CHECK_N.
44456         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
44457         (do_pread64): Don't use CHECK_N.
44458         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
44459         (do_pwrite): Don't use CHECK_N.
44460         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
44461         (do_pwrite64): Don't use CHECK_N.
44462         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
44463         (__libc_readv): Don't use CHECK_N.
44464         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
44465         (semop): Don't use CHECK_N.
44466         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
44467         <bp-checks.h>.
44468         (semtimedop): Don't use CHECK_N.
44469         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
44470         (__libc_pread): Don't use CHECK_N.
44471         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
44472         <bp-checks.h>.
44473         (__libc_pread64): Don't use CHECK_N.
44474         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
44475         <bp-checks.h>.
44476         (__libc_pwrite): Don't use CHECK_N.
44477         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
44478         <bp-checks.h>.
44479         (__libc_pwrite64): Don't use CHECK_N.
44480         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
44481         <bp-checks.h>.
44482         (__libc_msgrcv): Don't use CHECK_N.
44483         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
44484         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
44485         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
44486         (__libc_writev): Don't use CHECK_N.
44488 2013-02-08  Roland McGrath  <roland@hack.frob.com>
44490         * string/strcpy.c: Removed unused variable.
44492         * Makeconfig (+sysdep-includes): Define with := rather than =.
44493         Use an existing include/ subdir of each sysdeps dir before it.
44495 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
44497         * nscd/connection.c (register_traced_file): Comment function.
44498         [HAVE_INOTIFY] (union __inev): Define.
44499         [HAVE_INOTIFY] (inotify_check_files): New function.
44500         [HAVE_INOTIFY] (clear_db_cache): Likewise.
44501         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
44502         clear_db_cache.
44503         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
44505 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
44507         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
44508         loaded if not already and that a failure is permanent.
44510 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
44512         [BZ #15006]
44513         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
44514         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
44516 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
44518         [BZ #13550]
44519         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
44520         (CHECK_1_NULL_OK): Likewise.
44521         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
44522         (__fxstat): Do not use CHECK_1.
44523         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
44524         <bp-checks.h>.
44525         (___fxstat64): Do not use CHECK_1.
44526         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
44527         <bp-checks.h>.
44528         (__fxstatat): Do not use CHECK_1.
44529         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
44530         <bp-checks.h>.
44531         (__fxstatat64): Do not use CHECK_1.
44532         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
44533         <bp-checks.h>.
44534         (__fxstat): Do not use CHECK_1.
44535         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
44536         <bp-checks.h>.
44537         (__fxstatat): Do not use CHECK_1.
44538         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
44539         <bp-checks.h>.
44540         (__getresgid): Do not use CHECK_1.
44541         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
44542         <bp-checks.h>.
44543         (__getresuid): Do not use CHECK_1.
44544         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
44545         <bp-checks.h>.
44546         (__lxstat): Do not use CHECK_1.
44547         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
44548         <bp-checks.h>.
44549         (__old_msgctl): Do not use CHECK_1.
44550         (__new_msgctl): Likewise.
44551         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
44552         <bp-checks.h>.
44553         (__new_setrlimit): Do not use CHECK_1.
44554         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
44555         <bp-checks.h>.
44556         (__old_shmctl): Do not use CHECK_1.
44557         (__new_shmctl): Likewise.
44558         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
44559         <bp-checks.h>.
44560         (__xstat): Do not use CHECK_1.
44561         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
44562         (__lxstat): Do not use CHECK_1.
44563         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
44564         <bp-checks.h>.
44565         (___lxstat64): Do not use CHECK_1.
44566         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
44567         (__old_msgctl): Do not use CHECK_1.
44568         (__new_msgctl): Likewise.
44569         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
44570         <bp-checks.h>.
44571         (__gettimeofday): Do not use CHECK_1.
44572         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
44573         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
44574         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
44575         <bp-checks.h>.
44576         (__gettimeofday): Do not use CHECK_1.
44577         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
44578         (__old_shmctl): Do not use CHECK_1_NULL_OK.
44579         (__new_shmctl): Do not use CHECK_1.
44580         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
44581         <bp-checks.h>.
44582         (do_sigtimedwait): Do not use CHECK_1.
44583         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
44584         <bp-checks.h>.
44585         (do_sigwaitinfo): Do not use CHECK_1.
44586         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
44587         <bp-checks.h>.
44588         (msgctl): Do not use CHECK_1.
44589         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
44590         <bp-checks.h>.
44591         (shmctl): Do not use CHECK_1.
44592         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
44593         (ustat): Do not use CHECK_1.
44594         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
44595         <bp-checks.h>.
44596         (__fxstat): Do not use CHECK_1.
44597         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
44598         <bp-checks.h>.
44599         (__fxstatat): Do not use CHECK_1.
44600         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
44601         <bp-checks.h>.
44602         (__lxstat): Do not use CHECK_1.
44603         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
44604         <bp-checks.h>.
44605         (__xstat): Do not use CHECK_1.
44606         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
44607         (__xstat): Do not use CHECK_1.
44608         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
44609         (___xstat64): Do not use CHECK_1.
44611         [BZ #13550]
44612         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
44613         definitions.
44614         (CHECK_BOUNDS_HIGH): Likewise.
44615         * string/strcpy.c: Do not include <bp-checks.h>.
44616         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
44618 2013-02-07  Roland McGrath  <roland@hack.frob.com>
44620         * nscd/nscd-client.h (__nscd_drop_map_ref):
44621         Add __attribute__ ((unused)).
44622         * nis/nss-nisplus.h (niserr2nss): Likewise.
44624         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
44625         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
44627         * csu/libc-tls.c (init_static_tls, init_slotinfo):
44628         Remove inline keyword.
44629         * include/rounding-mode.h (round_away): Likewise.
44630         * libio/wfileops.c (adjust_wide_data): Likewise.
44631         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
44632         (__m128i_strloadu_tolower): Likewise.
44633         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
44634         (__m128i_strloadu_tolower): Likewise.
44635         * time/mktime.c (ydhms_diff): Likewise.
44636         * locale/elem-hash.h (elem_hash): Likewise.
44637         * locale/setlocale.c (setdata): Likewise.
44638         * posix/regex_internal.h (re_string_char_size_at): Likewise.
44639         (re_string_wchar_at): Likewise.
44640         (bitset_not, bitset_merge, bitset_mask): Likewise.
44641         [!(__GNUC__ > 3)] (inline): Remove macro.
44642         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
44643         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
44644         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
44645         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
44646         * string/memcmp.c (memcmp_bytes): Likewise.
44647         * locale/programs/locarchive.c (compute_hashval): Likewise.
44648         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
44649         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
44650         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
44651         * nss/getent.c (print_rpc, print_protocols): Likewise.
44652         (print_passwd, print_group, print_aliases): Likewise.
44653         * nis/nss-nisplus.h (niserr2nss): Likewise.
44654         * nscd/connections.c (restart_p): Likewise.
44655         Change return type to bool.
44657 2013-02-05  Roland McGrath  <roland@hack.frob.com>
44659         * Makeconfig (all-Depend-files): Add existing
44660         $(sorted-subdirs:=/Depend) files.
44661         (all-subdirs): Remove nss.
44662         * sysdeps/unix/inet/Subdirs: Add it here instead.
44663         * hesiod/Depend: New file.
44665         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
44666         instead of calling alloca.
44668         * io/lseek.c (__lseek): Rename to __libc_lseek.
44669         Define __lseek as an alias.
44671         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
44673 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
44675         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
44676         else clause and remove check for non-standard endianness.
44678 2013-02-04  David S. Miller  <davem@davemloft.net>
44680         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44682 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
44684         [BZ #13550]
44685         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
44686         (__ubp_memchr): Remove prototype.
44687         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
44688         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
44689         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
44690         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
44691         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
44692         Remove alias.
44693         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
44694         (__ubp_memchr): Likewise.
44695         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
44696         (__ubp_memchr): Likewise.
44697         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
44698         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
44699         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
44700         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
44701         CHECK_STRING.
44702         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
44703         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
44704         (__getcwd): Do not use CHECK_STRING.
44705         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
44706         <bp-checks.h>.
44707         (__real_chown): Do not use CHECK_STRING.
44708         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
44709         <bp-checks.h>.
44710         (fchownat): Do not use CHECK_STRING.
44711         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
44712         CHECK_STRING.
44713         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
44714         <bp-checks.h>.
44715         (__lchown): Do not use CHECK_STRING.
44716         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
44717         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
44718         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
44719         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
44720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
44721         include <bp-checks.h>.
44722         (truncate64): Do not use CHECK_STRING.
44723         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
44724         <bp-checks.h>.
44725         (__real_chown): Do not use CHECK_STRING.
44726         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
44727         <bp-checks.h>.
44728         (__lchown): Do not use CHECK_STRING.
44729         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
44730         <bp-checks.h>.
44731         (__chown): Do not use CHECK_STRING.
44732         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
44733         <bp-checks.h>.
44734         (truncate64): Do not use CHECK_STRING.
44735         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
44736         Likewise.
44737         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
44738         (__xmknod): Do not use CHECK_STRING.
44739         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
44740         <bp-checks.h>.
44741         (__xmknodat): Do not use CHECK_STRING.
44742         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
44743         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
44745 2013-02-04  Andreas Schwab  <schwab@suse.de>
44747         [BZ #14142]
44748         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
44749         * include/netdb.h: Likewise for h_errno.
44750         * elf/tst-stackguard1.c: Include <tls.h>.
44752 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
44754         * elf/link.h (struct link_map): Extend the l_addr comment.
44755         * include/link.h (struct link_map): Likewise.
44757 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
44759         [BZ #13550]
44760         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
44761         (BOUNDED_1): Remove macro.
44762         * debug/backtrace.c: Don't include <bp-checks.h>.
44763         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
44764         (__backtrace): Likewise.
44765         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
44766         <bp-checks.h>.
44767         (__backtrace): Don't use BOUNDED_1.
44768         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
44769         <bp-checks.h>.
44770         (__backtrace): Don't use BOUNDED_1.
44771         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
44772         (__backtrace): Don't use BOUNDED_1.
44773         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
44774         (shmat): Don't use BOUNDED_N.
44776 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
44778         [BZ #13550]
44779         * sysdeps/generic/bp-start.h: Remove file.
44780         * csu/libc-start.c: Don't include <bp-start.h>.
44781         (LIBC_START_MAIN): Set up __environ directly instead of using
44782         INIT_ARGV_and_ENVIRON.
44783         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
44784         <bp-start.h>.
44786         [BZ #13550]
44787         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
44788         definitions.
44789         (CHECK_FCNTL): Likewise.
44790         (CHECK_N_PAGES): Likewise.
44792         [BZ #13550]
44793         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
44794         definitions.
44795         (CHECK_SIGSET_NULL_OK): Likewise.
44796         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
44797         <bp-checks.h>.
44798         (sigpending): Don't use CHECK_SIGSET.
44799         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
44800         <bp-checks.h>.
44801         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
44802         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
44803         <bp-checks.h>.
44804         (do_sigsuspend): Don't use CHECK_SIGSET.
44805         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
44806         use CHECK_SIGSET.
44807         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
44808         (do_sigwait): Don't use CHECK_SIGSET.
44809         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
44810         use CHECK_SIGSET.
44811         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
44812         include <bp-checks.h>.
44813         (sigpending): Don't use CHECK_SIGSET.
44814         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
44815         include <bp-checks.h>.
44816         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
44817         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
44818         <bp-checks.h>.
44819         (sigpending): Don't use CHECK_SIGSET.
44820         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
44821         <bp-checks.h>.
44822         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
44824         [BZ #13550]
44825         * sysdeps/generic/bp-semctl.h: Remove file.
44826         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
44827         <bp-checks.h> and <bp-semctl.h>.
44828         (__old_semctl): Don't use CHECK_SEMCTL.
44829         (__new_semctl): Likewise.
44830         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
44831         and <bp-semctl.h>.
44832         (__old_semctl): Don't use CHECK_SEMCTL.
44833         (__new_semctl): Likewise.
44834         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
44835         <bp-checks.h> and <bp-semctl.h>.
44836         (__old_semctl): Don't use CHECK_SEMCTL.
44837         (__new_semctl): Likewise.
44838         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
44839         <bp-checks.h> and <bp-semctl.h>.
44840         (semctl): Don't use CHECK_SEMCTL.
44842         [BZ #13550]
44843         * Makerules (elide-bp-thunks): Remove variable.
44844         (elide-routines.oS): Don't use $(elide-bp-thunks).
44845         (elide-routines.os): Likewise.
44846         (elide-routines.o): Likewise.
44847         (elide-routines.op): Likewise.
44848         (elide-routines.og): Likewise.
44849         (objects): Don't use $(bp-thunks).
44850         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
44851         include.
44852         (common-generated): Do not add s-proto-bp.d.
44853         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
44854         (int): Likewise.
44855         (typ): Likewise.
44856         Do not generate makefile rules for bounded-pointer thunks.
44857         * sysdeps/generic/bp-thunks.h: Remove file.
44858         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
44859         * sysdeps/unix/s-proto-bp.S: Likewise.
44861         [BZ #15062]
44862         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
44863         parts of result separately when argument is not close to line from
44864         -i to i and one part of argument is small.
44865         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44866         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44867         * math/libm-test.inc (cacos_test): Add more tests.
44868         (casin_test): Likewise.
44869         (casinh_test): Likewise.
44870         * sysdeps/i386/fpu/libm-test-ulps: Update.
44871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44873 2013-01-31  David S. Miller  <davem@davemloft.net>
44875         * po/de.po: Update from translation team.
44877 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
44879         * time/tzfile.c: Include stdint.h for SIZE_MAX.
44881 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
44883         * configure.in (_AC_PROG_CC_C89): New definition.
44884         * configure: Regenerate.
44886         * configure.in (AC_PROG_CPP): New definition.
44887         * configure: Regenerate.
44889 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
44891         * debug/tst-backtrace.h: New file.
44892         * debug/tst-backtrace2.c: Include tst-backtrace.h.
44893         (ret): Remove variable.
44894         (x): Likewise.
44895         (FAIL): Remove macro.
44896         (NO_INLINE): Likewise.
44897         (fn1): Use match function instead of strstr.
44898         * debug/tst-backtrace3.c: Include tst-backtrace.h.
44899         (ret): Remove variable.
44900         (x): Likewise.
44901         (FAIL): Remove macro.
44902         (NO_INLINE): Likewise.
44903         (fn): Use match function instead of strstr.
44904         * debug/tst-backtrace4.c: Include tst-backtrace.h.
44905         (ret): Remove variable.
44906         (x): Likewise.
44907         (FAIL): Remove macro.
44908         (NO_INLINE): Likewise.
44909         (handle_signal): Use match function instead of strstr.
44910         * debug/tst-backtrace5.c: Include tst-backtrace.h.
44911         (ret): Remove variable.
44912         (x): Likewise.
44913         (FAIL): Remove macro.
44914         (NO_INLINE): Likewise.
44915         (handle_signal): Use match function instead of strstr.
44917 2013-01-23  Roland McGrath  <roland@hack.frob.com>
44919         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
44921 2013-01-23  David S. Miller  <davem@davemloft.net>
44923         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
44924         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
44925         argument of CAS if possible.
44926         * sysdeps/sparc/sparc64/bits/atomic.h
44927         (__arch_compare_and_exchange_val_32_acq): Likewise.
44928         (__arch_compare_and_exchange_val_64_acq): Likewise.
44930 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
44932         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
44933         * sysdeps/posix/ulimit.c: ... this.
44934         Include <limits.h>.
44935         * sysdeps/unix/bsd/ulimit.c: Remove file.
44937 2013-01-23  Adam Conrad  <adconrad@0c3.net>
44939         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
44940         (LDFLAGS-tst-array5): Likewise.
44942 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
44944         [BZ #15036]
44945         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
44946         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
44947         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
44948         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
44950 2013-01-21  David S. Miller  <davem@davemloft.net>
44952         * sysdeps/sparc/backtrace.c: New file.
44953         * sysdeps/sparc/sparc32/backtrace.h: New file.
44954         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
44955         * sysdeps/sparc/sparc64/backtrace.h: New file.
44956         * sysdeps/sparc/sparc64/backtrace.c: Delete.
44957         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
44958         -funwind-tables.
44960 2013-01-21  Andreas Schwab  <schwab@suse.de>
44962         [BZ #15020]
44963         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
44964         closed its stdout.
44966 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
44968         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
44969         "mpa2.h".
44970         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
44972 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
44973             Mark Mitchell  <mark@codesourcery.com>
44974             Tom de Vries  <tom@codesourcery.com>
44975             Paul Pluzhnikov  <ppluzhnikov@google.com>
44977         * debug/tst-backtrace2.c: New file.
44978         * debug/tst-backtrace3.c: Likewise.
44979         * debug/tst-backtrace4.c: Likewise.
44980         * debug/tst-backtrace5.c: Likewise.
44981         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
44982         (CFLAGS-tst-backtrace3.c): Likewise.
44983         (CFLAGS-tst-backtrace4.c): Likewise.
44984         (CFLAGS-tst-backtrace5.c): Likewise.
44985         (LDFLAGS-tst-backtrace2): Likewise.
44986         (LDFLAGS-tst-backtrace3): Likewise.
44987         (LDFLAGS-tst-backtrace4): Likewise.
44988         (LDFLAGS-tst-backtrace5): Likewise.
44989         (tests): Add new tests tst-backtrace2, tst-backtrace3,
44990         tst-backtrace4 and tst-backtrace5.
44992 2013-01-18  Anton Blanchard  <anton@samba.org>
44993             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44995         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
44996         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
44997         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
44998         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
44999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
45000         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
45001         "+r" and remove output regs list as redundant.  Add explicit inline
45002         asm to specify register of return val to work around compiler codegen
45003         bug.  Remove (int) cast on return value.  Add return type parameter to
45004         use in macro so that this macro does not truncate return value for
45005         64-bit values.
45006         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
45007         pass to INTERNAL_VSYSCALL_NCS.
45008         (INLINE_VSYSCALL): Add 'long int' as return type to
45009         INTERNAL_VSYSCALL_NCS macro invocation.
45010         (INTERNAL_VSYSCALL): Add 'long int' as return type to
45011         INTERNAL_VSYSCALL_NCS macro invocation.
45012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45014 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45016         [BZ #14496]
45017         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
45018         Fix application of SIMD FP exception mask.
45020         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
45021         mp_no from a power of two.
45022         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
45023         __mpexp_twomm1.  Use __pow_mp.
45025         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
45026         multiplication.
45028 2013-01-17  David S. Miller  <davem@davemloft.net>
45030         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45032 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
45034         [BZ #15023]
45035         * include/complex.h: Condition contents on [!_COMPLEX_H].
45036         (__kernel_casinhf): New prototype.
45037         (__kernel_casinh): Likewise.
45038         (__kernel_casinhl): Likewise.
45039         * math/Makefile (libm_calls): Add k_casinh.
45040         * math/k_casinh.c: New file.
45041         * math/k_casinhf.c: Likewise.
45042         * math/k_casinhl.c: Likewise.
45043         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
45044         finite nonzero arguments.
45045         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
45046         finite nonzero arguments.
45047         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
45048         finite nonzero arguments.
45049         * math/s_casinh.c: Do not include <float.h>.
45050         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
45051         * math/s_casinhf.c: Do not include <float.h>.
45052         (__casinhf): Move code for finite nonzero arguments to
45053         k_casinhf.c.
45054         * math/s_casinhl.c: Do not include <float.h>.
45055         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
45056         redefine.
45057         (__casinhl): Move code for finite nonzero arguments to
45058         k_casinhl.c.
45059         * math/libm-test.inc (cacos_test): Add more tests.
45060         * sysdeps/i386/fpu/libm-test-ulps: Update.
45061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45063 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
45065         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
45066         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
45067         [!HAVE_MREMAP]: Remove [defined linux] case.
45068         * malloc/arena.c: Do not include <malloc-sysdep.h>.
45070 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45072         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
45074 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
45076         * elf/elf.h (R_386_SIZE32): New relocation.
45077         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
45078         R_386_SIZE32.
45079         (elf_machine_rela): Likewise.
45080         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
45081         R_X86_64_SIZE64 and R_X86_64_SIZE32.
45083 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
45085         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
45086         (FP_FAST_FMA): Do not define.
45087         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
45088         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
45089         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
45090         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
45091         !_SOFT_FLOAT]: Likewise.
45092         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
45093         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
45094         value.
45095         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
45096         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
45097         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
45098         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
45099         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
45100         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
45101         file.
45103 2013-01-16  Andreas Schwab  <schwab@suse.de>
45105         [BZ #14327]
45106         * include/stdlib.h (__mktemp): Add declaration.
45107         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
45108         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
45110 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45112         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
45113         definitions.
45114         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
45115         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
45116         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
45117         definitions here.
45118         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
45119         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
45120         definitions.
45121         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
45122         and ONE.
45123         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
45124         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
45125         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
45126         definitions.
45127         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
45128         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
45129         definitions.
45130         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
45132         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
45134 2013-01-15  David S. Miller  <davem@davemloft.net>
45136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
45137         trunc{,f} to libm-sysdep_routes.
45138         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
45139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
45140         file.
45141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
45142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
45143         file.
45144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
45145         file.
45146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
45147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
45148         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
45149         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
45150         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
45151         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
45152         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
45153         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
45155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
45156         nearbyint{,f} to libm-sysdep_routes.
45157         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
45158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
45159         New file.
45160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
45161         file.
45162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
45163         New file.
45164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
45165         file.
45166         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
45167         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
45168         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
45169         file.
45170         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
45171         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
45172         file.
45173         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
45174         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
45175         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
45177         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
45178         libc_feholdexcept and libc_fesetenv.
45180 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
45182         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
45184 2013-01-14  David S. Miller  <davem@davemloft.net>
45186         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
45187         (SPARC_ASM_VIS2_IFUNC): Likewise.
45188         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
45189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
45190         use of 'siam' instruction.
45191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
45192         Likewise.
45193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
45194         Likewise.
45195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
45196         Likewise.
45197         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
45198         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
45199         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
45200         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
45201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
45202         file.
45203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
45204         file.
45205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
45206         file.
45207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
45208         file.
45209         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
45210         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
45211         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
45212         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
45213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
45214         new VIS2 routines.
45215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
45216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
45218         Likewise.
45219         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
45220         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
45221         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45222         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
45224         routines to libm-sysdep_routines.
45225         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
45227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
45228         fdim/fdimf to libm-sysdep_routines.
45229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
45230         file.
45231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
45232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
45233         file.
45234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
45235         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
45236         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
45237         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
45238         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
45239         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
45240         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
45242 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45244         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
45245         to optimize copies.
45247         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
45248         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
45249         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45251         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
45252         local variable MPTWO.
45253         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
45254         Likewise.
45256 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
45258         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
45259         GLOB_NOESCAPE.
45261 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
45263         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
45265 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
45267         * manual/pattern.texi (glob_t): Document gl_flags.
45268         (glob64_t): Likewise.
45270 2013-01-11  David S. Miller  <davem@davemloft.net>
45272         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
45273         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
45274         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
45275         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
45276         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
45277         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
45278         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
45279         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
45280         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
45281         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
45282         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
45283         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
45284         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
45286         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
45287         sparc V9 rather than using V8 code.
45288         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
45289         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
45291         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45292         Move to...
45293         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
45294         Here.
45296 2013-01-11  Roland McGrath  <roland@hack.frob.com>
45298         [BZ #14941]
45299         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
45300         not in the main loop.
45301         * configure: Regenerated.
45303 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
45305         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
45306         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
45307         to just #else.
45308         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
45309         [!__GLIBC_HAVE_LONG_LONG] case.
45310         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
45311         condition to just #else.
45312         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
45313         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
45314         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
45315         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
45316         unconditional.
45317         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
45318         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
45319         #elif condition to just #else.
45320         * sysdeps/unix/sysv/linux/sys/sysmacros.h
45321         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
45322         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
45323         #elif condition to just #else.
45325 2013-01-11  Steve Ellcey  <sellcey@mips.com>
45327         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
45328         (EF_MIPS_ARCH_64): Fix value.
45329         (EF_MIPS_ARCH_32R2): New.
45330         (EF_MIPS_ARCH_64R2): New.
45332 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
45334         * Makeconfig (+link-pie-before-libc): New.
45335         (+link-pie-after-libc): Likewise.
45336         (+link-pie-tests): Likewise.
45337         (+link-pie): Rewritten.
45338         (link-before-libc): Remove $(config-LDFLAGS).
45339         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
45340         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
45341         (config-LDFLAGS): Renamed to ...
45342         (rtld-LDFLAGS): This.
45343         (rtld-tests-LDFLAGS): New macro.
45344         (link-libc-rpath-link): Likewise.
45345         (link-libc-tests-rpath-link): Likewise.
45346         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
45347         (link-libc): Prepand $(link-libc-rpath-link).
45348         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
45349         (test-program-prefix): New macro.
45350         (test-via-rtld-prefix): Likewise.
45351         (test-program-cmd): Likewise.
45352         (host-test-program-cmd): Likewise.
45353         * Makefile ($(common-objpfx)testrun.sh): Replace
45354         $(run-program-prefix) with $(test-program-prefix).
45355         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
45356         $(rtld-LDFLAGS).
45357         ($(common-objpfx)shlib.lds): Likewise.
45358         (build-module-helper): Likewise.
45359         ($(common-objpfx)format.lds): Likewise.
45360         * Rules (binaries-pie-tests): New.
45361         (binaries-pie-notests): Likewise.
45362         (binaries-pie): Rewritten.
45363         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
45364         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
45365         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
45366         (make-test-out): Replace $(host-built-program-cmd) with
45367         $(host-test-program-cmd).
45368         * config.make.in (build-hardcoded-path-in-tests): New variable.
45369         * configure.in (--enable-hardcoded-path-in-tests): New configure
45370         option.
45371         (hardcoded_path_in_tests): New AC_SUBST.
45372         * configure: Regenerated.
45373         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
45374         $(built-program-cmd) with $(test-program-cmd).
45375         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
45376         (test_program_cmd): This.
45377         * elf/Makefile ($(objpfx)order.out): Run test with
45378         $(test-program-prefix).
45379         ($(objpfx)order2.out): Likewise.
45380         ($(objpfx)tst-initorder.out): Likewise.
45381         ($(objpfx)tst-initorder2.out): Likewise.
45382         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
45383         $(test-program-cmd).
45384         ($(objpfx)tst-array1-static.out): Likewise.
45385         ($(objpfx)tst-array2.out): Likewise.
45386         ($(objpfx)tst-array3.out): Likewise.
45387         ($(objpfx)tst-array4.out): Likewise.
45388         ($(objpfx)tst-array5.out): Likewise.
45389         ($(objpfx)tst-array5-static.out): Likewise.
45390         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
45391         $(test-program-cmd).
45392         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
45393         $(run-program-prefix) with $(test-program-prefix).
45394         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
45395         (test_program_prefix): This.
45396         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
45397         $(run-program-prefix) with $(test-program-prefix).
45398         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
45399         (test_program_prefix): This.
45400         * iconvdata/tst-tables.sh: Likewise.
45401         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
45402         $(run-program-prefix) with $(test-program-prefix).
45403         ($(objpfx)tst-translit.out): Likewise.
45404         ($(objpfx)tst-gettext2.out): Likewise.
45405         ($(objpfx)tst-gettext4.out): Likewise.
45406         ($(objpfx)tst-gettext6.out): Likewise.
45407         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
45408         (test_program_prefix): This.
45409         * intl/tst-gettext2.sh: Likewise.
45410         * intl/tst-gettext4.sh  Likewise.
45411         * intl/tst-gettext6.sh: Likewise.
45412         * intl/tst-translit.sh: Likewise.
45413         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
45414         with $(test-program-cmd).
45415         * libio/Makefile ($(objpfx)test-freopen.out): Replace
45416         $(run-program-prefix) with $(test-program-prefix).
45417         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
45418         (test_program_prefix): This.
45419         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
45420         $(run-program-prefix) with $(test-program-prefix).
45421         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
45422         (test_program_prefix): This.
45423         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
45424         * posix/Makefile ($(objpfx)globtest.out): Replace
45425         $(run-via-rtld-prefix) and $(test-wrapper) with
45426         $(test-program-prefix) and $(test-via-rtld-prefix).
45427         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
45428         $(test-program-prefix).
45429         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
45430         $(host-test-program-cmd).
45431         (tst-spawn-ARGS): Likewise.
45432         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
45433         $(test-program-prefix).
45434         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
45435         (test_via_rtld_prefix): This.
45436         (test_wrapper): Renamed to ...
45437         (test_program_prefix): This.
45438         (run_program_prefix): Replaced by test_program_prefix.
45439         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
45440         (test_program_prefix): This.
45441         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
45442         with $(host-test-program-cmd).
45443         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
45444         $(run-program-prefix) with $(test-program-prefix).
45445         ($(objpfx)tst-printf.out): Likewise.
45446         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
45447         $(test-program-cmd).
45448         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
45449         (test_program_prefix): This.
45450         * stdio-common/tst-unbputc.sh: Likewise.
45451         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
45452         $(run-program-prefix) with $(test-program-prefix).
45453         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
45454         (test_program_prefix): This.
45455         * string/Makefile ($(objpfx)tst-svc.out):  Replace
45456         $(built-program-cmd) with $(test-program-cmd).
45458 2013-01-11  Andreas Jaeger  <aj@suse.de>
45460         [BZ #15003]
45461         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
45462         value. Sync with Linux 3.7.
45464 2013-01-10  David S. Miller  <davem@davemloft.net>
45466         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
45467         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
45468         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
45470 2013-01-10  Roland McGrath  <roland@hack.frob.com>
45472         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
45473         never set.
45474         * configure: Regenerated.
45476 2013-01-10  David S. Miller  <davem@davemloft.net>
45478         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
45479         sparc V9 rather than using V8 code.
45480         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
45481         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
45483 2013-01-10  Roland McGrath  <roland@hack.frob.com>
45485         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
45486         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
45487         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
45488         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
45489         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
45490         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
45491         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
45492         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
45493         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
45494         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
45495         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
45496         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
45497         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
45498         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
45499         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
45500         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
45501         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
45502         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
45503         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
45504         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
45505         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
45506         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
45507         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
45508         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
45509         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
45510         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
45511         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
45513 2013-01-10  David S. Miller  <davem@davemloft.net>
45515         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45517 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
45519         * posix/Makefile (tests-static): New variable.
45520         (tests): Add $(tests-static).
45521         (tst-exec-static-ARGS): New variable.
45522         (tst-spawn-static-ARGS): Likewise.
45523         * posix/tst-exec-static.c: New file.
45524         * posix/tst-spawn-static.c: Likewise.
45525         * posix/tst-exec.c: Support run directly.
45526         * posix/tst-spawn.c: Likewise.
45528 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
45530         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
45531         long.
45532         * math/bits/mathcalls.h (llrint): Likewise.
45533         (llround): Likewise.
45534         * stdlib/stdlib.h (struct drand48_data): Likewise.
45535         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
45536         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
45537         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
45538         Likewise.
45539         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
45540         Likewise.
45541         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
45542         (elf_greg_t): Likewise.
45543         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
45544         (__jmp_buf): Likewise.
45545         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
45546         definitions.
45547         (llrint): Likewise, for all definitions.
45548         (llrintl): Likewise.
45550         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
45551         Remove [__GNUC__] condition.
45552         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
45553         condition to just [__USE_ISOC99].
45554         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
45556 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
45558         [BZ #14200]
45559         * sysdeps/unix/sysv/linux/x86/bits/environments.h
45560         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
45561         defined.
45562         (_POSIX_V6_ILP32_OFF32): Likewise.
45563         (_XBS5_ILP32_OFF32): Likewise.
45564         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
45565         (__ILP32_OFFBIG_LDFLAGS): Likewise.
45567 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45569         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
45571         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
45572         doubles __mpexp_twomm1.  Adjust usage.
45573         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
45574         Remove.
45576 2013-01-10  Andreas Schwab  <schwab@suse.de>
45578         [BZ #14964]
45579         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
45580         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
45582 2013-01-09  David S. Miller  <davem@davemloft.net>
45584         [BZ #15003]
45585         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
45586         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
45587         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
45588         (TCP_FASTOPEN): Define.
45589         (tcp_repair_opt): New structure.
45590         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
45591         enum values.
45592         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
45593         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
45594         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
45595         (tcp_cookie_transactions): New structure.
45597 2013-01-09  Anton Blanchard  <anton@samba.org>
45599         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
45600         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
45601         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
45602         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
45604 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
45606         * include/features.h (__USE_ANSI): Remove.
45608 2013-01-09  Roland McGrath  <roland@hack.frob.com>
45610         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
45612         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
45614 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
45616         * sysdeps/s390/fpu/libm-test-ulps: Update.
45618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45620         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
45621         (__acr): Likewise.
45622         (__cpy): Likewise.
45623         (norm): Likewise.
45624         (denorm): Likewise.
45625         (__mp_dbl): Likewise.
45626         (__dbl_mp): Likewise.
45627         (add_magnitudes): Likewise.
45628         (sub_magnitudes): Likewise.
45629         (__add): Likewise.
45630         (__sub): Likewise.
45631         (__mul): Likewise.
45632         (__inv): Likewise.
45633         (__dvd): Likewise.
45634         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
45635         (__acr): Likewise.
45636         (__cpy): Likewise.
45637         (norm): Likewise.
45638         (denorm): Likewise.
45639         (__mp_dbl): Likewise.
45640         (__dbl_mp): Likewise.
45641         (add_magnitudes): Likewise.
45642         (sub_magnitudes): Likewise.
45643         (__add): Likewise.
45644         (__sub): Likewise.
45645         (__mul): Likewise.
45646         (__inv): Likewise.
45647         (__dvd): Likewise.
45648         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
45649         (__acr): Likewise.
45650         (__cpy): Likewise.
45651         (norm): Likewise.
45652         (denorm): Likewise.
45653         (__mp_dbl): Likewise.
45654         (__dbl_mp): Likewise.
45655         (add_magnitudes): Likewise.
45656         (sub_magnitudes): Likewise.
45657         (__add): Likewise.
45658         (__sub): Likewise.
45659         (__mul): Likewise.
45660         (__inv): Likewise.
45661         (__dvd): Likewise.
45663 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
45665         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
45666         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
45667         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
45668         2 && __USE_EXTERN_INLINES]: Likewise.
45670 2013-01-08  Andreas Jaeger  <aj@suse.de>
45672         [BZ# 14985]
45673         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
45674         Remove.
45675         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
45676         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
45678 2013-01-07  Anton Blanchard  <anton@samba.org>
45680         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
45681         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
45682         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
45683         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
45684         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
45685         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45686         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
45687         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
45688         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
45689         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45690         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45691         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45692         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45693         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45694         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
45695         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45696         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45697         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45698         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
45699         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
45700         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
45701         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
45702         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45703         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
45704         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
45705         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
45706         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45707         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
45708         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
45709         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45710         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
45711         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45712         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45713         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
45714         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
45715         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45716         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45717         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
45718         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
45719         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
45720         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
45721         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45722         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
45724 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
45726         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
45727         (__MALLOC_PMT): Likewise.
45728         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
45729         [__GNUC__], only on [_LIBC].
45730         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
45731         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
45732         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
45733         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
45734         forward declaration.
45735         (realloc_hook_ini): Likewise.
45736         (memalign_hook_ini): Likewise.
45737         (__libc_memalign): Do not use __MALLOC_PMT in variable
45738         declaration.
45739         (__libc_valloc): Likewise.
45740         (__libc_pvalloc): Likewise.
45741         (__libc_calloc): Likewise.
45742         (__posix_memalign): Likewise.
45744         [BZ #14996]
45745         * math/s_casinh.c: Include <float.h>.
45746         (__casinh): Do not do computation with squaring and square root
45747         for large arguments.
45748         * math/s_casinhf.c: Include <float.h>.
45749         (__casinhf): Do not do computation with squaring and square root
45750         for large arguments.
45751         * math/s_casinhl.c: Include <float.h>.
45752         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
45753         (__casinhl): Do not do computation with squaring and square root
45754         for large arguments.
45755         * math/libm-test.inc (casin_test): Add more tests.
45756         (casinh_test): Likewise.
45757         * sysdeps/i386/fpu/libm-test-ulps: Update.
45758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45760 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
45762         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
45763         (__x86_64_raw_data_cache_size): Likewise.
45764         (__x86_64_data_cache_size_half): Likewise.
45765         (__x86_64_raw_data_cache_size_half): Likewise.
45766         (__x86_64_shared_cache_size): Likewise.
45767         (__x86_64_raw_shared_cache_size): Likewise.
45768         (__x86_64_shared_cache_size_half): Likewise.
45769         (__x86_64_raw_shared_cache_size_half): Likewise.
45770         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
45771         to ...
45772         (__x86_data_cache_size): This.
45773         (__x86_64_raw_data_cache_size): Renamed to ...
45774         (__x86_raw_data_cache_size): This.
45775         (__x86_64_data_cache_size_half): Renamed to ...
45776         (__x86_data_cache_size_half): This.
45777         (__x86_64_raw_data_cache_size_half): Renamed to ...
45778         (__x86_raw_data_cache_size_half): This.
45779         (__x86_64_shared_cache_size): Renamed to ...
45780         (__x86_shared_cache_size): This.
45781         (__x86_64_raw_shared_cache_size): Renamed to ...
45782         (__x86_raw_shared_cache_size): This.
45783         (__x86_64_shared_cache_size_half): Renamed to ...
45784         (__x86_shared_cache_size_half): This.
45785         (__x86_64_raw_shared_cache_size_half): Renamed to ...
45786         (__x86_raw_shared_cache_size_half): This.
45787         * sysdeps/x86_64/memcpy.S: Updated.
45788         * sysdeps/x86_64/memset.S: Likewise.
45789         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
45790         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45791         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45793 2013-01-04  David S. Miller  <davem@davemloft.net>
45795         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45797 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
45799         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
45800         1 to avoid redefinition warning.
45801         (__USE_GNU): Don't define.
45802         (init_signaling_nan): Protoize.
45804         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45806 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45808         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
45809         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
45810         (__cpymn): Likewise.
45811         (norm): Remove commented code.
45812         (denorm): Likewise.
45813         (__mp_dbl): Likewise.
45814         (__inv): Likewise.
45815         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
45816         (__cpymn): Likewise.
45817         (norm): Remove commented code.
45818         (denorm): Likewise.
45819         (__mp_dbl): Likewise.
45820         (__inv): Likewise.
45822         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
45823         mp_no value for 1.0 and 2.0.
45824         (norm): Use RADIXI instead of radixi.d.
45825         (denorm): Likewise.
45826         (__mul): Use 0.0 instead of zero.d.
45827         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
45828         mp_no value for 1.0 and 2.0.
45829         (norm): Use RADIXI instead of radixi.d.
45830         (denorm): Likewise.
45831         (__mul): Use 0.0 instead of zero.d.
45833 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
45835         [BZ #14994]
45836         * math/s_casinh.c (__casinh): Reduce finite argument to first
45837         quadrant then set signs of results at the end.
45838         * math/s_casinhf.c (__casinhf): Likewise.
45839         * math/s_casinhl.c (__casinhl): Likewise.
45840         * math/libm-test.inc (casin_test): Add more tests.
45841         (casinh_test): Likewise.
45842         * sysdeps/i386/fpu/libm-test-ulps: Update.
45843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45845 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45847         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
45849         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
45851         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
45852         declarations.
45853         (denorm): Likewise.
45854         (__mp_dbl): Likewise.
45855         (__inv): Likewise.
45857         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
45858         and adjust the header comment.
45860         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
45861         variable name from declaration.
45863 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
45865         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45866         Initialize COMMON_CPUID_INDEX_7 element.
45867         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
45868         (CPUID_RTM): Likewise.
45869         (HAS_RTM): Likewise.
45870         (COMMON_CPUID_INDEX_7): New enum.
45872 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
45874         [BZ #14981]
45875         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
45876         size is zero, record memory as freed.
45878 2013-01-03  Andreas Jaeger  <aj@suse.de>
45880         * po/ia.po: Add new Interlingua translation.
45882 2012-01-03  Allan McRae  <allan@archlinux.org>
45884         * locale/programs/localedef.c: Fix description of '--posix' flag.
45886 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
45888         * NEWS: Update dates in second copyright notice.
45889         * README: Update copyright dates in example.
45890         * manual/libc.texinfo: Update copyright dates.
45891         * scripts/test-installation.pl: Update copyright date in --version
45892         output.
45894         * hurd/ctty-input.c: Fix copyright notice formatting.
45895         * hurd/ctty-output.c: Likewise.
45896         * hurd/dtable.c: Likewise.
45897         * hurd/hurd-raise.c: Likewise.
45898         * hurd/hurdprio.c: Likewise.
45899         * hurd/msgportdemux.c: Likewise.
45900         * misc/sys/file.h: Likewise.
45901         * misc/sys/ioctl.h: Likewise.
45902         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
45903         * sysdeps/mach/hurd/chdir.c: Likewise.
45904         * sysdeps/mach/hurd/fchdir.c: Likewise.
45905         * sysdeps/mach/hurd/rename.c: Likewise.
45906         * sysdeps/mach/hurd/rmdir.c: Likewise.
45907         * sysdeps/mach/hurd/seekdir.c: Likewise.
45908         * sysdeps/mach/hurd/setsid.c: Likewise.
45909         * sysdeps/posix/wait3.c: Likewise.
45911         * All files with FSF copyright notices: Update copyright dates
45912         using scripts/update-copyrights.
45913         * intl/plural.c: Regenerated.
45914         * locale/programs/charmap-kw.h: Likewise.
45915         * locale/programs/locfile-kw.h: Likewise.
45917 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45919         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
45920         four values.
45922         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
45923         calculation loop and add branch prediction.
45925         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
45926         check access beyond bounds of m1np.
45928         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
45929         MPTWO.
45930         (__inv): Remove local variable MPTWO to use the global
45931         constant.
45932         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
45933         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
45934         variable MPTWO.
45935         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
45936         MP3HALFS static const.
45938 2013-01-01  David S. Miller  <davem@davemloft.net>
45940         * po/ca.po: Update from translation team.
45942 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
45944         * scripts/update-copyrights: New file.
45945         * Makeconfig: Reformat copyright notice.
45946         * ctype/ctype.h: Likewise.
45947         * debug/swprintf_chk.c: Likewise.
45948         * elf/dl-cache.c: Likewise.
45949         * elf/dl-debug.c: Likewise.
45950         * elf/dl-object.c: Likewise.
45951         * grp/initgroups.c: Likewise.
45952         * hurd/Makefile: Likewise.
45953         * hurd/hurd/signal.h: Likewise.
45954         * hurd/hurdfault.c: Likewise.
45955         * hurd/hurdioctl.c: Likewise.
45956         * hurd/hurdlookup.c: Likewise.
45957         * hurd/intr-msg.c: Likewise.
45958         * iconv/gconv_open.c: Likewise.
45959         * libio/swprintf.c: Likewise.
45960         * locale/lc-ctype.c: Likewise.
45961         * locale/nl_langinfo.c: Likewise.
45962         * mach/Machrules: Likewise.
45963         * mach/Makefile: Likewise.
45964         * malloc/obstack.h: Likewise.
45965         * manual/Makefile: Likewise.
45966         * manual/tsort.awk: Likewise.
45967         * misc/bits/stab.def: Likewise.
45968         * nis/nis_print_group_entry.c: Likewise.
45969         * nis/nis_table.c: Likewise.
45970         * nis/nss_compat/compat-pwd.c: Likewise.
45971         * nis/nss_compat/compat-spwd.c: Likewise.
45972         * po/Makefile: Likewise.
45973         * posix/fnmatch.c: Likewise.
45974         * posix/regex.h: Likewise.
45975         * resolv/Makefile: Likewise.
45976         * resolv/nss_dns/dns-network.c: Likewise.
45977         * resolv/res_hconf.c: Likewise.
45978         * scripts/gen-sorted.awk: Likewise.
45979         * soft-fp/soft-fp.h: Likewise.
45980         * stdio-common/printf.h: Likewise.
45981         * stdlib/monetary.h: Likewise.
45982         * stdlib/random.c: Likewise.
45983         * stdlib/random_r.c: Likewise.
45984         * sysdeps/generic/Makefile: Likewise.
45985         * sysdeps/gnu/Makefile: Likewise.
45986         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45987         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45988         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45989         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45990         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45991         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45992         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45993         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45994         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45995         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45996         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45997         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45998         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
45999         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46000         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
46001         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46002         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46003         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46004         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46005         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46006         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46007         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46008         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46009         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
46010         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
46011         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
46012         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
46013         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
46014         * sysdeps/mach/hurd/errnos.awk: Likewise.
46015         * sysdeps/mach/hurd/fork.c: Likewise.
46016         * sysdeps/mach/hurd/getcwd.c: Likewise.
46017         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
46018         * sysdeps/mach/hurd/mmap.c: Likewise.
46019         * sysdeps/mach/hurd/utimes.c: Likewise.
46020         * sysdeps/mach/hurd/xmknod.c: Likewise.
46021         * sysdeps/posix/profil.c: Likewise.
46022         * sysdeps/posix/readdir_r.c: Likewise.
46023         * sysdeps/powerpc/bits/mathdef.h: Likewise.
46024         * sysdeps/powerpc/bits/setjmp.h: Likewise.
46025         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
46026         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
46027         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
46028         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46029         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46030         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46031         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46032         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46033         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46034         * sysdeps/pthread/lio_listio.c: Likewise.
46035         * sysdeps/sparc/dl-procinfo.h: Likewise.
46036         * sysdeps/unix/i386/sysdep.S: Likewise.
46037         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
46038         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
46039         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
46040         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
46041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46042         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
46043         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
46044         * sysdeps/unix/sysv/linux/speed.c: Likewise.
46045         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
46046         * sysdeps/wordsize-32/divdi3.c: Likewise.
46047         * time/sys/time.h: Likewise.
46048         * wcsmbs/Makefile: Likewise.
46050 2013-01-01  David S. Miller  <davem@davemloft.net>
46052         * po/fr.po: Update from translation team.
46054         * catgets/gencat.c: Update copyright year.
46055         * csu/version.c: Likewise.
46056         * debug/catchsegv.sh: Likewise.
46057         * debug/pcprofiledump.c: Likewise.
46058         * debug/xtrace.sh: Likewise.
46059         * elf/ldconfig.c: Likewise.
46060         * elf/ldd.bash.in: Likewise.
46061         * elf/pldd.c: Likewise.
46062         * elf/sotruss.ksh: Likewise.
46063         * elf/sprof.c: Likewise.
46064         * iconv/iconv_prog.c: Likewise.
46065         * iconv/iconvconfig.c: Likewise.
46066         * locale/programs/locale.c: Likewise.
46067         * locale/programs/localedef.c: Likewise.
46068         * login/programs/pt_chown.c: Likewise.
46069         * malloc/memusage.sh: Likewise.
46070         * malloc/memusagestat.c: Likewise.
46071         * malloc/mtrace.pl: Likewise.
46072         * nscd/nscd.c: Likewise.
46073         * nss/getent.c: Likewise.
46074         * nss/makedb.c: Likewise.
46075         * posix/getconf.c: Likewise.
46077 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
46079         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
46080         numbers.
46082 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
46084         * math/bits/mathcalls.h (modf): Use __nonnull.
46086 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46088         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
46089         (split): Use macro CN instead of the bare value.
46090         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
46091         could be used.
46092         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
46093         instead of the bare value.
46094         (power1): Likewise.
46096 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46098         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
46099         __ATAN_TWOM.
46100         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46102         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
46103         their values.
46104         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
46105         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
46106         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
46107         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
46109 2012-12-28  Andreas Jaeger  <aj@suse.de>
46111         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
46112         values are from Linux 3.7.
46114         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
46115         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
46117 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46119         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
46120         TRUE case.
46122         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
46123         (norm): Likewise.
46124         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
46125         variables with preprocessor constants.
46126         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46127         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46128         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46130 2012-12-27  Bruno Haible  <bruno@clisp.org>
46132         [BZ #14317]
46133         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
46134         only if needed.
46136 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46138         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
46139         and use variable directly.
46140         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
46142         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
46143         MPONE.
46144         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
46145         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
46146         variable MPONE.
46147         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
46148         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
46149         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
46150         include directive.  Remove local variable MPONE.
46151         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
46152         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
46153         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46155 2012-12-25  David S. Miller  <davem@davemloft.net>
46157         * version.h (RELEASE): Set to "development".
46158         (VERSION): Set to "2.17.90".
46159         * NEWS: Add 2.18 section.
46161 2012-12-21  David S. Miller  <davem@davemloft.net>
46163         * po/hr.po: Update from translation team.
46165 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46167         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
46169 2012-12-19  Steve Ellcey  <sellcey@mips.com>
46171         * NEWS:  Mention new memcpy for MIPS.
46173 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46175         * manual/contrib.texi (Contributors): Spelling correction.
46177 2012-12-15  David S. Miller  <davem@davemloft.net>
46179         * po/ru.po: Update from translation team.
46181 2012-12-13  David S. Miller  <davem@davemloft.net>
46183         * NEWS: Mention IFUNC testsuite enhancements.
46185         * po/pl.po: Update from translation team.
46186         * po/bg.po: Likewise.
46188         * manual/contrib.texi (Contributors): Update entries for Hongjiu
46189         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
46191 2012-12-11  David S. Miller  <davem@davemloft.net>
46193         * po/sv.po: Update from translation team.
46195         * po/vi.po: Update from translation team.
46197         * po/cs.po: Update from translation team.
46199         * po/de.po: Update from translation team.
46200         * po/eo.po: Likewise.
46201         * po/nl.po: Likewise.
46203 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46205         [BZ #14246]
46206         * manual/argp.texi (Argp Helper Functions): Move node to follow
46207         Argp Parsing State.
46209         [BZ #14872]
46210         * manual/conf.texi (Limits on File System Capacity): Mention if
46211         terminating null is included in the max size.
46213 2012-12-10  Andreas Jaeger  <aj@suse.de>
46215         * po/cs.po: Update from translation team.
46217 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46219         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
46220         void pointer and cast to uintptr_t.
46221         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
46222         path.
46223         * sysdeps/s390/s390-64/memcpy.S: Likewise.
46224         * sysdeps/s390/s390-64/memset.S: Likewise.
46226 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
46228         [BZ #14833]
46229         * menual/message.texi (Message Translation): Fix typos.
46230         (Helper programs for gettext): Likewise.
46232 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
46234         [BZ #14898]
46235         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
46236         Change to -1.
46238 2012-12-07  David S. Miller  <davem@davemloft.net>
46240         * po/libc.pot: Update.
46242 2012-12-07  Richard Henderson  <rth@redhat.com>
46244         [BZ #10114]
46245         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
46246         normal/normal case to before the switch.
46247         (_FP_DIV): Likewise.
46249 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
46250             Mike Frysinger  <vapier@gentoo.org>
46252         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
46253         check for __NR_fadvise64_64.
46255 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
46257         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
46258         0, not just to plain "0" as a statement.
46259         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
46260         with cw.
46262 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
46264         * NEWS: Use sourceware.org in Bugzilla URL.
46266 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
46268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
46269         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
46271         * stdio-common/tst-put-error.c (do_test): Add newline to the
46272         padded test to ensure flush.
46274 2012-12-05  Jeff Law  <law@redhat.com>
46276         * sunrpc/etc.rpc (fedfs_admin): Add entry.
46278 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
46280         * README: Don't refer to ports add-on as distributed separately.
46281         Mention AArch64 in list of systems supported in the ports add-on.
46283         * LICENSES: Add more non-FSF copyright and license notices.
46285         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
46286         ((unused)).
46288         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
46290         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
46291         10000 as width of padded output.
46293 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
46295         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
46297         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
46298         variable LX with __attribute__ ((unused)).
46299         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
46300         Likewise.
46301         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
46302         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46303         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
46304         with __attribute__ ((unused)).
46306 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
46308         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
46310 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
46312         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
46313         (CFLAGS-nldbl-acos.c): New variable.
46314         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
46315         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
46316         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
46317         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
46318         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
46319         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
46320         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
46321         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
46322         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
46323         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
46324         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
46325         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
46326         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
46327         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
46328         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
46329         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
46330         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
46331         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
46332         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
46333         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
46334         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
46335         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
46336         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
46337         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
46338         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
46339         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
46340         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
46341         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
46342         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
46343         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
46344         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
46345         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
46346         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
46347         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
46348         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
46349         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
46350         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
46351         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
46352         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
46353         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
46354         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
46355         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
46356         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
46357         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
46358         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
46359         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
46360         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
46361         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
46362         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
46363         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
46364         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
46365         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
46366         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
46367         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
46368         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
46369         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
46370         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
46371         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
46372         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
46373         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
46374         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
46375         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
46376         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
46377         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
46378         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
46379         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
46380         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
46381         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
46382         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
46383         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
46384         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
46385         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
46386         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
46387         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
46388         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
46389         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
46390         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
46391         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
46392         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
46393         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
46394         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
46395         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
46396         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
46397         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
46398         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
46399         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
46400         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
46401         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
46402         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
46403         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
46404         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
46405         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
46406         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
46407         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
46408         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
46409         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
46410         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
46412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
46413         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
46415         [BZ #14914]
46416         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
46417         whole low double instead of just low 47 bits when splitting values
46418         into two parts.
46420 2012-12-03  Allan McRae  <allan@archlinux.org>
46422         * manual/stdio.texi (Predefined Printf Handlers): Remove
46423         @hsep and @vsep usage.
46425 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
46427         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
46428         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
46430 2012-12-03  Jeff Law  <law@redhat.com>
46432         * time/sys/time.h (settimeofday): Do not mark TV argument
46433         as __nonnull.
46435 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
46437         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
46438         when currently writing and seek to current position when not.
46439         * libio/Makefile (tests): Remove bug-fclose1.
46440         * libio/bug-fclose1.c: Delete.
46442 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
46444         * manual/arith.texi (feenableexcept): Fix typo.
46445         (fedisableexcept): Likewise.
46447 2012-11-30  Roland McGrath  <roland@hack.frob.com>
46449         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
46450         second, differently-typed declaration, rather than a cast.
46452 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46454         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
46455         * include/rpc/svc.h: ... here.
46457 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
46459         [BZ #13013]
46460         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
46461         depending n and resplen2 to catch cases where answer
46462         equals answerp2.
46464 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
46466         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
46467         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
46469 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
46471         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
46473 2012-11-29  Roland McGrath  <roland@hack.frob.com>
46475         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
46477 2012-11-28  Jeff Law  <law@redhat.com>
46479         [BZ #13761]
46480         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
46481         dataset_temporary.  Track alloca usage into alloca_used.
46482         If dataset is large allocate and release it via malloc/free.
46484 2012-06-04  Florian Weimer  <fweimer@redhat.com>
46486         [BZ #14197]
46487         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
46489 2012-11-28  David S. Miller  <davem@davemloft.net>
46491         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46493 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
46495         [BZ #14803]
46496         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
46497         of pi/2 rounded to nearest to 64 bits.
46498         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
46499         nearest to 64 bits.
46500         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
46501         bits.
46503 2012-11-28  Jeff Law <law@redhat.com>
46504             Martin Osvald <mosvald@redhat.com>
46506         [BZ #14889]
46507         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
46508         * sunrpc/svc.c: Include time.h.
46509         (__svc_accept_failed): New function.
46510         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
46511         any reason other than EINTR, call __svc_accept_failed.
46512         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
46513         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
46515 2012-11-28  Andreas Schwab  <schwab@suse.de>
46517         * scripts/abilist.awk: Also handle indirect functions in .opd
46518         section.
46520 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
46522         [BZ #13881]
46523         * sysdeps/x86/fpu/powl_helper.c: New file.
46524         * sysdeps/x86/fpu/Makefile: Likewise.
46525         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
46526         (p3): New object.
46527         (__ieee754_powl): Use __powl_helper for finite arguments except
46528         integer exponents below 8.
46529         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
46530         (p3): New object.
46531         (__ieee754_powl): Use __powl_helper for finite arguments except
46532         integer exponents below 8.
46533         * math/libm-test.inc (pow_test): Add more tests and enable some
46534         previously disabled tests.
46535         * sysdeps/i386/fpu/libm-test-ulps: Update.
46536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46538 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46539             Carlos O'Donell  <carlos_odonell@mentor.com>
46541         * nss/makedb.c (is_prime): Assert that input is odd and greater
46542         than 4.  Note that fact in a comment too.
46543         (next_prime): Add 4 to input.
46545 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46547         [BZ #11741]
46548         * libio/Makefile (tests): Add test case tst-fwrite-error.
46549         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
46550         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
46551         * libio/tst-fwrite-error.c: New test case.
46553 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
46555         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
46556         before casting to void *.
46557         * include/libc-internal.h (__pointer_type): New macro.
46558         (__integer_if_pointer_type_sub): Likewise.
46559         (__integer_if_pointer_type): Likewise.
46560         (cast_to_integer): Likewise.
46561         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
46562         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
46563         before casting to atomic64_t.
46564         (atomic_exchange_acq): Likewise.
46565         (__arch_exchange_and_add_body): Likewise.
46566         (__arch_add_body): Likewise.
46567         (atomic_add_negative): Likewise.
46568         (atomic_add_zero): Likewise.
46570 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
46572         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
46573         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
46574         (add_fdes): Likewise.
46575         (linear_search_fdes): Likewise.
46576         (binary_search_unencoded_fdes): Likewise.
46578 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
46580         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
46582 2012-11-24  Adam Conrad  <adconrad@0c3.net>
46584         * configure.in: Autodetect C++ header directories.
46585         * configure: Regenerated.
46587 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
46589         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
46591 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
46593         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46595 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
46597         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
46598         LDBL_MANT_DIG == 106]: Disable some tests.
46599         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
46600         Likewise.
46601         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
46602         Likewise.
46604         [BZ #14871]
46605         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
46606         input for small inputs.  Return +/- pi/2 for large inputs.
46607         * math/libm-test.inc (atan_test): Add more tests.
46609         * sysdeps/generic/unwind-dw2-fde-glibc.c
46610         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
46611         __attribute__ ((unused)).
46613         [BZ #14645]
46614         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
46615         x * y if x and y are nonzero and z is zero.
46617         [BZ #14811]
46618         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
46619         nonzero exponents with absolute value below 0x1p-117 to +/-
46620         0x1p-117.
46622         [BZ #14869]
46623         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
46624         up arguments below 2**-450, not just those below 2**-500.
46625         * math/libm-test.inc (hypot_test): Add another test.
46627         [BZ #14868]
46628         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
46629         Return a+b for ratio over 2**120, not 2**60.
46630         * math/libm-test.inc (hypot_test): Add another test.
46632         * math/libm-test.inc (clog_test): Use
46633         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
46634         (clog10_test): Likewise.
46636         [BZ #6778]
46637         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
46639 2012-11-22  Andreas Schwab  <schwab@suse.de>
46641         * sysdeps/i386/fpu/libm-test-ulps: Update.
46643 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
46645         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
46646         printf output with newline.
46648 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
46650         [BZ #14865]
46651         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
46652         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
46653         -z nodlopen, -z initfirst and -z execstack support.
46654         * configure: Regenerated.
46656         * elf/elf.h (DF_1_NODIRECT): New macro.
46657         (DF_1_IGNMULDEF): Likewise.
46658         (DF_1_NOKSYMS): Likewise.
46659         (DF_1_NOHDR): Likewise.
46660         (DF_1_EDITED): Likewise.
46661         (DF_1_NORELOC): Likewise.
46662         (DF_1_SYMINTPOSE): Likewise.
46663         (DF_1_GLOBAUDIT): Likewise.
46664         (DF_1_SINGLETON): Likewise.
46665         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
46666         DT_1_SUPPORTED_MASK bits.
46667         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
46669 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
46671         * sysdeps/unix/make-syscalls.sh: Document prefixes.
46673 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
46675         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
46676         macro.
46678         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
46679         (sendmmsg): Move declarations...
46680         * socket/sys/socket.h: ... here.
46681         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
46682         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
46683         include it from...
46684         * socket/recvmmsg.c: ... this new file.
46685         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
46686         (sendmmsg): Rename to __sendmmsg, create weak alias and make
46687         definition of __sendmmsg hidden.
46688         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
46689         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
46690         Move ENOSYS stub into and include it from...
46691         * socket/sendmmsg.c: ... this new file.
46692         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
46693         (sysdep_routines): Move recvmmsg and sendmmsg...
46694         * socket/Makefile (routines): ... here.
46695         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
46696         (GLIBC_PRIVATE): Add __sendmmsg.
46697         * include/sys/socket.h (__sendmmsg): Add declarations.
46698         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
46699         sendmmsg.
46701 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
46703         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
46704         variable I1 with __attribute__ ((unused)).
46705         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46707 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
46709         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
46710         DUMMY variables with __attribute__ ((unused)).
46712         * bits/byteswap.h: Include <bits/types.h>.
46713         (__bswap_64): Use __uint64_t instead of unsigned long long int.
46715 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
46717         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
46718         string_t.  Do not manually set errno.
46719         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
46720         length with __strnlen.  Make sure to both set errno and return it on
46721         failure.
46723 2012-11-19  David S. Miller  <davem@davemloft.net>
46725         With help from Joseph Myers.
46726         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
46727         very large arguments properly.
46728         * math/libm-test.inc (atan_test): New tests.
46729         (atan2_test): New tests.
46730         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46731         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46733 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
46735         [BZ #14856]
46736         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
46737         Define to 3.
46739         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
46740         [POSIX] (EADDRNOTAVAIL): Likewise.
46741         [POSIX] (EAFNOSUPPORT): Likewise.
46742         [POSIX] (EALREADY): Likewise.
46743         [POSIX] (ECONNABORTED): Likewise.
46744         [POSIX] (ECONNREFUSED): Likewise.
46745         [POSIX] (ECONNRESET): Likewise.
46746         [POSIX] (EDESTADDRREQ): Likewise.
46747         [POSIX] (EDQUOT): Likewise.
46748         [POSIX] (EHOSTUNREACH): Likewise.
46749         [POSIX] (EIDRM): Likewise.
46750         [POSIX] (EISCONN): Likewise.
46751         [POSIX] (ELOOP): Likewise.
46752         [POSIX] (EMULTIHOP): Likewise.
46753         [POSIX] (ENETDOWN): Likewise.
46754         [POSIX] (ENETUNREACH): Likewise.
46755         [POSIX] (ENOBUFS): Likewise.
46756         [POSIX] (ENODATA): Likewise.
46757         [POSIX] (ENOLINK): Likewise.
46758         [POSIX] (ENOMSG): Likewise.
46759         [POSIX] (ENOPROTOOPT): Likewise.
46760         [POSIX] (ENOSR): Likewise.
46761         [POSIX] (ENOSTR): Likewise.
46762         [POSIX] (ENOTCONN): Likewise.
46763         [POSIX] (ENOTSOCK): Likewise.
46764         [POSIX] (EOPNOTSUPP): Likewise.
46765         [POSIX] (EOVERFLOW): Likewise.
46766         [POSIX] (EPROTO): Likewise.
46767         [POSIX] (EPROTONOSUPPORT): Likewise.
46768         [POSIX] (EPROTOTYPE): Likewise.
46769         [POSIX] (ESTALE): Likewise.
46770         [POSIX] (ETIME): Likewise.
46771         [POSIX] (ETXTBSY): Likewise.
46772         [POSIX] (EWOULDBLOCK): Likewise.
46773         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
46774         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
46775         [POSIX] (SEEK_CUR): Likewise.
46776         [POSIX] (SEEK_END): Likewise.
46777         [POSIX || UNIX98] (mode_t): Do not require.
46778         [POSIX] (off_t): Likewise.
46779         [POSIX] (pid_t): Likewise.
46780         [POSIX] (sys/stat.h): Do not allow header.
46781         [POSIX] (unistd.h): Likewise.
46782         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
46783         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
46784         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
46785         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
46786         require.
46787         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
46788         sigevent): Specify elements.
46789         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
46790         entry.
46791         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
46792         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
46794         * conform/data/cpio.h-data [POSIX]: Disable whole file.
46795         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
46796         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
46797         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
46798         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
46799         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
46800         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
46801         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
46802         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
46803         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
46804         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
46805         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
46806         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
46807         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
46808         Likewise.
46809         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
46810         Likewise.
46811         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
46812         Likewise.
46813         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
46814         Likewise.
46815         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
46816         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
46817         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
46818         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
46819         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
46820         Specify lower bound on value.
46821         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
46822         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
46823         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
46824         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
46825         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
46826         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
46827         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
46828         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
46829         value.
46830         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
46831         as optional.
46832         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
46833         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
46834         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
46835         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
46836         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
46837         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
46838         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
46839         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
46840         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
46841         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
46842         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
46843         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
46844         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
46845         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
46846         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
46847         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
46848         entry.
46849         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
46850         optional.
46851         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
46852         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
46853         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
46854         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
46855         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
46856         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
46857         Likewise.
46858         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
46859         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
46860         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
46861         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
46862         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
46863         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
46864         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
46865         as optional.
46866         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
46867         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
46868         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
46869         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
46870         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
46871         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
46872         specify as optional.
46873         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
46874         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
46875         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
46876         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
46877         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
46878         [XPG3] (NL_LANGMAX): Likewise.
46879         [POSIX || XPG3] (NL_MSGMAX): Likewise.
46880         [POSIX || XPG3] (NL_NMAX): Likewise.
46881         [POSIX || XPG3] (NL_SETMAX): Likewise.
46882         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
46883         [XPG3] (NZERO): Likewise.
46884         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
46885         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
46886         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
46887         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
46888         (REG_ERANGE): Expect.
46889         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
46890         optional-constant.
46891         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
46892         Use (void) in prototype.
46893         [POSIX] (*_t): Allow.
46894         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
46895         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
46896         (WRDE_BADVAL): Expect.
46898         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
46899         expect.
46900         [XPG3 || XPG4] (O_RSYNC): Likewise.
46901         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
46902         Likewise.
46903         [XPG3 || XPG4] (pthread_sigmask): Likewise.
46904         [XPG3 || XPG4] (sigqueue): Likewise.
46905         [XPG3 || XPG4] (sigtimedwait): Likewise.
46906         [XPG3 || XPG4] (sigwaitinfo): Likewise.
46907         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
46908         [XPG3 || XPG4] (vsnprintf): Likewise.
46909         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
46910         Likewise.
46911         [XPG3 || XPG4] (blksize_t): Likewise.
46912         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
46913         Likewise.
46914         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
46915         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
46916         [XPG3 || XPG4] (struct itimerspec): Likewise.
46917         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
46918         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
46919         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
46920         [XPG3 || XPG4] (clockid_t): Likewise.
46921         [XPG3 || XPG4] (timer_t): Likewise.
46922         [XPG3 || XPG4] (clock_getres): Likewise.
46923         [XPG3 || XPG4] (clock_gettime): Likewise.
46924         [XPG3 || XPG4] (clock_settime): Likewise.
46925         [XPG3 || XPG4] (nanosleep): Likewise.
46926         [XPG3 || XPG4] (timer_create): Likewise.
46927         [XPG3 || XPG4] (timer_delete): Likewise.
46928         [XPG3 || XPG4] (timer_gettime): Likewise.
46929         [XPG3 || XPG4] (timer_getoverrun): Likewise.
46930         [XPG3 || XPG4] (timer_settime): Likewise.
46931         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
46932         [XPG3 || XPG4] (getlogin_r): Likewise.
46933         [XPG3 || XPG4] (pread): Likewise.
46934         [XPG3 || XPG4] (pthread_atfork): Likewise.
46935         [XPG3 || XPG4] (pwrite): Likewise.
46937         [BZ #14835]
46938         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
46939         <bits/siginfo.h>.
46941 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
46943         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
46944         finalizing MALLSTREAM.
46946         * sysdeps/mach/hurd/syncfs.c: New file.
46948 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46950         [BZ #14719]
46951         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
46952         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
46953         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
46954         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
46955         (_nss_dns_gethostbyname4_r): Likewise.
46956         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
46957         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
46959 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
46961         [BZ #13763]
46962         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
46964 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
46966         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
46967         * elf/cache.c (print_entry): Print ",AArch64" for
46968         FLAG_AARCH64_LIB64
46970         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
46971         * elf/cache.c (print_entry): Print ",hard-float" for
46972         FLAG_ARM_LIBHF.
46974 2012-11-18  David S. Miller  <davem@davemloft.net>
46976         With help from Joseph Myers.
46977         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
46978         cutoff to 2**-13.
46979         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
46980         cutoff to 2**-25.
46981         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
46982         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
46983         small.
46984         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
46985         * math/libm-test.inc (y0_test): New tests.
46986         (y1_test): New tests.
46987         * sysdeps/i386/fpu/libm-test-ulps: Update.
46988         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46989         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46991 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
46993         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
46994         64-bit targets.
46995         * configure: Regenerated.
46997 2012-11-17  David S. Miller  <davem@davemloft.net>
46999         [BZ #14811]
47000         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
47001         nonzero exponents with absolute value below 0x1p-128 to +/-
47002         0x1p-128.
47004 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
47006         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
47008         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
47010         * posix/getconf-speclist.c: New file.
47011         * posix/posix-envs.def: Likewise.
47012         * posix/confstr.c (START_ENV_GROUP): New macro.
47013         (END_ENV_GROUP): Likewise.
47014         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
47015         (KNOWN_PRESENT_ENV_STRING): Likewise.
47016         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
47017         (UNKNOWN_ENVIRONMENT): Likewise.
47018         (confstr): Include posix-envs.def instead of handling
47019         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
47020         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
47021         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
47022         (END_ENV_GROUP): Likewise.
47023         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
47024         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
47025         (UNKNOWN_ENVIRONMENT): Likewise.
47026         (__sysconf): Include posix-envs.def instead of handling associated
47027         cases directly here.
47028         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
47029         preprocessing getconf-speclist.c rather than running getconf or
47030         generating empty file.
47032 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
47034         * scripts/check-local-headers.sh: Ignore 'mach' headers.
47036 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
47038         [BZ #14672]
47039         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
47041 2012-11-16  David S. Miller  <davem@davemloft.net>
47043         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
47044         smaller than LDBL_EPSILON/2.0L, just return xm1.
47046 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
47048         * elf/tst-array1.c (init): Set constructor priority to 1000.
47049         (fini): Set destructor priority to 1000.
47050         * elf/tst-array2dep.c: Likewise.
47052 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47054         [BZ #11741]
47055         * libio/fileops.c (_IO_new_file_write): Correctly return error.
47056         (_IO_new_file_xsputn): Also return EOF if none of the input
47057         data was written when overflow failed.
47058         * libio/iopadn.c (_IO_padn): Likewise.
47059         * libio/iowpadn.c (_IO_wpadn): Likewise.
47060         * stdio-common/tst-put-error.c: Add copyright notice.
47061         (do_test): Add case for printing padded string.
47062         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
47063         _IO_padn returned error.
47064         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
47065         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
47066         return EOF.
47068 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47070         * libio/libioP.h: Add comment note that the references to C++
47071         bits are now obsolete.
47073 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47075         * math/libm-test.inc (check_complex): Use asprintf.
47077 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
47079         * debug/pcprofiledump.c (print_version): Update copyright year.
47080         * malloc/memusagestat.c (print_version): Likewise.
47082 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
47084         [BZ #14831]
47085         * elf/Makefile (tests): Add tst-audit8.
47086         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
47087         ($(objpfx)tst-audit8.out): New target.
47088         (tst-audit8-ENV): New variable.
47089         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
47090         audit if l_reloc_result is NULL.
47091         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
47092         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
47093         * elf/tst-audit8.c: New file.
47095 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47097         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
47098         * misc/Makefile (CFLAGS-select.c): Define.
47099         * posix/Makefile (CFLAGS-pause.c): Define.
47101 2012-11-13  David S. Miller  <davem@davemloft.net>
47103         * crypt/Makefile: Move test targets after toplevel Rules
47104         inclusion.  Grab any necessary sysdep routines when linking.
47105         * crypt/md5.c (md5_process_block): Remove define, we will always
47106         name it __md5_process_block.
47107         (md5_finish_ctx): Update md5_process_block call.
47108         (md5_stream): Likewise.
47109         (md5_process_bytes): Likewise.
47110         (md5_process_block): Rename to __md5_process_block and move to ...
47111         * crypt/md5-block.c: ... here.
47112         * crypt/sha256.c (sha256_process_block): Move to ...
47113         * crypt/sha256-block.c: ... here.
47114         * crypt/sha512.c (sha512_process_block): Move to ...
47115         * crypt/sha512-block.c: ... here.
47116         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
47117         path.
47118         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
47119         * sysdeps/sparc/sparc64/multiarch/Makefile
47120         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
47121         crypt subdir.
47122         (localedef-aux): Add md5 crypto assembler when in locale subdir.
47123         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
47124         multiarch changes.
47125         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
47126         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
47127         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
47128         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
47129         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
47130         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
47131         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
47132         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
47133         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
47134         file.
47135         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
47136         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
47137         file.
47138         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
47140 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
47142         * timezone/tzselect.ksh: Update from tzcode git revision
47143         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
47144         * timezone/zdump.c: Likewise.
47145         * timezone/zic.c: Likewise.
47146         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
47147         in TZVERSION setting, not $(PKGVERSION).
47148         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
47149         REPORT_BUGS_TO settings.
47151         [BZ #14838]
47152         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
47153         macro.
47155 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47157         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
47158         detection to immediately after _FP_ROUND().
47159         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
47160         bits are 0.
47162 2012-11-11  David S. Miller  <davem@davemloft.net>
47164         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
47165         inttypes.h
47166         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
47167         __close rather than their public counterparts.
47169 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
47171         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
47172         file.
47173         [UNIX98] (sem_timedwait): Do not expect.
47174         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
47175         [XPG4 || UNIX98] (sockatmark): Do not expect.
47176         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
47177         (clock_getcpuclockid): Do not expect.
47178         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
47179         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
47180         Do not expect.
47181         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
47182         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
47183         [UNIX98] (vwscanf): Likewise.
47184         [UNIX98] (vswscanf): Likewise.
47186 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
47188         * timezone/version.h: Remove file.
47189         * timezone/README: Do not refer to version.h.
47190         * timezone/Makefile ($(objpfx)zic.o): New dependency on
47191         $(objpfx)version.h.
47192         ($(objpfx)zdump.o): Likewise.
47193         ($(objpfx)version.h): New target.
47195         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
47196         2012i.
47197         * timezone/README: Don't mention modification to tzselect.ksh.
47198         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
47199         work on unmodified tzselect.ksh.  Substitute version numbers in
47200         tzselect.ksh.
47202         * Makefile (format-me): Remove.
47203         (INSTALL): Adjust indentation.  Use commands directly instead of
47204         using $(format-me).
47206         * aclocal.m4 (ACX_PKGVERSION): New macro.
47207         (ACX_BUGURL): Likewise.
47208         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
47209         (PKGVERSION): New AC_DEFINE_UNQUOTED.
47210         (REPORT_BUGS_TO): Likewise.
47211         * configure: Regenerated.
47212         * config.h.in (PKGVERSION): New macro.
47213         (REPORT_BUGS_TO): Likewise.
47214         * config.make.in (PKGVERSION): New variable.
47215         (PKGVERSION_TEXI): Likewise.
47216         (REPORT_BUGS_TO): Likewise.
47217         (REPORT_BUGS_TEXI): Likewise.
47218         * Makefile (format-me): Use -I$(common-objpfx)manual.
47219         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
47220         ($(common-objpfx)manual/%): New target.
47221         (manual/%): Remove target.
47222         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
47223         (print_version): Use PKGVERSION.
47224         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
47225         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
47226         and REPORT_BUGS_TO.
47227         ($(objpfx)xtrace): Likewise.
47228         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
47229         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
47230         (print_version): Use PKGVERSION.
47231         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
47232         (do_version): Use PKGVERSION.
47233         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
47234         REPORT_BUGS_TO.
47235         (common-ldd-rewrite): Likewise.
47236         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
47237         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
47238         (print_version): Use PKGVERSION.
47239         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
47240         * elf/pldd.c (argp_program_bug_address): Remove variable.
47241         (more_help): New function.
47242         (argp): Use more_help.
47243         (print_version): Use PKGVERSION.
47244         * elf/sln.c (main): Use PKGVERSION.
47245         (usage): Use REPORT_BUGS_TO.
47246         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
47247         (top level): Use PKGVERSION.
47248         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
47249         (print_version): Use PKGVERSION.
47250         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
47251         (print_version): Use PKGVERSION.
47252         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
47253         (print_version): Use PKGVERSION.
47254         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
47255         (print_version): Use PKGVERSION.
47256         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
47257         (print_version): Use PKGVERSION.
47258         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
47259         (print_version): Use PKGVERSION.
47260         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
47261         and BUGURL.
47262         ($(objpfx)memusage): Likewise.
47263         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
47264         (do_version): Use PKGVERSION.
47265         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
47266         (print_version): Use PKGVERSION.
47267         * malloc/mtrace.pl ($PACKAGE): Remove variable.
47268         ($PKGVERSION): New variable.
47269         ($REPORT_BUGS_TO): Likewise.
47270         (usage): Use $REPORT_BUGS_TO.
47271         (top level): Use $PKGVERSION.
47272         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
47273         ($(objpfx)pkgvers.texi): New rule.
47274         ($(objpfx)stamp-pkgvers): Likewise.
47275         * manual/install.texi: Include pkgvers.texi.
47276         (--with-pkgversion): Document new configure option.
47277         (--with-bugurl): Likewise.
47278         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
47279         than necessarily for this particular distribution.  Use
47280         REPORT_BUGS_TO for where to report bugs.
47281         * INSTALL: Regenerated.
47282         * manual/libc.texinfo: Include pkgvers.texi.
47283         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
47284         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
47285         (print_version): Use PKGVERSION.
47286         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
47287         (print_version): Use PKGVERSION.
47288         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
47289         (print_version): Use PKGVERSION.
47290         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
47291         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
47292         macro.
47293         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
47294         (print_version): Use PKGVERSION.
47295         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
47296         (print_version): Use PKGVERSION.
47297         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
47298         and PKGVERSION.
47300         * timezone/checktab.awk: Update from tzcode 2012i.
47301         * timezone/ialloc.c: Likewise.
47302         * timezone/private.h: Likewise.
47303         * timezone/scheck.c: Likewise.
47304         * timezone/tzfile.h: Likewise.
47305         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
47306         (TZVERSION): Hardcode tzcode version number.
47307         * timezone/zdump.c: Update from tzcode 2012i.
47308         * timezone/zic.c: Likewise.
47309         * timezone/version.h: New file.
47310         * timezone/README: Describe version.h.  Update upstream location.
47312         [BZ #14824]
47313         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
47314         (mktemp): Enable declaration.
47315         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
47316         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
47317         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
47318         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
47319         Likewise.
47320         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
47321         Likewise.
47322         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
47323         Likewise.
47324         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
47325         Likewise.
47326         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
47327         Likewise.
47328         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
47329         Likewise.
47331         [BZ #14821]
47332         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
47333         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
47334         for copies of such integer values.
47335         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47336         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47338 2012-11-09  Andreas Jaeger  <aj@suse.de>
47340         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
47341         definitions and declarations that are provided by
47342         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
47344 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47346         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
47347         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
47348         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
47349         definition.
47351 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47353         * elf/elf.h: Update comment before AArch64 relocations.
47355 2012-11-07  David S. Miller  <davem@davemloft.net>
47357         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
47358         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47359         (__start_context): Declare.
47360         (__makecontext_ret): Delete.
47361         (__makecontext): Hook up __start_context instead of
47362         __makecontext_ret.
47363         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
47364         (sysdep_routines): Add __start_context when in stdlib.
47366 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
47368         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
47369         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
47370         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
47371         hardcoded "nm".
47372         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
47373         (READELF): New variable.  Use it instead of hardcoded "readelf".
47375 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
47377         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
47378         * sysdeps/x86/Makefile: Here.
47379         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
47380         * sysdeps/x86/tst-xmmymm.sh: This.
47382 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
47384         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
47385         expectations.
47386         [UNIX98] (pthread_barrier_t): Do not expect.
47387         [UNIX98] (pthread_barrierattr_t): Likewise.
47388         [UNIX98] (pthread_spinlock_t): Likewise.
47389         [UNIX98] (pthread_barrier_destroy): Likewise.
47390         [UNIX98] (pthread_barrier_init): Likewise.
47391         [UNIX98] (pthread_barrier_wait): Likewise.
47392         [UNIX98] (pthread_barrierattr_destroy): Likewise.
47393         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
47394         [UNIX98] (pthread_barrierattr_init): Likewise.
47395         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
47396         [UNIX98] (pthread_getcpuclockid): Likewise.
47397         [UNIX98] (pthread_mutex_timedlock): Likewise.
47398         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
47399         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
47400         [UNIX98] (pthread_sigmask): Likewise.
47401         [UNIX98] (pthread_spin_destroy): Likewise.
47402         [UNIX98] (pthread_spin_init): Likewise.
47403         [UNIX98] (pthread_spin_lock): Likewise.
47404         [UNIX98] (pthread_spin_trylock): Likewise.
47405         [UNIX98] (pthread_spin_unlock): Likewise.
47406         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
47407         Do not expect.
47408         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
47409         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
47410         [XPG3 || XPG4] (pthread_cond_t): Likewise.
47411         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
47412         [XPG3 || XPG4] (pthread_key_t): Likewise.
47413         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
47414         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
47415         [XPG3 || XPG4] (pthread_once_t): Likewise.
47416         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
47417         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
47418         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
47419         [XPG3 || XPG4] (pthread_t): Likewise.
47421         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
47422         not expect.
47423         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
47425         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
47426         Change function return type to int.
47428         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
47429         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
47430         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
47431         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
47432         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
47433         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
47434         [!POSIX] (posix_madvise): Likewise.
47435         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
47436         && !UNIX98].
47437         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
47438         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
47439         (mode_t): Likewise.
47440         (posix_mem_offset): Likewise.
47441         (posix_typed_mem_get_info): Likewise.
47442         (posix_typed_mem_open): Likewise.
47444         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
47445         Change condition to [XOPEN2K8].
47447         * conform/conformtest.pl: Preprocess allow-header data with -x c
47448         instead of from stdin.
47449         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
47450         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
47451         [C99-based standards] (cerfc): Likewise.
47452         [C99-based standards] (cexp2): Likewise.
47453         [C99-based standards] (cexpm1): Likewise.
47454         [C99-based standards] (clog10): Likewise.
47455         [C99-based standards] (clog1p): Likewise.
47456         [C99-based standards] (clog2): Likewise.
47457         [C99-based standards] (clgamma): Likewise.
47458         [C99-based standards] (ctgamma): Likewise.
47459         [C99-based standards] (cerff): Likewise.
47460         [C99-based standards] (cerfcf): Likewise.
47461         [C99-based standards] (cexp2f): Likewise.
47462         [C99-based standards] (cexpm1f): Likewise.
47463         [C99-based standards] (clog10f): Likewise.
47464         [C99-based standards] (clog1pf): Likewise.
47465         [C99-based standards] (clog2f): Likewise.
47466         [C99-based standards] (clgammaf): Likewise.
47467         [C99-based standards] (ctgammaf): Likewise.
47468         [C99-based standards] (cerfl): Likewise.
47469         [C99-based standards] (cerfcl): Likewise.
47470         [C99-based standards] (cexp2l): Likewise.
47471         [C99-based standards] (cexpm1l): Likewise.
47472         [C99-based standards] (clog10l): Likewise.
47473         [C99-based standards] (clog1pl): Likewise.
47474         [C99-based standards] (clog2l): Likewise.
47475         [C99-based standards] (clgammal): Likewise.
47476         [C99-based standards] (ctgammal): Likewise.
47477         * conform/data/inttypes.h-data [C99-based standards]: Include
47478         stdint.h-data.  Remove all expectations for stdint.h contents.
47479         [C99-based standards] (PRI*): Do not allow.
47480         [C99-based standards] (SCN*): Likewise.
47481         [C99-based standards] (*_t): Likewise.
47482         [C99-based-standards] (PRId8): Expect macro.
47483         [C99-based-standards] (PRIi8): Likewise.
47484         [C99-based-standards] (PRIo8): Likewise.
47485         [C99-based-standards] (PRIu8): Likewise.
47486         [C99-based-standards] (PRIx8): Likewise.
47487         [C99-based-standards] (PRIX8): Likewise.
47488         [C99-based-standards] (SCNd8): Likewise.
47489         [C99-based-standards] (SCNi8): Likewise.
47490         [C99-based-standards] (SCNo8): Likewise.
47491         [C99-based-standards] (SCNu8): Likewise.
47492         [C99-based-standards] (SCNx8): Likewise.
47493         [C99-based-standards] (PRIdLEAST8): Likewise.
47494         [C99-based-standards] (PRIiLEAST8): Likewise.
47495         [C99-based-standards] (PRIoLEAST8): Likewise.
47496         [C99-based-standards] (PRIuLEAST8): Likewise.
47497         [C99-based-standards] (PRIxLEAST8): Likewise.
47498         [C99-based-standards] (PRIXLEAST8): Likewise.
47499         [C99-based-standards] (SCNdLEAST8): Likewise.
47500         [C99-based-standards] (SCNiLEAST8): Likewise.
47501         [C99-based-standards] (SCNoLEAST8): Likewise.
47502         [C99-based-standards] (SCNuLEAST8): Likewise.
47503         [C99-based-standards] (SCNxLEAST8): Likewise.
47504         [C99-based-standards] (PRIdFAST8): Likewise.
47505         [C99-based-standards] (PRIiFAST8): Likewise.
47506         [C99-based-standards] (PRIoFAST8): Likewise.
47507         [C99-based-standards] (PRIuFAST8): Likewise.
47508         [C99-based-standards] (PRIxFAST8): Likewise.
47509         [C99-based-standards] (PRIXFAST8): Likewise.
47510         [C99-based-standards] (SCNdFAST8): Likewise.
47511         [C99-based-standards] (SCNiFAST8): Likewise.
47512         [C99-based-standards] (SCNoFAST8): Likewise.
47513         [C99-based-standards] (SCNuFAST8): Likewise.
47514         [C99-based-standards] (SCNxFAST8): Likewise.
47515         [C99-based-standards] (PRId16): Likewise.
47516         [C99-based-standards] (PRIi16): Likewise.
47517         [C99-based-standards] (PRIo16): Likewise.
47518         [C99-based-standards] (PRIu16): Likewise.
47519         [C99-based-standards] (PRIx16): Likewise.
47520         [C99-based-standards] (PRIX16): Likewise.
47521         [C99-based-standards] (SCNd16): Likewise.
47522         [C99-based-standards] (SCNi16): Likewise.
47523         [C99-based-standards] (SCNo16): Likewise.
47524         [C99-based-standards] (SCNu16): Likewise.
47525         [C99-based-standards] (SCNx16): Likewise.
47526         [C99-based-standards] (PRIdLEAST16): Likewise.
47527         [C99-based-standards] (PRIiLEAST16): Likewise.
47528         [C99-based-standards] (PRIoLEAST16): Likewise.
47529         [C99-based-standards] (PRIuLEAST16): Likewise.
47530         [C99-based-standards] (PRIxLEAST16): Likewise.
47531         [C99-based-standards] (PRIXLEAST16): Likewise.
47532         [C99-based-standards] (SCNdLEAST16): Likewise.
47533         [C99-based-standards] (SCNiLEAST16): Likewise.
47534         [C99-based-standards] (SCNoLEAST16): Likewise.
47535         [C99-based-standards] (SCNuLEAST16): Likewise.
47536         [C99-based-standards] (SCNxLEAST16): Likewise.
47537         [C99-based-standards] (PRIdFAST16): Likewise.
47538         [C99-based-standards] (PRIiFAST16): Likewise.
47539         [C99-based-standards] (PRIoFAST16): Likewise.
47540         [C99-based-standards] (PRIuFAST16): Likewise.
47541         [C99-based-standards] (PRIxFAST16): Likewise.
47542         [C99-based-standards] (PRIXFAST16): Likewise.
47543         [C99-based-standards] (SCNdFAST16): Likewise.
47544         [C99-based-standards] (SCNiFAST16): Likewise.
47545         [C99-based-standards] (SCNoFAST16): Likewise.
47546         [C99-based-standards] (SCNuFAST16): Likewise.
47547         [C99-based-standards] (SCNxFAST16): Likewise.
47548         [C99-based-standards] (PRId32): Likewise.
47549         [C99-based-standards] (PRIi32): Likewise.
47550         [C99-based-standards] (PRIo32): Likewise.
47551         [C99-based-standards] (PRIu32): Likewise.
47552         [C99-based-standards] (PRIx32): Likewise.
47553         [C99-based-standards] (PRIX32): Likewise.
47554         [C99-based-standards] (SCNd32): Likewise.
47555         [C99-based-standards] (SCNi32): Likewise.
47556         [C99-based-standards] (SCNo32): Likewise.
47557         [C99-based-standards] (SCNu32): Likewise.
47558         [C99-based-standards] (SCNx32): Likewise.
47559         [C99-based-standards] (PRIdLEAST32): Likewise.
47560         [C99-based-standards] (PRIiLEAST32): Likewise.
47561         [C99-based-standards] (PRIoLEAST32): Likewise.
47562         [C99-based-standards] (PRIuLEAST32): Likewise.
47563         [C99-based-standards] (PRIxLEAST32): Likewise.
47564         [C99-based-standards] (PRIXLEAST32): Likewise.
47565         [C99-based-standards] (SCNdLEAST32): Likewise.
47566         [C99-based-standards] (SCNiLEAST32): Likewise.
47567         [C99-based-standards] (SCNoLEAST32): Likewise.
47568         [C99-based-standards] (SCNuLEAST32): Likewise.
47569         [C99-based-standards] (SCNxLEAST32): Likewise.
47570         [C99-based-standards] (PRIdFAST32): Likewise.
47571         [C99-based-standards] (PRIiFAST32): Likewise.
47572         [C99-based-standards] (PRIoFAST32): Likewise.
47573         [C99-based-standards] (PRIuFAST32): Likewise.
47574         [C99-based-standards] (PRIxFAST32): Likewise.
47575         [C99-based-standards] (PRIXFAST32): Likewise.
47576         [C99-based-standards] (SCNdFAST32): Likewise.
47577         [C99-based-standards] (SCNiFAST32): Likewise.
47578         [C99-based-standards] (SCNoFAST32): Likewise.
47579         [C99-based-standards] (SCNuFAST32): Likewise.
47580         [C99-based-standards] (SCNxFAST32): Likewise.
47581         [C99-based-standards] (PRId64): Likewise.
47582         [C99-based-standards] (PRIi64): Likewise.
47583         [C99-based-standards] (PRIo64): Likewise.
47584         [C99-based-standards] (PRIu64): Likewise.
47585         [C99-based-standards] (PRIx64): Likewise.
47586         [C99-based-standards] (PRIX64): Likewise.
47587         [C99-based-standards] (SCNd64): Likewise.
47588         [C99-based-standards] (SCNi64): Likewise.
47589         [C99-based-standards] (SCNo64): Likewise.
47590         [C99-based-standards] (SCNu64): Likewise.
47591         [C99-based-standards] (SCNx64): Likewise.
47592         [C99-based-standards] (PRIdLEAST64): Likewise.
47593         [C99-based-standards] (PRIiLEAST64): Likewise.
47594         [C99-based-standards] (PRIoLEAST64): Likewise.
47595         [C99-based-standards] (PRIuLEAST64): Likewise.
47596         [C99-based-standards] (PRIxLEAST64): Likewise.
47597         [C99-based-standards] (PRIXLEAST64): Likewise.
47598         [C99-based-standards] (SCNdLEAST64): Likewise.
47599         [C99-based-standards] (SCNiLEAST64): Likewise.
47600         [C99-based-standards] (SCNoLEAST64): Likewise.
47601         [C99-based-standards] (SCNuLEAST64): Likewise.
47602         [C99-based-standards] (SCNxLEAST64): Likewise.
47603         [C99-based-standards] (PRIdFAST64): Likewise.
47604         [C99-based-standards] (PRIiFAST64): Likewise.
47605         [C99-based-standards] (PRIoFAST64): Likewise.
47606         [C99-based-standards] (PRIuFAST64): Likewise.
47607         [C99-based-standards] (PRIxFAST64): Likewise.
47608         [C99-based-standards] (PRIXFAST64): Likewise.
47609         [C99-based-standards] (SCNdFAST64): Likewise.
47610         [C99-based-standards] (SCNiFAST64): Likewise.
47611         [C99-based-standards] (SCNoFAST64): Likewise.
47612         [C99-based-standards] (SCNuFAST64): Likewise.
47613         [C99-based-standards] (SCNxFAST64): Likewise.
47614         [C99-based-standards] (PRIdMAX): Likewise.
47615         [C99-based-standards] (PRIiMAX): Likewise.
47616         [C99-based-standards] (PRIoMAX): Likewise.
47617         [C99-based-standards] (PRIuMAX): Likewise.
47618         [C99-based-standards] (PRIxMAX): Likewise.
47619         [C99-based-standards] (PRIXMAX): Likewise.
47620         [C99-based-standards] (SCNdMAX): Likewise.
47621         [C99-based-standards] (SCNiMAX): Likewise.
47622         [C99-based-standards] (SCNoMAX): Likewise.
47623         [C99-based-standards] (SCNuMAX): Likewise.
47624         [C99-based-standards] (SCNxMAX): Likewise.
47625         [C99-based-standards] (PRIdPTR): Likewise.
47626         [C99-based-standards] (PRIiPTR): Likewise.
47627         [C99-based-standards] (PRIoPTR): Likewise.
47628         [C99-based-standards] (PRIuPTR): Likewise.
47629         [C99-based-standards] (PRIxPTR): Likewise.
47630         [C99-based-standards] (PRIXPTR): Likewise.
47631         [C99-based-standards] (SCNdPTR): Likewise.
47632         [C99-based-standards] (SCNiPTR): Likewise.
47633         [C99-based-standards] (SCNoPTR): Likewise.
47634         [C99-based-standards] (SCNuPTR): Likewise.
47635         [C99-based-standards] (SCNxPTR): Likewise.
47636         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
47637         allow.
47638         * conform/data/stdint.h-data: Update comments to clarify
47639         requirements.
47640         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
47641         type.
47642         [C99-based standards] (INT8_MAX): Likewise.
47643         [C99-based standards] (INT16_MIN): Likewise.
47644         [C99-based standards] (INT16_MAX): Likewise.
47645         [C99-based standards] (INT32_MIN): Likewise.
47646         [C99-based standards] (INT32_MAX): Likewise.
47647         [C99-based standards] (INT64_MIN): Likewise.
47648         [C99-based standards] (INT64_MAX): Likewise.
47649         [C99-based standards] (UINT8_MAX): Likewise.
47650         [C99-based standards] (UINT16_MAX): Likewise.
47651         [C99-based standards] (UINT32_MAX): Likewise.
47652         [C99-based standards] (UINT64_MAX): Likewise.
47653         [C99-based standards] (INT_LEAST8_MIN): Likewise.
47654         [C99-based standards] (INT_LEAST8_MAX): Likewise.
47655         [C99-based standards] (INT_LEAST16_MIN): Likewise.
47656         [C99-based standards] (INT_LEAST16_MAX): Likewise.
47657         [C99-based standards] (INT_LEAST32_MIN): Likewise.
47658         [C99-based standards] (INT_LEAST32_MAX): Likewise.
47659         [C99-based standards] (INT_LEAST64_MIN): Likewise.
47660         [C99-based standards] (INT_LEAST64_MAX): Likewise.
47661         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
47662         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
47663         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
47664         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
47665         [C99-based standards] (INT_FAST8_MIN): Likewise.
47666         [C99-based standards] (INT_FAST8_MAX): Likewise.
47667         [C99-based standards] (INT_FAST16_MIN): Likewise.
47668         [C99-based standards] (INT_FAST16_MAX): Likewise.
47669         [C99-based standards] (INT_FAST32_MIN): Likewise.
47670         [C99-based standards] (INT_FAST32_MAX): Likewise.
47671         [C99-based standards] (INT_FAST64_MIN): Likewise.
47672         [C99-based standards] (INT_FAST64_MAX): Likewise.
47673         [C99-based standards] (UINT_FAST8_MAX): Likewise.
47674         [C99-based standards] (UINT_FAST16_MAX): Likewise.
47675         [C99-based standards] (UINT_FAST32_MAX): Likewise.
47676         [C99-based standards] (UINT_FAST64_MAX): Likewise.
47677         [C99-based standards] (INTPTR_MIN): Likewise.
47678         [C99-based standards] (INTPTR_MAX): Likewise.
47679         [C99-based standards] (UINTPTR_MAX): Likewise.
47680         [C99-based standards] (INTMAX_MIN): Likewise.
47681         [C99-based standards] (INTMAX_MAX): Likewise.
47682         [C99-based standards] (UINTMAX_MAX): Likewise.
47683         [C99-based standards] (PTRDIFF_MIN): Likewise.
47684         [C99-based standards] (PTRDIFF_MAX): Likewise.
47685         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
47686         [C99-based standards] (SIZE_MAX): Likewise.
47687         [C99-based standards] (WCHAR_MAX): Likewise.
47688         [C99-based standards] (WINT_MAX): Likewise.
47689         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
47690         constraint on value.
47691         [C99-based standards] (WCHAR_MIN): Likewise.
47692         [C99-based standards] (WINT_MIN): Likewise.
47693         [C99-based standards] (*_t): Allow.
47694         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
47695         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
47696         Include math.h-data and complex.h-data.  Remove all expectations
47697         of math.h and complex.h contents.
47698         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
47699         at end of line.
47700         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
47701         (struct tm): Expect tag.
47702         [C99-based-standards] (wcstof): Expect function.
47703         [C99-based-standards] (wcstold): Likewise.
47704         [C99-based-standards] (wcstoll): Likewise.
47705         [C99-based-standards] (wcstoull): Likewise.
47706         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
47707         macro-int-constant.  Specify type.
47708         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
47709         constraint on value.
47710         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
47711         Specify type.
47712         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
47713         Specify value.
47714         [ISO C standards]: Do not allow headers.
47715         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
47716         wcs[abcdefghijklmnopqrstuvwxyz]*.
47717         [ISO C standards] (*_t): Do not allow.
47718         * conform/data/wctype.h-data [C99-based standards] (iswblank):
47719         Expect function.
47720         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
47721         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
47722         Specify type.
47723         [ISO C standards]: Do not allow headers.
47724         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
47725         is[abcdefghijklmnopqrstuvwxyz]*.
47726         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
47727         to[abcdefghijklmnopqrstuvwxyz]*.
47728         [ISO C standards] (*_t): Do not allow.
47729         * conform/data/stdalign.h-data: New file.
47730         * conform/data/stdbool.h-data: Likewise.
47731         * conform/data/stdnoreturn.h-data: Likewise.
47733 2012-11-07  Roland McGrath  <roland@hack.frob.com>
47735         [BZ #14815]
47736         * manual/filesys.texi (Directory Entries): Typo fix.
47737         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
47739 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47741         * elf/elf.h (EM_AARCH64): New macro.
47742         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
47743         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
47744         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
47745         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
47746         (R_AARCH64_TLSDESC): Likewise.
47747         (NT_ARM_TLS): Likewise.
47748         (NT_ARM_HW_BREAK): Likewise.
47749         (NT_ARM_HW_WATCH): Likewise.
47751 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
47753         [BZ #14811]
47754         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
47755         (__ieee754_powl): Saturate nonzero exponents with absolute value
47756         below 0x1p-79 to +/- 0x1p-79.
47757         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
47758         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
47759         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
47760         nonzero exponents with absolute value below 0x1p-32 to +/-
47761         0x1p-32.
47762         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
47763         (__ieee754_powl): Saturate nonzero exponents with absolute value
47764         below 0x1p-79 to +/- 0x1p-79.
47765         * math/libm-test.inc (pow_test): Add more tests.
47767 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47769         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
47770         _dl_s390_cap_flags with kernel. Increase string length.
47771         (_dl_s390_platforms): Add z196 and zEC12.
47773 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
47775         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
47776         Change XOPEN21K to XOPEN2K.
47778 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
47780         * string/memmove.c: Use memcpy when possible.
47782 2012-11-06  Andreas Jaeger  <aj@suse.de>
47784         * po/eo.po: Update from translation team.
47786 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
47788         [BZ #14793]
47789         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
47790         exponent and small x and y exponents, scale x or y up.  Increase
47791         by 2 the exponent used in scaling up.
47792         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47793         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47794         * math/libm-test.inc (fma_test): Add more tests.
47795         (fma_test_towardzero): Likewise.
47796         (fma_test_downward): Likewise.
47797         (fma_test_upward): Likewise.
47799 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
47801         [BZ #14805]
47802         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
47803         fenv_t *.
47805         [BZ #14801]
47806         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
47807         namespace for names of struct fields.
47808         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
47809         fenv_t fields.
47810         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
47811         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
47813 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47815         [BZ #3665]
47816         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
47818 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
47820         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
47821         PTR_DEMANGLE.
47823         [BZ #5246]
47824         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
47825         PTR_DEMANGLE.
47827 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
47829         [BZ #14797]
47830         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
47831         definitely overflow as x * y not x * y + z.
47832         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47833         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47834         * math/libm-test.inc (fma_test): Add more tests.
47835         (fma_test_towardzero): Likewise.
47836         (fma_test_downward): Likewise.
47837         (fma_test_upward): Likewise.
47839 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
47841         [BZ #157]
47843         * include/stub-tag.h: Remove file.
47844         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
47845         '#include' of it.
47846         * manual/maint.texi (Porting): Don't reference it.
47847         * Makerules ($(objpfx)stubs): Likewise.
47848         * dirent/closedir.c: Don't include <stub-tag.h>.
47849         * dirent/dirfd.c: Likewise.
47850         * dirent/fdopendir.c: Likewise.
47851         * dirent/getdents.c: Likewise.
47852         * dirent/getdents64.c: Likewise.
47853         * dirent/opendir.c: Likewise.
47854         * dirent/readdir.c: Likewise.
47855         * dirent/readdir64.c: Likewise.
47856         * dirent/readdir64_r.c: Likewise.
47857         * dirent/readdir_r.c: Likewise.
47858         * dirent/rewinddir.c: Likewise.
47859         * dirent/seekdir.c: Likewise.
47860         * dirent/telldir.c: Likewise.
47861         * gmon/profil.c: Likewise.
47862         * grp/setgroups.c: Likewise.
47863         * inet/if_index.c: Likewise.
47864         * io/access.c: Likewise.
47865         * io/chdir.c: Likewise.
47866         * io/chmod.c: Likewise.
47867         * io/chown.c: Likewise.
47868         * io/close.c: Likewise.
47869         * io/dup.c: Likewise.
47870         * io/dup2.c: Likewise.
47871         * io/dup3.c: Likewise.
47872         * io/euidaccess.c: Likewise.
47873         * io/faccessat.c: Likewise.
47874         * io/fchdir.c: Likewise.
47875         * io/fchmod.c: Likewise.
47876         * io/fchmodat.c: Likewise.
47877         * io/fchown.c: Likewise.
47878         * io/fchownat.c: Likewise.
47879         * io/fcntl.c: Likewise.
47880         * io/flock.c: Likewise.
47881         * io/fstatfs.c: Likewise.
47882         * io/fstatfs64.c: Likewise.
47883         * io/fstatvfs.c: Likewise.
47884         * io/fstatvfs64.c: Likewise.
47885         * io/futimens.c: Likewise.
47886         * io/fxstat.c: Likewise.
47887         * io/fxstat64.c: Likewise.
47888         * io/fxstatat.c: Likewise.
47889         * io/fxstatat64.c: Likewise.
47890         * io/getcwd.c: Likewise.
47891         * io/isatty.c: Likewise.
47892         * io/lchmod.c: Likewise.
47893         * io/lchown.c: Likewise.
47894         * io/link.c: Likewise.
47895         * io/linkat.c: Likewise.
47896         * io/lseek.c: Likewise.
47897         * io/lseek64.c: Likewise.
47898         * io/lxstat64.c: Likewise.
47899         * io/mkdir.c: Likewise.
47900         * io/mkdirat.c: Likewise.
47901         * io/mkfifo.c: Likewise.
47902         * io/mkfifoat.c: Likewise.
47903         * io/open.c: Likewise.
47904         * io/open64.c: Likewise.
47905         * io/openat.c: Likewise.
47906         * io/openat64.c: Likewise.
47907         * io/pipe.c: Likewise.
47908         * io/pipe2.c: Likewise.
47909         * io/poll.c: Likewise.
47910         * io/posix_fadvise.c: Likewise.
47911         * io/posix_fadvise64.c: Likewise.
47912         * io/posix_fallocate.c: Likewise.
47913         * io/posix_fallocate64.c: Likewise.
47914         * io/read.c: Likewise.
47915         * io/readlink.c: Likewise.
47916         * io/readlinkat.c: Likewise.
47917         * io/rmdir.c: Likewise.
47918         * io/sendfile.c: Likewise.
47919         * io/sendfile64.c: Likewise.
47920         * io/statfs.c: Likewise.
47921         * io/statfs64.c: Likewise.
47922         * io/statvfs.c: Likewise.
47923         * io/statvfs64.c: Likewise.
47924         * io/symlink.c: Likewise.
47925         * io/symlinkat.c: Likewise.
47926         * io/ttyname.c: Likewise.
47927         * io/ttyname_r.c: Likewise.
47928         * io/umask.c: Likewise.
47929         * io/unlink.c: Likewise.
47930         * io/unlinkat.c: Likewise.
47931         * io/utime.c: Likewise.
47932         * io/utimensat.c: Likewise.
47933         * io/write.c: Likewise.
47934         * io/xmknod.c: Likewise.
47935         * io/xmknodat.c: Likewise.
47936         * io/xstat.c: Likewise.
47937         * io/xstat64.c: Likewise.
47938         * login/getpt.c: Likewise.
47939         * login/grantpt.c: Likewise.
47940         * login/unlockpt.c: Likewise.
47941         * math/e_acoshl.c: Likewise.
47942         * math/e_acosl.c: Likewise.
47943         * math/e_asinl.c: Likewise.
47944         * math/e_atan2l.c: Likewise.
47945         * math/e_atanhl.c: Likewise.
47946         * math/e_coshl.c: Likewise.
47947         * math/e_expl.c: Likewise.
47948         * math/e_fmodl.c: Likewise.
47949         * math/e_gammal_r.c: Likewise.
47950         * math/e_hypotl.c: Likewise.
47951         * math/e_j0l.c: Likewise.
47952         * math/e_j1l.c: Likewise.
47953         * math/e_jnl.c: Likewise.
47954         * math/e_lgammal_r.c: Likewise.
47955         * math/e_log10l.c: Likewise.
47956         * math/e_log2l.c: Likewise.
47957         * math/e_logl.c: Likewise.
47958         * math/e_powl.c: Likewise.
47959         * math/e_rem_pio2l.c: Likewise.
47960         * math/e_sinhl.c: Likewise.
47961         * math/e_sqrtl.c: Likewise.
47962         * math/fclrexcpt.c: Likewise.
47963         * math/fedisblxcpt.c: Likewise.
47964         * math/feenablxcpt.c: Likewise.
47965         * math/fegetenv.c: Likewise.
47966         * math/fegetexcept.c: Likewise.
47967         * math/fegetround.c: Likewise.
47968         * math/feholdexcpt.c: Likewise.
47969         * math/fesetenv.c: Likewise.
47970         * math/fesetround.c: Likewise.
47971         * math/feupdateenv.c: Likewise.
47972         * math/fgetexcptflg.c: Likewise.
47973         * math/fraiseexcpt.c: Likewise.
47974         * math/fsetexcptflg.c: Likewise.
47975         * math/ftestexcept.c: Likewise.
47976         * math/k_cosl.c: Likewise.
47977         * math/k_rem_pio2l.c: Likewise.
47978         * math/k_sinl.c: Likewise.
47979         * math/k_tanl.c: Likewise.
47980         * math/s_asinhl.c: Likewise.
47981         * math/s_atanl.c: Likewise.
47982         * math/s_cbrtl.c: Likewise.
47983         * math/s_erfl.c: Likewise.
47984         * math/s_expm1l.c: Likewise.
47985         * math/s_log1pl.c: Likewise.
47986         * math/s_tanhl.c: Likewise.
47987         * misc/acct.c: Likewise.
47988         * misc/brk.c: Likewise.
47989         * misc/chflags.c: Likewise.
47990         * misc/chroot.c: Likewise.
47991         * misc/fchflags.c: Likewise.
47992         * misc/fgetxattr.c: Likewise.
47993         * misc/flistxattr.c: Likewise.
47994         * misc/fremovexattr.c: Likewise.
47995         * misc/fsetxattr.c: Likewise.
47996         * misc/fsync.c: Likewise.
47997         * misc/ftruncate.c: Likewise.
47998         * misc/futimes.c: Likewise.
47999         * misc/futimesat.c: Likewise.
48000         * misc/getdomain.c: Likewise.
48001         * misc/getdtsz.c: Likewise.
48002         * misc/gethostid.c: Likewise.
48003         * misc/gethostname.c: Likewise.
48004         * misc/getloadavg.c: Likewise.
48005         * misc/getpagesize.c: Likewise.
48006         * misc/getsysstats.c: Likewise.
48007         * misc/getxattr.c: Likewise.
48008         * misc/gtty.c: Likewise.
48009         * misc/ioctl.c: Likewise.
48010         * misc/lgetxattr.c: Likewise.
48011         * misc/listxattr.c: Likewise.
48012         * misc/llistxattr.c: Likewise.
48013         * misc/lremovexattr.c: Likewise.
48014         * misc/lsetxattr.c: Likewise.
48015         * misc/lutimes.c: Likewise.
48016         * misc/madvise.c: Likewise.
48017         * misc/mincore.c: Likewise.
48018         * misc/mlock.c: Likewise.
48019         * misc/mlockall.c: Likewise.
48020         * misc/mmap.c: Likewise.
48021         * misc/mprotect.c: Likewise.
48022         * misc/msync.c: Likewise.
48023         * misc/munlock.c: Likewise.
48024         * misc/munlockall.c: Likewise.
48025         * misc/munmap.c: Likewise.
48026         * misc/preadv.c: Likewise.
48027         * misc/preadv64.c: Likewise.
48028         * misc/ptrace.c: Likewise.
48029         * misc/pwritev.c: Likewise.
48030         * misc/pwritev64.c: Likewise.
48031         * misc/readv.c: Likewise.
48032         * misc/reboot.c: Likewise.
48033         * misc/remap_file_pages.c: Likewise.
48034         * misc/removexattr.c: Likewise.
48035         * misc/revoke.c: Likewise.
48036         * misc/select.c: Likewise.
48037         * misc/setdomain.c: Likewise.
48038         * misc/setegid.c: Likewise.
48039         * misc/seteuid.c: Likewise.
48040         * misc/sethostid.c: Likewise.
48041         * misc/sethostname.c: Likewise.
48042         * misc/setregid.c: Likewise.
48043         * misc/setreuid.c: Likewise.
48044         * misc/setxattr.c: Likewise.
48045         * misc/sstk.c: Likewise.
48046         * misc/stty.c: Likewise.
48047         * misc/swapoff.c: Likewise.
48048         * misc/swapon.c: Likewise.
48049         * misc/sync.c: Likewise.
48050         * misc/syncfs.c: Likewise.
48051         * misc/syscall.c: Likewise.
48052         * misc/truncate.c: Likewise.
48053         * misc/ualarm.c: Likewise.
48054         * misc/usleep.c: Likewise.
48055         * misc/ustat.c: Likewise.
48056         * misc/utimes.c: Likewise.
48057         * misc/vhangup.c: Likewise.
48058         * misc/writev.c: Likewise.
48059         * posix/_exit.c: Likewise.
48060         * posix/alarm.c: Likewise.
48061         * posix/execve.c: Likewise.
48062         * posix/fexecve.c: Likewise.
48063         * posix/fork.c: Likewise.
48064         * posix/fpathconf.c: Likewise.
48065         * posix/getaddrinfo.c: Likewise.
48066         * posix/getegid.c: Likewise.
48067         * posix/geteuid.c: Likewise.
48068         * posix/getgid.c: Likewise.
48069         * posix/getgroups.c: Likewise.
48070         * posix/getlogin.c: Likewise.
48071         * posix/getlogin_r.c: Likewise.
48072         * posix/getpgid.c: Likewise.
48073         * posix/getpid.c: Likewise.
48074         * posix/getppid.c: Likewise.
48075         * posix/getresgid.c: Likewise.
48076         * posix/getresuid.c: Likewise.
48077         * posix/getsid.c: Likewise.
48078         * posix/getuid.c: Likewise.
48079         * posix/glob64.c: Likewise.
48080         * posix/nanosleep.c: Likewise.
48081         * posix/pathconf.c: Likewise.
48082         * posix/pause.c: Likewise.
48083         * posix/posix_madvise.c: Likewise.
48084         * posix/pread.c: Likewise.
48085         * posix/pread64.c: Likewise.
48086         * posix/pwrite.c: Likewise.
48087         * posix/pwrite64.c: Likewise.
48088         * posix/sched_getaffinity.c: Likewise.
48089         * posix/sched_getp.c: Likewise.
48090         * posix/sched_gets.c: Likewise.
48091         * posix/sched_primax.c: Likewise.
48092         * posix/sched_primin.c: Likewise.
48093         * posix/sched_rr_gi.c: Likewise.
48094         * posix/sched_setaffinity.c: Likewise.
48095         * posix/sched_setp.c: Likewise.
48096         * posix/sched_sets.c: Likewise.
48097         * posix/sched_yield.c: Likewise.
48098         * posix/setgid.c: Likewise.
48099         * posix/setlogin.c: Likewise.
48100         * posix/setpgid.c: Likewise.
48101         * posix/setresgid.c: Likewise.
48102         * posix/setresuid.c: Likewise.
48103         * posix/setsid.c: Likewise.
48104         * posix/setuid.c: Likewise.
48105         * posix/sleep.c: Likewise.
48106         * posix/spawni.c: Likewise.
48107         * posix/sysconf.c: Likewise.
48108         * posix/times.c: Likewise.
48109         * posix/wait.c: Likewise.
48110         * posix/wait3.c: Likewise.
48111         * posix/wait4.c: Likewise.
48112         * posix/waitpid.c: Likewise.
48113         * resolv/gai_sigqueue.c: Likewise.
48114         * resource/getpriority.c: Likewise.
48115         * resource/getrlimit.c: Likewise.
48116         * resource/getrusage.c: Likewise.
48117         * resource/nice.c: Likewise.
48118         * resource/setpriority.c: Likewise.
48119         * resource/setrlimit.c: Likewise.
48120         * resource/ulimit.c: Likewise.
48121         * rt/aio_cancel.c: Likewise.
48122         * rt/aio_fsync.c: Likewise.
48123         * rt/aio_read.c: Likewise.
48124         * rt/aio_sigqueue.c: Likewise.
48125         * rt/aio_suspend.c: Likewise.
48126         * rt/aio_write.c: Likewise.
48127         * rt/clock_getres.c: Likewise.
48128         * rt/clock_gettime.c: Likewise.
48129         * rt/clock_nanosleep.c: Likewise.
48130         * rt/clock_settime.c: Likewise.
48131         * rt/lio_listio.c: Likewise.
48132         * rt/mq_close.c: Likewise.
48133         * rt/mq_getattr.c: Likewise.
48134         * rt/mq_notify.c: Likewise.
48135         * rt/mq_open.c: Likewise.
48136         * rt/mq_receive.c: Likewise.
48137         * rt/mq_send.c: Likewise.
48138         * rt/mq_setattr.c: Likewise.
48139         * rt/mq_timedreceive.c: Likewise.
48140         * rt/mq_timedsend.c: Likewise.
48141         * rt/mq_unlink.c: Likewise.
48142         * rt/shm_open.c: Likewise.
48143         * rt/shm_unlink.c: Likewise.
48144         * rt/timer_create.c: Likewise.
48145         * rt/timer_delete.c: Likewise.
48146         * rt/timer_getoverr.c: Likewise.
48147         * rt/timer_gettime.c: Likewise.
48148         * rt/timer_settime.c: Likewise.
48149         * setjmp/__longjmp.c: Likewise.
48150         * setjmp/setjmp.c: Likewise.
48151         * signal/kill.c: Likewise.
48152         * signal/killpg.c: Likewise.
48153         * signal/raise.c: Likewise.
48154         * signal/sigaction.c: Likewise.
48155         * signal/sigaltstack.c: Likewise.
48156         * signal/sigblock.c: Likewise.
48157         * signal/sigignore.c: Likewise.
48158         * signal/sigintr.c: Likewise.
48159         * signal/signal.c: Likewise.
48160         * signal/sigpause.c: Likewise.
48161         * signal/sigpending.c: Likewise.
48162         * signal/sigqueue.c: Likewise.
48163         * signal/sigreturn.c: Likewise.
48164         * signal/sigset.c: Likewise.
48165         * signal/sigsetmask.c: Likewise.
48166         * signal/sigstack.c: Likewise.
48167         * signal/sigsuspend.c: Likewise.
48168         * signal/sigtimedwait.c: Likewise.
48169         * signal/sigvec.c: Likewise.
48170         * signal/sigwait.c: Likewise.
48171         * signal/sigwaitinfo.c: Likewise.
48172         * signal/sysv_signal.c: Likewise.
48173         * socket/accept.c: Likewise.
48174         * socket/accept4.c: Likewise.
48175         * socket/bind.c: Likewise.
48176         * socket/connect.c: Likewise.
48177         * socket/getpeername.c: Likewise.
48178         * socket/getsockname.c: Likewise.
48179         * socket/getsockopt.c: Likewise.
48180         * socket/isfdtype.c: Likewise.
48181         * socket/listen.c: Likewise.
48182         * socket/recv.c: Likewise.
48183         * socket/recvfrom.c: Likewise.
48184         * socket/recvmsg.c: Likewise.
48185         * socket/send.c: Likewise.
48186         * socket/sendmsg.c: Likewise.
48187         * socket/sendto.c: Likewise.
48188         * socket/setsockopt.c: Likewise.
48189         * socket/shutdown.c: Likewise.
48190         * socket/sockatmark.c: Likewise.
48191         * socket/socket.c: Likewise.
48192         * socket/socketpair.c: Likewise.
48193         * stdio-common/ctermid.c: Likewise.
48194         * stdio-common/cuserid.c: Likewise.
48195         * stdio-common/remove.c: Likewise.
48196         * stdio-common/rename.c: Likewise.
48197         * stdio-common/renameat.c: Likewise.
48198         * stdio-common/tempname.c: Likewise.
48199         * stdlib/getcontext.c: Likewise.
48200         * stdlib/makecontext.c: Likewise.
48201         * stdlib/setcontext.c: Likewise.
48202         * stdlib/swapcontext.c: Likewise.
48203         * stdlib/system.c: Likewise.
48204         * streams/fattach.c: Likewise.
48205         * streams/fdetach.c: Likewise.
48206         * streams/getmsg.c: Likewise.
48207         * streams/getpmsg.c: Likewise.
48208         * streams/putmsg.c: Likewise.
48209         * streams/putpmsg.c: Likewise.
48210         * sysdeps/unix/bsd/getpt.c: Likewise.
48211         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
48212         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
48213         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48215         Likewise.
48216         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
48217         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48218         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
48219         * sysvipc/msgctl.c: Likewise.
48220         * sysvipc/msgget.c: Likewise.
48221         * sysvipc/msgrcv.c: Likewise.
48222         * sysvipc/msgsnd.c: Likewise.
48223         * sysvipc/semctl.c: Likewise.
48224         * sysvipc/semget.c: Likewise.
48225         * sysvipc/semop.c: Likewise.
48226         * sysvipc/semtimedop.c: Likewise.
48227         * sysvipc/shmat.c: Likewise.
48228         * sysvipc/shmctl.c: Likewise.
48229         * sysvipc/shmdt.c: Likewise.
48230         * sysvipc/shmget.c: Likewise.
48231         * termios/tcdrain.c: Likewise.
48232         * termios/tcflow.c: Likewise.
48233         * termios/tcflush.c: Likewise.
48234         * termios/tcgetattr.c: Likewise.
48235         * termios/tcgetpgrp.c: Likewise.
48236         * termios/tcsendbrk.c: Likewise.
48237         * termios/tcsetattr.c: Likewise.
48238         * termios/tcsetpgrp.c: Likewise.
48239         * time/adjtime.c: Likewise.
48240         * time/clock.c: Likewise.
48241         * time/getitimer.c: Likewise.
48242         * time/gettimeofday.c: Likewise.
48243         * time/setitimer.c: Likewise.
48244         * time/settimeofday.c: Likewise.
48245         * time/stime.c: Likewise.
48246         * time/time.c: Likewise.
48248 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
48250         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
48251         /usr/old/bin.
48253         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
48254         instead of spaces.
48255         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
48257 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
48259         [BZ #14796]
48260         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
48261         FE_TONEAREST before applying Dekker multiplication and Knuth
48262         addition.  Clear inexact exceptions and check for exact zero
48263         results afterwards.
48264         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48265         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
48266         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48267         * math/libm-test.inc (fma_test): Add more tests.
48268         (fma_test_towardzero): Likewise.
48269         (fma_test_downward): Likewise.
48270         (fma_test_upward): Likewise.
48271         * sysdeps/generic/math_private.h (default_libc_fesetround): New
48272         function.
48273         (libc_fesetround): New macro.
48274         (libc_fesetroundf): Likewise.
48275         (libc_fesetroundl): Likewise.
48276         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
48277         function.
48278         (libc_fesetround_387): Likewise.
48279         (libc_fesetroundf): New macro.
48280         (libc_fesetround): Likewise.
48281         (libc_fesetroundl): Likewise.
48282         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
48283         function.
48284         (libc_fesetroundf): New macro.
48285         (libc_fesetround): Likewise.
48286         (libc_fesetroundl): Likewise.
48287         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
48288         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
48289         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
48290         libm_hidden_ver.
48291         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
48292         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
48293         libm_hidden_def.
48294         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
48295         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
48296         libm_hidden_ver.
48297         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
48298         libm_hidden_def.
48300         [BZ #3439]
48301         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
48302         integer constant usable in #if and use that to give value to enum
48303         constant.
48304         (FE_DIVBYZERO): Likewise.
48305         (FE_UNDERFLOW): Likewise.
48306         (FE_OVERFLOW): Likewise.
48307         (FE_INVALID): Likewise.
48308         (FE_INVALID_SNAN): Likewise.
48309         (FE_INVALID_ISI): Likewise.
48310         (FE_INVALID_IDI): Likewise.
48311         (FE_INVALID_ZDZ): Likewise.
48312         (FE_INVALID_IMZ): Likewise.
48313         (FE_INVALID_COMPARE): Likewise.
48314         (FE_INVALID_SOFTWARE): Likewise.
48315         (FE_INVALID_SQRT): Likewise.
48316         (FE_INVALID_INTEGER_CONVERSION): Likewise.
48317         (FE_TONEAREST): Likewise.
48318         (FE_TOWARDZERO): Likewise.
48319         (FE_UPWARD): Likewise.
48320         (FE_DOWNWARD): Likewise.
48321         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
48322         (FE_DIVBYZERO): Likewise.
48323         (FE_OVERFLOW): Likewise.
48324         (FE_UNDERFLOW): Likewise.
48325         (FE_INEXACT): Likewise.
48326         (FE_TONEAREST): Likewise.
48327         (FE_DOWNWARD): Likewise.
48328         (FE_UPWARD): Likewise.
48329         (FE_TOWARDZERO): Likewise.
48330         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
48331         (FE_UNDERFLOW): Likewise.
48332         (FE_OVERFLOW): Likewise.
48333         (FE_DIVBYZERO): Likewise.
48334         (FE_INVALID): Likewise.
48335         (FE_TONEAREST): Likewise.
48336         (FE_TOWARDZERO): Likewise.
48337         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
48338         (FE_OVERFLOW): Likewise.
48339         (FE_UNDERFLOW): Likewise.
48340         (FE_DIVBYZERO): Likewise.
48341         (FE_INEXACT): Likewise.
48342         (FE_TONEAREST): Likewise.
48343         (FE_TOWARDZERO): Likewise.
48344         (FE_UPWARD): Likewise.
48345         (FE_DOWNWARD): Likewise.
48346         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
48347         (FE_DIVBYZERO): Likewise.
48348         (FE_OVERFLOW): Likewise.
48349         (FE_UNDERFLOW): Likewise.
48350         (FE_INEXACT): Likewise.
48351         (FE_TONEAREST): Likewise.
48352         (FE_DOWNWARD): Likewise.
48353         (FE_UPWARD): Likewise.
48354         (FE_TOWARDZERO): Likewise.
48356 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
48358         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
48360 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
48362         * scripts/cross-test-ssh.sh (command): Use newlines to separate
48363         commands.  Quote $PWD.
48364         (blacklist_exports): Don't use remove_newlines.  Replace "declare
48365         -x" by "export".
48366         (remove_newlines): Remove.
48368 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
48370         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
48371         * stdlib/stdlib.h (atof): Moved to ...
48372         * include/bits/stdlib-float.h: Here.  New file.
48373         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
48374         * stdlib/bits/stdlib-float.h: New file.
48375         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
48376         -mno-sse -mno-mmx.
48377         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
48378         <xmmintrin.h>.
48380 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
48382         * conform/conformtest.pl (@headers): Add fenv.h.
48383         * conform/data/fenv.h-data: New file.
48384         * include/fenv.h [_ISOMAC]: Disable all contents of file except
48385         include of <math/fenv.h>.
48387         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
48388         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
48389         && !UNIX98].  Enables tests for XOPEN2K8.
48390         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
48391         POSIX2008]: Likewise.
48393         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
48394         (struct rusage): Do not expect type or its members.
48396         [BZ #3439]
48397         * math/math.h (FP_NAN): Define macro to integer constant usable in
48398         #if and use that to give value to enum constant.
48399         (FP_INFINITE): Likewise.
48400         (FP_ZERO): Likewise.
48401         (FP_SUBNORMAL): Likewise.
48402         (FP_NORMAL): Likewise.
48404 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
48406         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
48407         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
48408         arguments.
48410 2012-11-02  Roland McGrath  <roland@hack.frob.com>
48412         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
48413         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
48414         autoconf-time if not.
48415         * configure.in: Remove AC_PREREQ.
48417 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48419         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
48420         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
48421         of the internal implementation.
48423 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
48425         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
48426         except include of <misc/sys/syslog.h>.
48428 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
48430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
48431         function returns with a NULL context exit with zero.
48433 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48435         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
48437 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
48439         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
48440         (run_program_cmd): This.
48441         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
48442         (tst_langinfo): New variable.  Use it.
48444 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
48446         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
48447         floating point opcodes.
48449 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
48451         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
48452         variable.
48454         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
48456         * sysdeps/mach/hurd/powerpc: Remove directory.
48457         * sysdeps/mach/powerpc: Likewise.
48459 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
48461         * scripts/check-local-headers.sh: Ignore c++ headers.
48463 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
48465         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
48466         __libc_cleanup_region_start argument.
48468 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
48470         [BZ #14784]
48471         [BZ #14785]
48472         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
48473         x * y using scaling, not as x * y + z.
48474         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48475         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48476         * math/libm-test.inc (fma_test): Add more tests.
48477         (fma_test_towardzero): Likewise.
48478         (fma_test_downward): Likewise.
48479         (fma_test_upward): Likewise.
48481 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
48483         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
48485 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
48487         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
48488         New variable.
48490 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
48492         * rt/tst-shm.c (worker): Correct checking for mmap failure.
48494 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
48496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48497         Fix sort order.
48498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48499         Likewise.
48501 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48504         Fix the order of the list for glibc 2.17.
48505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48506         Likewise.
48508 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
48510         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48512 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
48514         [BZ #14610]
48515         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
48516         for low part of x being zero before using __atanl (y).
48517         * math/libm-test.inc (atan2_test): Add another test.
48519         * manual/install.texi (Configuring and compiling): Document
48520         general use of test-wrapper and test-wrapper-env.
48521         * INSTALL: Regenerated.
48523         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
48524         (__fma): Do not extract and scale down low bits on after-rounding
48525         systems when result rounded to normal precision would have normal
48526         exponent.
48527         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
48528         (__fmal): Do not extract and scale down low bits on after-rounding
48529         systems when result rounded to normal precision would have normal
48530         exponent.
48531         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
48532         (__fmal): Do not extract and scale down low bits on after-rounding
48533         systems when result rounded to normal precision would have normal
48534         exponent.
48535         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
48536         macro.
48537         (fma_test): Add more tests.
48538         (fma_test_towardzero): Likewise.
48539         (fma_test_downward): Likewise.
48540         (fma_test_upward): Likewise.
48542 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
48544         * sysdeps/i386/tininess.h: Renamed to ...
48545         * sysdeps/x86/tininess.h: This.
48546         * sysdeps/x86_64/tininess.h: Removed.
48548 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
48550         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
48551         input.  Use $(build-program-cmd).
48552         ($(objpfx)tst-array1-static.out): Likewise.
48553         ($(objpfx)tst-array2.out): Likewise.
48554         ($(objpfx)tst-array3.out): Likewise.
48555         ($(objpfx)tst-array4.out): Likewise.
48556         ($(objpfx)tst-array5.out): Likewise.
48557         ($(objpfx)tst-array5-static.out): Likewise.
48559 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
48561         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
48562         if defined.
48564         * nss/nsswitch.h (nss_interface_function): Provide new
48565         macro for use with NSS functions.
48566         * grp/initgroups.c: Use new macro.
48567         * nss/getXXbyYY.c: Likewise.
48568         * nss/getXXbyYY_r.c: Likewise.
48569         * nss/getXXent.c: Likewise.
48570         * nss/getXXent_r.c: Likewise.
48571         * sysdeps/posix/getaddrinfo.c: Likewise.
48573 2012-10-30  Andreas Jaeger  <aj@suse.de>
48575         * po/ru.po: Update Russion translation from translation project.
48577 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
48579         [BZ #14152]
48580         [BZ #14783]
48581         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
48582         result and shift together with sticky bit instead of replicating
48583         round-to-nearest rounding.
48584         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48585         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48586         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
48587         missing underflow exceptions.
48588         (fma_test_towardzero): Add more tests.
48589         (fma_test_downward): Likewise.
48590         (fma_test_upward): Likewise.
48592         [BZ #14047]
48593         * sysdeps/generic/tininess.h: New file.
48594         * sysdeps/i386/tininess.h: Likewise.
48595         * sysdeps/sh/tininess.h: Likewise.
48596         * sysdeps/x86_64/tininess.h: Likewise.
48597         * stdlib/tst-strtod-underflow.c: Likewise.
48598         * stdlib/tst-tininess.c: Likewise.
48599         * stdlib/strtod_l.c: Include <tininess.h>.
48600         (round_and_return): Do not set errno for exact underflow cases.
48601         Force an underflow exception when setting errno for underflow.
48602         Determine underflow based on rounding to normal precision if
48603         TININESS_AFTER_ROUNDING.
48604         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
48605         ERANGE for exact underflow cases.
48606         * stdlib/Makefile (tests): Add tst-tininess and
48607         tst-strtod-underflow.
48608         ($(objpfx)tst-tininess): Use $(link-libm).
48609         ($(objpfx)tst-strtod-underflow): Likewise.
48611 2012-10-30  Andreas Jaeger  <aj@suse.de>
48613         [BZ#14767]
48614         * elf/Makefile (tests): Remove conditional for have-initfini-array
48615         since this is now always required and the variable does not exist
48616         anymore.
48617         (tests-static): Likewise.
48618         (modules-names): Likewise.
48620         * po/eo.po: Add Esperanto translation from translation project.
48622         * elf/tst-array1.c (fini_array): Make writeable so that it can be
48623         merged with constructor/destructor.
48624         (init_array): Likewise.
48625         * elf/tst-array2dep.c (fini_array): Likewise.
48626         (init_array): Likewise.
48628 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
48630         * manual/message.texi: Delete @cartouche tags.
48632 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
48634         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
48635         EOPNOTSUPP.
48636         * sysdeps/mach/hurd/fsync.c: Likewise.
48638         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
48639         [_POSIX_REALTIME_SIGNALS]: Change condition to
48640         [_POSIX_REALTIME_SIGNALS > 0].
48642 2012-10-27  Andreas Jaeger  <aj@suse.de>
48644         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
48645         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
48646         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
48647         [__WORDSIZE != 64]: Likewise.
48649 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
48651         *  iconvdata/tst-table.sh: Remove ${SHELL}.
48652         *  iconvdata/tst-tables.sh: Likewise.
48654 2012-10-25  David S. Miller  <davem@davemloft.net>
48656         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48657         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
48658         of strtoull.
48660         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
48661         ifunc-impl-list.c
48662         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48663         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
48664         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
48665         file.
48667 2012-10-25  Roland McGrath  <roland@hack.frob.com>
48669         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48670         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
48671         __getdirentries.
48673 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
48674             Jim Blandy  <jimb@codesourcery.com>
48676         * scripts/cross-test-ssh.sh: New file.
48677         * manual/install.texi (Configuring and compiling): Document use of
48678         cross-test-ssh.sh.
48679         * INSTALL: Regenerated.
48681 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
48683         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
48684         EOPNOTSUPP.
48686 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
48688         * Makeconfig (run-program-prefix): Fix comment.
48690 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
48691             Jim Blandy  <jimb@codesourcery.com>
48693         * Makeconfig (test-wrapper): New variable,
48694         (test-wrapper-env): Likewise.
48695         [$(cross-compiling) = yes && $(test-wrapper) != ""]
48696         (run-built-tests): Define to yes.
48697         (run-program-prefix): Use $(test-wrapper).
48698         (built-program-cmd): Likewise.
48699         * Rules (make-test-out): Use $(test-wrapper-env) and
48700         $(host-built-program-cmd).
48701         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
48702         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
48703         tst-pathopt.sh.
48704         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
48705         $(test-wrapper-env) to tst-rtld-load-self.sh.
48706         ($(objpfx)order2.out): Use $(test-wrapper).
48707         ($(objpfx)tst-initorder.out): Likewise.
48708         ($(objpfx)tst-initorder2.out): Likewise.
48709         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
48710         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
48711         (test_wrapper_env): New variable.  Use it to run ld.so.
48712         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
48713         Use it to run ld.so.
48714         (test_wrapper_env): Likewise.
48715         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
48716         $(test-wrapper) to run-iconv-test.sh.
48717         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
48718         (ICONV): Use $test_wrapper.
48719         * posix/Makefile ($(objpfx)globtest.out): Pass
48720         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
48721         globtest.sh, not $(run-program-prefix).
48722         * posix/globtest.sh (run_via_rtld_prefix): New variable.
48723         (test_wrapper): Likewise.
48724         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
48725         set together with run_via_rtld_prefix.
48726         (run_program_prefix): Define in terms of test_wrapper and
48727         run_via_rtld_prefix.
48729 2012-10-24  Roland McGrath  <roland@hack.frob.com>
48731         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
48732         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
48733         Targets removed.
48735         [BZ #14743]
48736         * include/time.h: Remove librt_hidden_proto (clock_gettime).
48737         Declare __clock_getres, __clock_gettime, __clock_settime,
48738         __clock_nanosleep, and __clock_getcpuclockid.
48739         * rt/clock_gettime.c: Define __clock_gettime as an alias.
48740         Remove librt_hidden_def (clock_gettime).
48741         * sysdeps/unix/clock_gettime.c: Likewise.
48742         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
48743         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
48744         * rt/clock_getres.c: Define __clock_getres as an alias.
48745         * sysdeps/posix/clock_getres.c: Likewise.
48746         * rt/clock_settime.c: Define __clock_settime as an alias.
48747         * sysdeps/unix/clock_settime.c: Likewise.
48748         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
48749         * sysdeps/unix/clock_nanosleep.c: Likewise.
48750         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
48751         * rt/clock-compat.c: New file.
48752         * rt/Makefile (librt-routines): Add clock-compat and move
48753         $(clock-routines) to ...
48754         (routines): ... here, new variable.
48755         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
48756         Don't add get_clockfreq here.
48757         * rt/Versions (libc: GLIBC_2.17): New version set.
48758         Add clock_* symbols here.
48759         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
48760         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
48761         (GLIBC_2.17): Add clock_* symbols.
48762         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
48763         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
48764         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
48765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48766         Likewise.
48767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48768         Likewise.
48769         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
48770         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
48771         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
48772         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
48773         * NEWS: Mention the move.
48775         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
48776         Use __open, __read, __close rather than their public counterparts.
48777         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48778         (__get_clockfreq_via_cpuinfo): Likewise.
48779         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
48780         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
48782         * config.h.in (HAVE_IFUNC): New #undef.
48783         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
48784         was successful.
48785         * configure: Regenerated.
48787 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
48789         * configure.in: Move READELF check to start of file.
48790         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
48791         libc_cv_asm_gnu_indirect_function in the process.
48792         * configure: Regenerated.
48794 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
48796         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
48797         send the output to /dev/null.
48798         (libc_cv_cc_with_libunwind): Likewise.
48799         (libc_cv_as_noexecstack): Likewise.
48800         * configure: Regenerate.
48802 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
48804         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
48806         * posix/globtest.sh (TMPDIR): Do not set.
48807         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
48808         (testout): Likewise.
48810 2012-10-24  Andreas Jaeger  <aj@suse.de>
48812         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
48813         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
48814         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
48815         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
48816         posix_fadvise64, posix_fallocate64.
48818         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
48819         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
48820         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
48821         Likewise.
48822         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
48823         Likewise.
48824         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
48826         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
48827         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
48828         <bits/fcntl-linux.h>.
48829         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
48831         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
48832         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
48833         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
48834         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
48835         [__WORDSIZE != 64]: Likewise.
48837 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
48839         * Makeconfig (run-built-tests): New variable.
48840         * Rules [$(cross-compiling) = yes]: Change condition to
48841         [$(run-built-tests) = no].
48842         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
48843         to [$(run-built-tests) = yes].
48844         * elf/Makefile [$(cross-compiling) = no]: Likewise
48845         * grp/Makefile [$(cross-compiling) = no]: Likewise.
48846         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
48847         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
48848         * intl/Makefile [$(cross-compiling) = no]: Likewise.
48849         * io/Makefile [$(cross-compiling) = no]: Likewise.
48850         * libio/Makefile [$(cross-compiling) = no]: Likewise.
48851         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
48852         * misc/Makefile [$(cross-compiling) = no]: Likewise.
48853         * posix/Makefile [$(cross-compiling) = no]: Likewise.
48854         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
48855         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
48856         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
48857         * string/Makefile [$(cross-compiling) = no]: Likewise.
48859         * posix/Makefile ($(objpfx)globtest.out): Pass
48860         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
48861         $(rtld-installed-name).
48862         * posix/globtest.sh (elf_objpfx): Remove variable.
48863         (rtld_installed_name): Likewise.
48864         (library_path): Likewise.
48865         (run_program_prefix): New variable.  Use for running globtest
48866         binary.
48868 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
48869             Joseph Myers  <joseph@codesourcery.com>
48871         * Makeconfig (host-built-program-cmd): New variable.
48872         * elf/Makefile (tst-stackguard1-ARGS): Use
48873         $(host-built-program-cmd).
48874         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
48875         (tst-spawn-ARGS): Likewise.
48876         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
48878 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
48879             Jim Blandy  <jimb@codesourcery.com>
48881         * Makeconfig (run-via-rtld-prefix): New variable.
48882         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
48883         (built-program-cmd): Likewise.
48885 2012-10-22  Andreas Jaeger  <aj@suse.de>
48887         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
48888         __O_RSYNC if it exists, otherwise to O_SYNC.
48890 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
48891             Joseph Myers  <joseph@codesourcery.com>
48893         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
48894         /dev/null.
48895         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
48896         from /dev/null
48897         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
48898         /dev/null.
48900 2012-10-22  Andreas Jaeger  <aj@suse.de>
48902         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
48903         Define always.
48904         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
48906         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48907         bits/fcntl-linux.h.
48909         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
48910         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
48912         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
48913         to __O_LARGEFILE.
48914         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
48915         to __O_LARGEFILE.
48917 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
48918             Joseph Myers  <joseph@codesourcery.com>
48920         * config.make.in (NM): New variable.
48922 2012-10-21  Andreas Jaeger  <aj@suse.de>
48924         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
48925         definitions and declarations that are provided by
48926         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
48928 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
48930         [BZ #14683]
48931         * elf/Makefile (tests-static): Add tst-leaks1-static.
48932         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
48933         ($(objpfx)tst-leaks1-static): New rule.
48934         ($(objpfx)tst-leaks1-static-mem): Likewise.
48935         (tst-leaks1-static-ENV): New macro.
48936         * elf/dl-open.c (dl_open_worker): Check the main application
48937         only if SHARED is defined.
48938         * elf/tst-leaks1-static.c: New file.
48940 2012-10-20  Andreas Jaeger  <aj@suse.de>
48942         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
48943         generic values for Linux.
48944         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
48945         and declarations that are provided by <bits/fcntl-linux.h> and
48946         include <bits/fcntl-linux.h>.
48947         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48948         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48950 2012-10-20  Roland McGrath  <roland@hack.frob.com>
48952         * io/fcntl.h: Move include of <bits/types.h> to the top and
48953         include it unconditionally.
48955 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
48957         * wcsmbs/Makefile (tests-ifunc): New variable.
48958         (tests): Add $(tests-ifunc).
48959         * wcsmbs/test-wcschr-ifunc.c: New file.
48960         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
48961         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
48962         * wcsmbs/test-wcslen-ifunc.c: Likewise.
48963         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
48964         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
48966         * string/Makefile (tests-ifunc): New variable.
48967         (tests): Add $(tests-ifunc).
48968         * string/test-memccpy.c (TEST_NAME): New macro.
48969         * string/test-memchr.c (TEST_NAME): Likewise.
48970         * string/test-memcmp.c (TEST_NAME): Likewise.
48971         * string/test-memcpy.c (TEST_NAME): Likewise.
48972         * string/test-memmem.c (TEST_NAME): Likewise.
48973         * string/test-memmove.c (TEST_NAME): Likewise.
48974         * string/test-memset.c (TEST_NAME): Likewise.
48975         * string/test-rawmemchr.c (TEST_NAME): Likewise.
48976         * string/test-stpcpy.c (TEST_NAME): Likewise.
48977         * string/test-stpncpy.c (TEST_NAME): Likewise.
48978         * string/test-strcasecmp.c (TEST_NAME): Likewise.
48979         * string/test-strcasestr.c (TEST_NAME): Likewise.
48980         * string/test-strcat.c (TEST_NAME): Likewise.
48981         * string/test-strchr.c (TEST_NAME): Likewise.
48982         * string/test-strcmp.c(TEST_NAME): Likewise.
48983         * string/test-strcpy.c (TEST_NAME): Likewise.
48984         * string/test-strcspn.c (TEST_NAME): Likewise.
48985         * string/test-strlen.c (TEST_NAME): Likewise.
48986         * string/test-strncasecmp.c (TEST_NAME): Likewise.
48987         * string/test-strncmp.c (TEST_NAME): Likewise.
48988         * string/test-strncpy.c (TEST_NAME): Likewise.
48989         * string/test-strnlen.c (TEST_NAME): Likewise.
48990         * string/test-strpbrk.c (TEST_NAME): Likewise.
48991         * string/test-strrchr.c (TEST_NAME): Likewise.
48992         * string/test-strspn.c (TEST_NAME): Likewise.
48993         * string/test-strstr.c (TEST_NAME): Likewise.
48994         * string/test-bcopy-ifunc.c: New file.
48995         * string/test-bzero-ifunc.c: Likewise.
48996         * string/test-memccpy-ifunc.c: Likewise.
48997         * string/test-memchr-ifunc.c: Likewise.
48998         * string/test-memcmp-ifunc.c: Likewise.
48999         * string/test-memcpy-ifunc.c: Likewise.
49000         * string/test-memmem-ifunc.c: Likewise.
49001         * string/test-memmove-ifunc.c: Likewise.
49002         * string/test-mempcpy-ifunc.c: Likewise.
49003         * string/test-memset-ifunc.c: Likewise.
49004         * string/test-rawmemchr-ifunc.c: Likewise.
49005         * string/test-stpcpy-ifunc.c: Likewise.
49006         * string/test-stpncpy-ifunc.c: Likewise.
49007         * string/test-strcasecmp-ifunc.c: Likewise.
49008         * string/test-strcasestr-ifunc.c: Likewise.
49009         * string/test-strcat-ifunc.c: Likewise.
49010         * string/test-strchr-ifunc.c: Likewise.
49011         * string/test-strchrnul-ifunc.c: Likewise.
49012         * string/test-strcmp-ifunc.c: Likewise.
49013         * string/test-strcpy-ifunc.c: Likewise.
49014         * string/test-strcspn-ifunc.c: Likewise.
49015         * string/test-strlen-ifunc.c: Likewise.
49016         * string/test-strncasecmp-ifunc.c: Likewise.
49017         * string/test-strncat-ifunc.c: Likewise.
49018         * string/test-strncmp-ifunc.c: Likewise.
49019         * string/test-strncpy-ifunc.c: Likewise.
49020         * string/test-strnlen-ifunc.c: Likewise.
49021         * string/test-strpbrk-ifunc.c: Likewise.
49022         * string/test-strrchr-ifunc.c: Likewise.
49023         * string/test-strspn-ifunc.c: Likewise.
49024         * string/test-strstr-ifunc.c: Likewise.
49026         * debug/Makefile (tests-ifunc): New variable.
49027         (tests): Add $(tests-ifunc).
49028         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
49029         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
49030         * debug/test-stpcpy_chk-ifunc.c: New file.
49031         * debug/test-strcpy_chk-ifunc.c: Likewise.
49033 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49035         [BZ #13601]
49036         * elf/dl-load.c (open_verify): Retry read if the entire ELF
49037         header is not read in.
49039 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
49041         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
49042         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
49043         directly.  Pass built executable to script as
49044         $(built-program-cmd).
49045         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
49046         $testprogram without using LD_LIBRARY_PATH and $ldso.
49048         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
49049         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
49050         $(rtld-installed-name).
49051         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
49052         (rtld_installed_name): Likewise.
49053         (library_path): Likewise.
49054         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
49055         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
49056         $(run-program-prefix) to tst-tables.sh.
49057         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
49058         it to run tst-table-from and tst-table-to.
49059         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
49060         Pass it to tst-table.sh.
49061         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
49062         $(run-program-prefix) to tst-gettext.sh.
49063         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
49064         tst-translit.sh.
49065         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
49066         tst-gettext2.sh.
49067         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
49068         to run tst-gettext.
49069         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
49070         to run tst-gettext2.
49071         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
49072         to run tst-translit.
49073         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
49074         $(run-program-prefix) to tst-mtrace.sh.
49075         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
49076         to run tst-mtrace.
49077         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
49078         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
49079         $(rtld-installed-name).
49080         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
49081         (rtld_installed_name): Likewise.
49082         (run_program_prefix): New variable.  Use it to run wordexp-test.
49084         * Makeconfig (ARCH): Remove all definitions.
49085         (machine): Likewise.
49086         [ARCH]: Remove conditional code.
49087         [!objdir]: Give error.
49088         [!objdir] (objpfx): Remove.
49089         [!objdir] (common-objpfx): Likewise.
49090         [!objdir] (common-objdir): Likewise.
49091         * configure.in (config_makefile): Remove.  Hardcode Makefile in
49092         AC_CONFIG_FILES call.
49093         * configure: Regenerated.
49095         [BZ #13888]
49096         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
49097         or TMPDIR.
49098         (testout): Likewise.
49100         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
49101         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
49102         $(rtld-installed-name).
49103         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
49104         (rtld_installed_name): Likwise.
49105         (runit): Remove function.
49106         (run_getconf): New variable,  Use it for running getconf binary.
49108 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
49110         [BZ #14716]
49111         * string/test-memmem.c (check_result): New function.
49112         (do_one_test): Use it.
49113         (check1): New function.
49114         (test_main): Use it.
49116 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
49118         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
49120 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
49122         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
49123         (_G_LSEEK64): Likewise.
49124         (_G_MMAP64): Likewise.
49125         (_G_FSTAT64): Likewise.
49126         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
49127         (_G_LSEEK64): Likewise.
49128         (_G_MMAP64): Likewise.
49129         (_G_FSTAT64): Likewise.
49130         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
49131         unconditional.  Call __mmap64 directly.
49132         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
49133         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
49134         __lseek64 directly.
49135         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
49136         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
49137         __mmap64 directly.
49138         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
49139         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
49140         __lseek64 directly.
49141         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
49142         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
49143         __lseek64 directly.
49144         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
49145         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
49146         __lseek64 directly.
49147         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
49148         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
49149         __fxstat64 directly.
49150         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
49151         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
49152         unconditional.
49153         (freopen64) [!_G_OPEN64]: Remove conditional code.
49154         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
49155         unconditional.
49156         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
49157         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
49158         unconditional.
49159         (ftello64) [!_G_LSEEK64]: Remove conditional code.
49160         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
49161         unconditional.
49162         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
49163         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
49164         unconditional.
49165         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
49166         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
49167         unconditional.
49168         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
49169         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
49170         unconditional.
49171         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
49172         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
49173         unconditional.
49174         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
49176 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
49178         [BZ #12140]
49179         * manual/memory.texi (Malloc Tunable Parameters): Add note
49180         about free list pointers overwriting some perturb bytes.
49181         Wording suggested by Roland McGrath.
49183 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
49185         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
49186         (lgamma_test): Likewise.
49187         (tgamma_test): Likewise.
49189 2012-10-16  Florian Weimer  <fweimer@redhat.com>
49191         [BZ #14700]
49192         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
49193         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
49195 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
49197         * NEWS: Mention BZ #14716.
49198         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
49199         when removing AVAILABLE1_USES_J macro.
49201 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
49203         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
49204         (__bswap_64): __uint64_t for unsigned 64-bit int.
49206 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
49208         * include/string.h (memmem): Declare libc hidden alias.
49209         * string/memmem.c (memmem): Define libc hidden alias.
49210         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
49211         __read, __close instead of open, read, close.
49213 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
49215         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
49216         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
49217         global and hidden.
49218         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
49219         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
49220         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
49221         Likewise.
49222         (__rawmemchr_sse2): Likewise.
49223         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
49224         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
49225         (__strchr_sse2): Likewise.
49226         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
49227         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
49228         (__strcasecmp_sse2): Likewise.
49229         (__strncasecmp_sse2): Likewise.
49230         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
49231         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
49232         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
49233         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
49234         (__strrchr_sse2): Likewise.
49235         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
49236         ifunc-impl-list.c.
49237         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
49238         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
49239         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
49240         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49241         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
49242         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
49243         * sysdeps/x86_64/multiarch/memset.S: Likewise.
49244         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
49245         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
49246         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
49247         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
49248         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
49249         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
49250         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
49251         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
49252         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
49253         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
49254         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
49255         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
49256         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
49257         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
49258         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
49259         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
49260         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
49261         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
49262         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49263         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
49264         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
49265         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
49266         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
49268         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
49269         global and hidden.
49270         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
49271         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
49272         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
49273         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
49274         Likewise.
49275         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
49276         Likewise.
49277         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
49278         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
49279         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
49280         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
49281         ifunc-impl-list.c.
49282         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49283         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49284         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49285         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49286         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49287         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
49288         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49289         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49290         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49291         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49292         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49293         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49294         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49295         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
49296         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
49297         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49298         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
49299         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
49300         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49301         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49302         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49303         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49304         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49305         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49306         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49307         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
49308         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
49309         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
49310         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
49311         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49312         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
49313         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49314         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49315         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
49316         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49317         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49318         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49319         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49320         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49321         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49322         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
49324         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
49325         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
49326         * include/ifunc-impl-list.h: New file.
49327         * misc/ifunc-impl-list.c: Likewise.
49328         * misc/Makefile (routines): Add ifunc-impl-list.
49329         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
49330         * string/test-string.h: Include <ifunc-impl-list.h>.
49331         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
49332         TEST_NAME]: New variables.
49333         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
49334         are defined.
49335         (test_init): Call __libc_ifunc_impl_list to initialize
49336         func_list if TEST_IFUNC and TEST_NAME are defined.
49338         * string/Makefile (strop-tests): Add bcopy and bzero.
49339         * string/test-bcopy.c: New file.
49340         * string/test-bzero.c: Likewise.
49341         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
49342         defined.
49343         * string/test-memset.c: Support bzero test if TEST_BZERO is
49344         defined.
49345         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
49346         __libc_memmove.
49347         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
49348         __libc_memset.
49349         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
49350         of memset.
49352 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
49354         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
49355         * configure: Regenerated.
49357         * Makeconfig (+link-static-before-libc): Don't include
49358         $(link-static-libc).
49360         * libio/libio.h (_IO_pos_t): Remove.
49362 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
49364         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
49365         McGrath.
49367 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
49369         * crypt/crypt-entry.c: Include fips-private.h.
49370         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
49371         * crypt/md5c-test.c (main): Tolerate disabled MD5.
49372         * sysdeps/unix/sysv/linux/fips-private.h: New file.
49373         * sysdeps/generic/fips-private.h: New file, dummy fallback.
49375 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
49377         * crypt/crypt-private.h: Include stdbool.h.
49378         (_ufc_setup_salt_r): Return bool.
49379         * crypt/crypt-entry.c: Include errno.h.
49380         (__crypt_r): Return NULL with EINVAL for bad salt.
49381         * crypt/crypt_util.c (bad_for_salt): New.
49382         (_ufc_setup_salt_r): Check that salt is long enough and within
49383         the specified alphabet.
49384         * crypt/badsalttest.c: New file.
49385         * crypt/Makefile (tests): Add it.
49386         ($(objpfx)badsalttest): New.
49388 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
49390         * NEWS: Add entry for BZ #14602.
49392 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
49394         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
49395         type-generic.
49396         * math/libm-test.inc: Update comment listing what functions and
49397         macros are tested.
49398         (isgreater_test): New function.
49399         (isgreaterequal_test): Likewise.
49400         (isless_test): Likewise.
49401         (islessequal_test): Likewise.
49402         (islessgreater_test): Likewise.
49403         (isunordered_test): Likewise.
49404         (main): Call the new functions.
49406 2012-10-09  Roland McGrath  <roland@hack.frob.com>
49408         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
49409         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
49410         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
49411         * sysdeps/i386/configure: Regenerated.
49412         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
49413         * sysdeps/mach/configure: Regenerated.
49414         * sysdeps/mach/hurd/configure: Regenerated.
49415         * sysdeps/powerpc/configure: Regenerated.
49416         * sysdeps/powerpc/powerpc32/configure: Regenerated.
49417         * sysdeps/powerpc/powerpc64/configure: Regenerated.
49418         * sysdeps/s390/s390-32/configure: Regenerated.
49419         * sysdeps/s390/s390-64/configure: Regenerated.
49420         * sysdeps/sh/configure: Regenerated.
49421         * sysdeps/sparc/configure: Regenerated.
49422         * sysdeps/unix/sysv/linux/configure: Regenerated.
49423         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
49424         * sysdeps/x86_64/configure: Regenerated.
49426         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
49427         defined.  Don't check if MAP is NULL.
49429 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
49431         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
49432         (_G_stat64): Likewise.
49433         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
49434         (_G_stat64): Likewise.
49435         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
49436         instead of struct _G_stat64.
49437         * libio/fileops.c (mmap_remap_check): Likewise.
49438         (decide_maybe_mmap): Likewise.
49439         (_IO_new_file_seekoff): Likewise.
49440         (_IO_file_stat): Likewise.
49441         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
49442         _G_off64_t.
49443         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
49444         instead of struct _G_stat64.
49445         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
49447 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
49449         [BZ #14602]
49450         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
49451         Replace with ...
49452         (CHECK_EOL): New macro.
49453         (two_way_short_needle): Check beginning of haystack for EOL.  Use
49454         CHECK_EOL.
49455         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
49456         Replace with CHECK_EOL.
49457         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
49458         Replace with CHECK_EOL.
49460 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
49462         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
49463         type-generic.
49464         * math/libm-test.inc: Update comment listing what functions and
49465         macros are tested.
49466         (finite_test): New function.
49467         (isinf_test): Likewise.
49468         (isnan_test): Likewise.
49469         (fpclassify_test): Test subnormal input.
49470         (isfinite_test): Likewise.
49471         (isnormal_test): Likewise.
49472         (main): Call the new functions.
49474 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
49476         [BZ #14660]
49477         * Makerules (%.dynsym): Force C locale when running
49478         $(OBJDUMP) --dynamic-syms.
49480 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
49482         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
49483         <stdint.h>.
49485 2012-10-06  David S. Miller  <davem@davemloft.net>
49487         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
49488         upper 32-bits of the length value in %o2 since we use branch-on-register
49489         tests which consider the entire 64-bit register.
49491 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
49493         * string/test-strstr.c (check2): Add a test for page boundary.
49495 2012-10-05  David S. Miller  <davem@davemloft.net>
49497         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
49498         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
49499         file.
49500         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
49501         sysdep_routines.
49502         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
49503         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
49504         and bzero when HWCAP_SPARC_CRYPTO is present.
49506 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
49508         [BZ #14602]
49509         * string/test-strstr.c (check2): New function.
49510         (test_main): Call check2.
49512         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
49513         and bug-strchr1.
49514         * string/bug-strcasestr1.c (do_test): Moved to ...
49515         * string/test-strcasestr.c (check1): Here.  New function.
49516         (do_one_test): Break out result checking code into ...
49517         (check_result): This.  New function.
49518         (do_one_test): Call check_result.
49519         (test_main): Call check1.
49520         * string/bug-strchr1.c (do_test): Moved to ...
49521         * string/test-strchr.c (check1): Here.  New function.
49522         (do_one_test): Break out result checking code into ...
49523         (check_result): This.  New function.
49524         (do_one_test): Call check_result.
49525         (test_main): Call check1.
49526         * string/bug-strstr1.c (main): Moved to ...
49527         * string/test-strstr.c (check1): Here.  New function.
49528         (do_one_test): Break out result checking code into ...
49529         (check_result): This.  New function.
49530         (do_one_test): Call check_result.
49531         (test_main): Call check1.
49532         * string/bug-strcasestr1.c: Removed.
49533         * string/bug-strchr1.c: Likewise.
49534         * string/bug-strstr1.c: Likewise.
49536         * elf/Makefile (dl-routines): Add hwcaps.
49537         * elf/dl-support.c (_dl_important_hwcaps): Removed.
49538         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
49539         (_dl_important_hwcaps): Moved to ...
49540         * elf/dl-hwcaps.c: Here.  New file.
49541         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
49543         [BZ #14557]
49544         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
49545         if IS_IN_rtld isn't defined.
49547         * elf/dl-support.c (_dl_sysinfo_map): New.
49548         Include "get-dynamic-info.h" and "setup-vdso.h".
49549         (_dl_non_dynamic_init): Call setup_vdso.
49550         * elf/dynamic-link.h: Don't include <assert.h>.
49551         (elf_get_dynamic_info): Moved to ...
49552         * elf/get-dynamic-info.h: Here.  New file.
49553         * elf/dynamic-link.h: Include "get-dynamic-info.h".
49554         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
49555         * elf/setup-vdso.h: Here.  New file.
49556         * elf/rtld.c: Include "setup-vdso.h".
49557         (dl_main): Call setup_vdso.
49559 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
49561         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
49562         creal in comment listing functions tested.  List finite, isinf,
49563         isnan, isless, islessequal, isgreater, isgreaterequal,
49564         islessgreater, isunordered, lgamma_r and pow10 as functions and
49565         macros not tested.  Mention which functions not tested are aliases
49566         for other functions.  Fix typo.  Note that signs of NaNs are not
49567         tested.
49569         * scripts/config.guess: Update from config.git.
49570         * scripts/config.sub: Likewise.
49572 2012-10-04  Roland McGrath  <roland@hack.frob.com>
49574         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
49575         * misc/madvise.c (madvise): Renamed to __madvise.
49576         Make madvise a weak alias.
49577         * include/sys/mman.h: Declare __madvise.
49578         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
49579         * sysdeps/unix/syscalls.list
49580         (madvise): Make __madvise the strong name, and madvise a weak alias.
49581         * sysdeps/unix/sysv/linux/syscalls.list
49582         (madvise, mmap): Remove redundant entries.
49583         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
49584         * malloc/malloc.c (mtrim): Likewise.
49585         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
49587 2012-10-03  Roland McGrath  <roland@hack.frob.com>
49589         * sysdeps/mach/hurd/dl-cache.c: File removed.
49590         * config.h.in (USE_LDCONFIG): New #undef.
49591         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
49592         * configure: Regenerated.
49593         * elf/Makefile (dl-routines): Add dl-cache only under
49594         [$(use-ldconfig) = yes].
49595         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
49596         cache on [USE_LDCONFIG].
49597         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
49598         [USE_LDCONFIG].
49599         * elf/rtld.c (dl_main): Likewise.
49601 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
49603         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
49604         _SC_LEVEL4_CACHE_LINESIZE.
49606 2012-10-03  Roland McGrath  <roland@hack.frob.com>
49608         * sysdeps/unix/bsd/confstr.h: File removed.
49610 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
49612         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
49613         sys/sdt-config.h.
49615 2012-10-02  Roland McGrath  <roland@hack.frob.com>
49617         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
49618         Make 'mapoff' field ElfW(Off) rather than off_t.
49620 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
49622         * nscd/Makefile: Remove nscd-cflags and all its users.
49623         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
49624         (CFLAGS-nonlib): Add compiler flags for nscd modules.
49626         [BZ #10631]
49627         * malloc.c (malloc_printerr): Clarify error message.
49629 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
49631         [BZ #14648]
49632         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49633         Set bit_FMA_Usable if FMA is supported.
49634         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
49635         macro.
49636         (bit_FMA4_Usable): Updated.
49637         (index_FMA_Usable): New macro.
49638         (CPUID_FMA): Likewise
49639         (HAS_FMA): Defined with bit_FMA_Usable.
49641 2012-10-01  Roland McGrath  <roland@hack.frob.com>
49643         * bits/types.h (__swblk_t): Type removed.
49644         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
49645         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
49646         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49647         (__SWBLK_T_TYPE): Likewise.
49648         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
49649         (__SWBLK_T_TYPE): Likewise.
49650         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49651         (__SWBLK_T_TYPE): Likewise.
49652         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49653         (__SWBLK_T_TYPE): Likewise.
49655 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
49656             Honza Horak <hhorak@redhat.com>
49658         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
49659         (xdr_mapname): Use YPMAXMAP as maxsize.
49660         (xdr_peername): Use YPMAXPEER as maxsize.
49661         (xdr_keydat): Use YPAXRECORD as maxsize.
49662         (xdr_valdat): Use YPMAXRECORD as maxsize.
49664 2012-10-01  Roland McGrath  <roland@hack.frob.com>
49666         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
49668         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
49669         * csu/init-first.c: ... here.
49670         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
49671         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
49672         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
49673         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
49674         * sysdeps/i386/init-first.c: File removed.
49675         * sysdeps/sh/init-first.c: File removed.
49677 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
49679         [BZ #14645]
49680         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
49681         if x * y might underflow to zero and z is zero.
49682         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49683         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49684         * math/libm-test.inc (min_subnorm_value): New variable.
49685         (fma_test): Add more tests.
49686         (fma_test_towardzero): Likewise.
49687         (fma_test_downward): Likewise
49688         (fma_test_upward): Likewise.
49689         (initialize): Set min_subnorm_value.
49691 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
49693         [BZ #14638]
49694         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
49695         0 + 0.
49696         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
49697         mode for addition resulting in exact zero.
49698         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
49699         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
49700         exact 0 + 0.
49701         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
49702         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49703         * math/libm-test.inc (fma_test): Add more tests.
49704         (fma_test_towardzero): New function.
49705         (fma_test_downward): Likewise.
49706         (fma_test_upward): Likewise.
49707         (main): Call the new functions.
49709 2012-09-28  David S. Miller  <davem@davemloft.net>
49711         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
49713 2012-09-28  Roland McGrath  <roland@hack.frob.com>
49715         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
49716         instead of SIGALRM.
49718         * sysdeps/gnu/_G_config.h: Moved to ...
49719         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
49720         * sysdeps/mach/hurd/_G_config.h: Moved to ...
49721         * sysdeps/generic/_G_config.h: ... here.
49723         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
49725         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
49727         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
49728         Conditionalize target on [libnss_test1.so-version].
49730         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
49732         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
49733         (elfobjdir): Move out of conditionals.
49735         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
49736         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
49737         (__nss_lookup_function): Conditionalize label remove_from_tree on
49738         [!DO_STATIC_NSS || SHARED], matching its only use.
49740 2012-09-28  David S. Miller  <davem@davemloft.net>
49742         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
49743         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
49744         file.
49745         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
49746         sysdep_routines.
49747         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
49748         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
49749         when HWCAP_SPARC_CRYPTO is present.
49751 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
49753         * io/tst-mknodat.c: Create a FIFO instead of a socket.
49755 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
49757         [BZ #6530]
49758         * stdio-common/vfprintf.c (process_string_arg): Revert
49759         2000-07-22 change.
49761 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
49763         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
49764         for testcase.
49765         * stdio-common/tst-sprintf.c: Include <locale.h>
49766         (main): Test sprintf's handling of incomplete multibyte
49767         characters.
49769 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
49771         * elf/dl-runtime.c (VERSYMIDX): Removed.
49772         * elf/dl-version.c (VERSYMIDX): Likewise.
49773         * elf/do-rel.h (VERSYMIDX): Likewise.
49774         (VALIDX): Likewise.
49775         * elf/dynamic-link.h (VERSYMIDX): Likewise.
49776         * elf/rtld.c (VALIDX): Likewise.
49777         (ADDRIDX): Likewise.
49778         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
49779         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
49780         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
49781         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
49782         (VALIDX): Likewise.
49783         (ADDRIDX): Likewise.
49785 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
49787         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
49789 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
49791         [BZ #11438]
49792         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
49793         to global scope.
49794         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
49795         addresses are in the same scope as 192.0.2/24.
49796         * posix/gai.conf: Document new scope table defaults.
49798 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49800         [BZ #5298]
49801         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
49802         for ftell.  Compute offsets from write pointers instead.
49803         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
49805 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49807         [BZ #14543]
49808         * libio/Makefile (tests): New test case tst-fseek.
49809         * libio/tst-fseek.c: New test case to verify that fseek/ftell
49810         combination works in wide mode.
49811         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
49812         state when the external buffer state changes.
49814 2012-09-27  David S. Miller  <davem@davemloft.net>
49816         [BZ #14376]
49817         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
49818         pass reloc->r_addend in as the 'high' argument to
49819         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
49821         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49823 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
49825         * rt/tst-aio2.c: Include <pthread.h>.
49826         * rt/tst-aio3.c: Likewise.
49828 2012-09-27  Steve Ellcey  <sellcey@mips.com>
49830         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
49832 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
49834         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
49835         contents on [SHARED].
49837 2012-09-26  Marek Polacek  <polacek@redhat.com>
49839         [BZ #14530]
49840         [BZ #13741]
49841         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
49842         for C++ and GCC <4.3 as well as for non GCC compilers.
49844 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
49846         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49848 2012-09-25  Roland McGrath  <roland@hack.frob.com>
49850         * Makefile.in (all, install): Declare with .PHONY.
49851         Reported by Michael Hope <michael.hope@linaro.org>.
49853 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49855         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
49856         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
49857         system header.
49858         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
49859         Likewise.
49860         (sydep_routines): Add the new and the internal functions.
49861         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
49862         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
49863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
49864         (GLIBC_2.17): Add the new function.
49865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
49866         (GLIBC_2.17): Likewise.
49867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
49868         (GLIBC_2.17): Likewise.
49869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
49870         (GLIBC_2.17): Likewise.
49871         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
49873 2012-09-25  Alan Modra  <amodra@gmail.com>
49875         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
49876         Add release barrier before setting once_control to say
49877         initialisation is done.  Add hints on lwarx.  Use macro in
49878         place of isync.
49879         (clear_once_control): Add release barrier.
49881 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
49883         [BZ #13629]
49884         * math/s_clog.c (__clog): Handle more values close to |z| = 1
49885         specially.
49886         * math/s_clog10.c (__clog10): Likewise.
49887         * math/s_clog10f.c (__clog10f): Likewise.
49888         * math/s_clog10l.c (__clog10l): Likewise.
49889         * math/s_clogf.c (__clogf): Likewise.
49890         * math/s_clogl.c (__clogl): Likewise.
49891         * math/Makefile (libm-calls): Add x2y2m1.
49892         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
49893         (__x2y2m1): Likewise.
49894         (__x2y2m1l): Likewise.
49895         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
49896         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
49897         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
49898         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
49899         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
49900         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
49901         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
49902         * sysdeps/i386/fpu/libm-test-ulps: Update.
49903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49905         [BZ #14621]
49906         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
49907         int as type of variable DEPTH.
49908         (glob): Use size_t instead of int as type of variables NEWCOUNT
49909         and OLD_PATHC.
49911 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49913         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
49914         Add s_sincosf-sse2.
49915         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
49916         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
49917         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
49918         macros for using routine as __sincosf_ia32.
49919         Use macro for function declaration and weak_alias.
49920         * sysdeps/i386/fpu/libm-test-ulps: Update.
49922         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
49923         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49925         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
49926         subnormal argument.
49927         * math/s_cexpf.c (__cexpf): Likewise.
49928         * math/s_csinf.c (__csinf): Likewise.
49929         * math/s_csinhf.c (__csinhf): Likewise.
49930         * math/s_ctanf.c (__ctanf): Likewise.
49931         * math/s_ctanhf.c (__ctanhf): Likewise.
49932         * math/s_ccosh.c (__ccoshf): Likewise.
49933         * math/s_cexp.c (__cexpl): Likewise.
49934         * math/s_csin.c (__csin): Likewise.
49935         * math/s_csinh.c (__csinh): Likewise.
49936         * math/s_ctan.c (__ctan): Likewise.
49937         * math/s_ctanh.c (ctanh): Likewise.
49938         * math/s_ccoshl.c (__ccoshl): Likewise.
49939         * math/s_cexpl.c (__cexpl): Likewise.
49940         * math/s_csinl.c (__csinl): Likewise.
49941         * math/s_csinhl.c (__csinhl): Likewise.
49942         * math/s_ctanl.c (__ctanl): Likewise.
49943         * math/s_ctanhl.c (__ctanhl): Likewise.
49945 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
49947         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
49948         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
49949         (_IO_off_t): Define to __off_t, not _G_off_t.
49950         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
49951         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
49952         (_IO_wint_t): Define to wint_t, not _G_wint_t.
49953         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
49954         type of __dummy and __dummy2 fields.
49955         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
49956         (_G_ssize_t): Likewise.
49957         (_G_off_t): Likewise.
49958         (_G_pid_t): Likewise.
49959         (_G_uid_t): Likewise.
49960         (_G_wchar_t): Likewise.
49961         (_G_wint_t): Likewise.
49962         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
49963         (_G_ssize_t): Likewise.
49964         (_G_off_t): Likewise.
49965         (_G_pid_t): Likewise.
49966         (_G_uid_t): Likewise.
49967         (_G_wchar_t): Likewise.
49968         (_G_wint_t): Likewise.
49969         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
49970         (_G_ssize_t): Likewise.
49971         (_G_off_t): Likewise.
49972         (_G_pid_t): Likewise.
49973         (_G_uid_t): Likewise.
49974         (_G_wchar_t): Likewise.
49975         (_G_wint_t): Likewise.
49977 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49979         * malloc/arena.c: Include malloc-sysdep.h.
49980         (shrink_heap): Use check_may_shrink_heap to decide if madvise
49981         is sufficient to shrink the heap or an unmap is needed.
49982         * sysdeps/generic/malloc-sysdep.h: New file.  Define
49983         new function check_may_shrink_heap.
49984         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
49985         new function check_may_shrink_heap.
49987 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49989         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
49990         comments.
49992 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
49994         * catgets/test-gencat.sh: Add "set -e".
49995         * elf/tst-pathopt.sh: Likewise.
49996         * grp/tst_fgetgrent.sh: Likewise.
49997         * iconvdata/run-iconv-test.sh: Likewise.
49998         * intl/tst-gettext.sh: Likewise.
49999         * intl/tst-gettext2.sh: Likewise.
50000         * intl/tst-gettext4.sh: Likewise.
50001         * intl/tst-gettext6.sh: Likewise.
50002         * intl/tst-translit.sh: Likewise.
50003         * io/ftwtest-sh: Likewise.
50004         * libio/test-freopen.sh: Likewise.
50005         * malloc/tst-mtrace.sh: Likewise.
50006         * posix/globtest.sh: Likewise.
50007         * posix/tst-getconf.sh: Likewise.
50008         * posix/wordexp-tst.sh: Likewise.
50009         * stdio-common/tst-printf.sh: Likewise.
50010         * stdio-common/tst-unbputc.sh: Likewise.
50011         * stdlib/tst-fmtmsg.sh: Likewise.
50012         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
50013         * catgets/Makefile: Do not specify -e option when running
50014         testsuite shell scripts.
50015         * elf/Makefile: Likewise.
50016         * grp/Makefile: Likewise.
50017         * iconvdata/Makefile: Likewise.
50018         * intl/Makefile: Likewise.
50019         * io/Makefile: Likewise.
50020         * libio/Makefile: Likewise.
50021         * malloc/Makefile: Likewise.
50022         * posix/Makefile: Likewise.
50023         * stdio-common/Makefile: Likewise.
50024         * stdlib/Makefile: Likewise.
50025         * sysdeps/x86_64/Makefile: Likewise.
50027         * io/ftwtest-sh: Add copyright header.
50028         * posix/globtest.sh: Likewise.
50029         * posix/tst-getconf.sh: Likewise.
50030         * posix/wordexp-tst.sh: Likewise.
50031         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
50033 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
50035         [BZ #13679]
50036         * Makeconfig (+link): Defined as $(+link-static) if
50037         $(build-shared) isn't yes.
50038         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
50039         isn't yes.
50040         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
50042         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
50044         [BZ #14562]
50045         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
50046         new chunk size with MALLOC_ALIGN_MASK.
50048 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
50050         [BZ #5044]
50051         * stdio-common/printf_fphex.c: Include <stdbool.h> and
50052         <rounding-mode.h>.
50053         (__printf_fphex): Determine rounding using get_rounding_mode and
50054         round_away.
50055         * stdio-common/tst-printf-round.c (struct hex_test): New
50056         structure.
50057         (hex_tests): New variable.
50058         (test_hex_in_one_mode): New function.
50059         (do_test): Also run tests for hex float output.
50061 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
50063         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
50064         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
50065         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
50066         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
50067         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
50068         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
50069         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
50070         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
50072 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
50074         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
50075         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
50076         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
50077         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
50079 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
50081         [BZ #14579]
50082         * elf/rtld.c (dl_main): Limit the check for self loading to normal
50083         mode only.
50084         * elf/tst-rtld-load-self.sh: New test.
50085         * elf/Makefile: Run it.
50087 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
50089         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
50090         (tst-writev-ENV): Remove.
50091         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
50093 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
50095         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
50097 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
50099         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
50100         unconditional.
50101         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
50102         Likewise.
50103         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
50104         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
50105         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
50106         Likewise.
50108 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
50110         [BZ #14587]
50111         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
50112         * config.make.in (have-cpp-asm-debuginfo): Removed.
50113         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
50114         * configure: Regenerated.
50116 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
50118         [BZ #5044]
50119         * stdio-common/printf_fp.c: Include <stdbool.h> and
50120         <rounding-mode.h>.
50121         (___printf_fp): Determine rounding using get_rounding_mode and
50122         round_away.
50123         * stdio-common/tst-printf-round.c: New file.
50124         * stdio-common/Makefile (tests): Add tst-printf-round.
50125         (link-libm): New variable.
50126         ($(objpfx)tst-printf-round): Depend in $(link-libm).
50128 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
50130         [BZ #14576]
50131         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
50132         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
50133         Likewise.
50134         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
50135         Likewise.
50137 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
50139         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
50140         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
50141         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
50142         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
50144 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
50146         [BZ #14518]
50147         * include/rounding-mode.h: New file.
50148         * sysdeps/generic/get-rounding-mode.h: Likewise.
50149         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
50150         * stdlib/strtod_l.c: Include <rounding-mode.h>.
50151         (MAX_VALUE): New macro.
50152         (MIN_VALUE): Likewise.
50153         (overflow_value): New function.
50154         (underflow_value): Likewise.
50155         (round_and_return): Use overflow_value and underflow_value to
50156         determine return values in overflow and underflow cases.  Use
50157         round_away to determine rounding depending on rounding mode.
50158         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
50159         determine return values in overflow and underflow cases.
50160         * stdlib/tst-strtod-round.c: Include <fenv.h>.
50161         (struct test_results): New structure.
50162         (struct test): Use struct test_results to store expected results
50163         for all rounding modes.
50164         (TEST): Include expected results for all rounding modes.
50165         (test_in_one_mode): New function.
50166         (do_test): Use test_in_one_mode to compute and check results.
50167         Check results for all rounding modes.
50168         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
50169         $(link-libm).
50171 2012-12-09  Allan McRae  <allan@archlinux.org>
50173         * sysdeps/i386/fpu/libm-test-ulps: Update
50175 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
50177         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
50178         (_G_int32_t): Likewise.
50179         (_G_uint16_t): Likewise.
50180         (_G_uint32_t): Likewise.
50181         (_G_HAVE_BOOL): Likewise.
50182         (_G_HAVE_ATEXIT): Likewise.
50183         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
50184         (_G_HAVE_IO_FILE_OPEN): Likewise.
50185         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
50186         (_G_int32_t): Likewise.
50187         (_G_uint16_t): Likewise.
50188         (_G_uint32_t): Likewise.
50189         (_G_HAVE_BOOL): Likewise.
50190         (_G_HAVE_ATEXIT): Likewise.
50191         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
50192         (_G_HAVE_IO_FILE_OPEN): Likewise.
50193         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
50194         (_G_int32_t): Likewise.
50195         (_G_uint16_t): Likewise.
50196         (_G_uint32_t): Likewise.
50197         (_G_HAVE_BOOL): Likewise.
50198         (_G_HAVE_ATEXIT): Likewise.
50199         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
50200         (_G_HAVE_IO_FILE_OPEN): Likewise.
50202 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
50204         * csu/libc-tls.c: Update copyright years.
50206 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
50208         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
50209         [!_G_USING_THUNKS]: Remove conditional code.
50210         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
50211         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
50213         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
50214         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
50215         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
50216         (_G_VTABLE_LABEL_PREFIX): Likewise.
50217         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
50218         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
50219         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
50220         (_G_VTABLE_LABEL_PREFIX): Likewise.
50221         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
50222         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
50223         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
50224         (_G_VTABLE_LABEL_PREFIX): Likewise.
50225         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
50227 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
50229         * libio/Makefile: Include ../Makeconfig before tests.
50230         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
50231         only if $(build-shared) is yes.
50233         * iconv/gconv_db.c: Update copyright years.
50235 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50237         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
50238         unwind info if defined PIC. Fix special cases description.
50239         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
50241         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
50242         DP_HI_MASK entry.
50243         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
50245 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
50247         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
50249         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
50250         is NULL.
50252         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
50253         (LDLIBS-tst-chk4): This.
50254         (LDFLAGS-tst-chk5): Renamed to ...
50255         (LDLIBS-tst-chk5): This.
50256         (LDFLAGS-tst-chk6): Renamed to ...
50257         (LDLIBS-tst-chk6): This.
50258         (LDFLAGS-tst-lfschk4): Renamed to ...
50259         (LDLIBS-tst-lfschk4): This.
50260         (LDFLAGS-tst-lfschk5): Renamed to ...
50261         (LDLIBS-tst-lfschk5): This.
50262         (LDFLAGS-tst-lfschk6): Renamed to ...
50263         (LDLIBS-tst-lfschk6): This.
50265         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
50266         on $(common-objpfx)soversions.mk.
50268 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
50270         [BZ #10014]
50271         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
50272         example host name.
50274 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
50276         * malloc/arena.c (arena_get_retry): New function that gets
50277         another arena for the caller to try its request on.
50278         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
50279         current arena cannot fulfill the request.
50280         (__libc_memalign): Likewise.
50281         (__libc_memalign): Likewise.
50282         (__libc_pvalloc): Likewise.
50283         (__libc_calloc): Likewise.
50285 2012-09-05  John Tobey  <john.tobey@gmail.com>
50287         [BZ #13542]
50288         * manual/arith.texi (Operations on Complex): Fix description
50289         of carg branch cut.
50291 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
50293         [BZ #10014]
50294         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
50295         host name.
50297         [BZ #10038]
50298         * manual/memory.texi (Memory): Make order of menu items match
50299         order of sections.
50301 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
50303         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
50304         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
50305         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
50307 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
50309         * csu/libc-tls.c (static_dtv): Renamed to ...
50310         (_dl_static_dtv): This.  Make it global.
50311         (_dl_initial_dtv): Removed.
50312         (__libc_setup_tls): Updated.
50313         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
50314         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
50315         DL_INITIAL_DTV.
50317 2012-09-06  Petr Machata  <pmachata@redhat.com>
50319         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
50320         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
50321         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
50322         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
50324 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
50326         [BZ #14545]
50327         * csu/libc-tls.c (_dl_initial_dtv): New variable.
50328         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
50329         freeing dtv[-1].
50331 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
50333         [BZ #14544]
50334         * Makeconfig (link-static-before-libc): Replace $(+prector)
50335         with $(+prectorT).
50336         (link-static-after-libc): Replace $(+postctor) with
50337         $(+postctorT).
50338         (link-bounded): Replace $(+prector)/$(+postctor) with
50339         $(+prectorT)/$(+postctorT).
50340         (+prectorT): New macro.
50341         (+postctorT): Likewise.
50343 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
50345         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
50346         (round_str): Handle values above the maximum for IBM long double
50347         as inexact.
50348         * stdlib/tst-strtod-round.c (tests): Regenerated.
50350 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50352         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
50353         assembler flag.
50354         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
50355         zarch_nohighgprs around the zarch optimized routines.
50356         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
50357         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
50358         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
50359         for zarch.
50361 2012-09-05  David S. Miller  <davem@davemloft.net>
50363         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50365         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
50366         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
50367         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
50368         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50369         entries.
50371 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50373         * malloc/arena.c: Fold copyright years.
50374         * malloc/mcheck.c, malloc/memusage.c: Likewise.
50376 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50378         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
50380 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50382         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
50384 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50386         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
50387         change internal state upon failure.
50389 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50391         * malloc/mcheck.c (mcheck_check_all): Fix typo.
50392         * malloc/memusage.c (mmap): Likewise.
50393         (mmap64, mremap): Likewise.  Adjust name in comment.
50395 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50397         * libio/fileops.c: Fix typos in comments.
50398         * libio/oldfileops.c: Likewise.
50399         * libio/wfileops.c: Likewise.
50401 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50403         [BZ #1349]
50404         * malloc/Makefile (tests): Add tst-malloc-usable test case.
50405         (tst-malloc-usable-ENV): Set environment for test case.
50406         * malloc/hooks.c (malloc_check_get_size): New function to get
50407         requested size.
50408         * malloc/malloc.c (musable): Use malloc_check_get_size.
50409         * malloc/tst-malloc-usable.c: New test case.
50411 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
50413         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
50415 2012-09-05  Allan McRae  <allan@archlinux.org>
50417         [BZ #13966]
50418         * configure.in (CXX_SYSINCLUDES): Use compiler output to
50419         determine header location.
50420         * configure: Regenerated.
50422 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
50424         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
50425         float format.
50426         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
50427         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
50428         format.
50429         (test): Regenerate.
50431 2012-09-04  David S. Miller  <davem@davemloft.net>
50433         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
50434         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
50435         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
50437 2012-09-04  Florian Weimer  <fweimer@redhat.com>
50439         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
50440         failures.
50442         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
50444 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
50446         [BZ #9914]
50447         * libio/iogetdelim.c: Include <limits.h>.
50448         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
50449         + len + 1 would overflow.
50451 2012-09-03  Andreas Jaeger  <aj@suse.de>
50453         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50454         * sysdeps/i386/fpu/libm-test-ulps: Update.
50456 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50458         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
50459         Add s_sinf-sse2, s_conf-sse2.
50461         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
50462         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
50463         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
50464         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
50466         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
50467         for using routine as __sinf_ia32.
50468         Use macro for function declaration and weak_alias.
50469         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
50470         for using routine as __cosf_ia32.
50471         Use macro for function declaration and weak_alias.
50473         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
50474         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
50476         * sysdeps/x86_64/fpu/s_sinf.S: New file.
50477         * sysdeps/x86_64/fpu/s_cosf.S: New file.
50478         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50480         * math/libm-test.inc (cos_test): Add more test cases.
50481         (sin_test): Likewise.
50482         (sincos_test): Likewise.
50484 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50486         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
50487         (IFUNC_RESOLVE): Make pointers to the specialized implementations
50488         hidden.
50489         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
50491 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
50493         [BZ #14538]
50494         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
50495         first element of the GOT.
50496         (elf_machine_load_address): Return the difference between
50497         the runtime address of _DYNAMIC and elf_machine_dynamic ().
50499 2012-09-01  Allan McRae  <allan@archlinux.org>
50501         [BZ #13412]
50502         * configure.in (AWK): Require gawk version 3.0 or later.
50503         * configure: Regenerated.
50505 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
50507         * sysdeps/unix/sysv/linux/kernel-features.h
50508         (__ASSUME_POSIX_CPU_TIMERS): Remove.
50509         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
50510         [__NR_clock_getres]: Make code unconditional.
50511         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
50512         (clock_getcpuclockid): Remove code left unreachable by removal of
50513         conditionals.
50514         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
50515         code unconditional.
50516         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
50517         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
50518         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
50519         Make code unconditional.
50520         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
50521         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
50522         * sysdeps/unix/sysv/linux/clock_settime.c
50523         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
50524         conditional code.
50525         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
50526         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
50528 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
50530         [BZ #14476]
50531         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
50532         scripts/test-installation.pl.
50534         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
50535         and $ld_so_version if it is set.
50537 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50539         [BZ #14516]
50540         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
50541         failure if reading from procfs failed.
50542         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
50544 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
50546         * sysdeps/unix/sysv/linux/kernel-features.h
50547         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
50548         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
50549         Remove conditional code.
50550         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50551         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
50552         Remove conditional code.
50553         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50554         * sysdeps/unix/sysv/linux/i386/fxstat.c
50555         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
50556         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50557         * sysdeps/unix/sysv/linux/i386/fxstatat.c
50558         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
50559         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50560         * sysdeps/unix/sysv/linux/i386/lxstat.c
50561         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
50562         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50563         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
50564         Remove conditional code.
50565         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50566         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
50567         Remove conditional code.
50568         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50569         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
50570         <kernel-features.h>.
50571         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
50572         Remove.
50573         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
50574         Remove conditional code.
50575         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
50576         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
50577         Remove conditional.
50579 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
50581         [BZ #5400]
50582         * NEWS: Add fixed bug number.
50584 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
50586         [BZ #14519]
50587         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
50588         underflowing exponent in case of negative sign.
50589         * stdlib/tst-strtod-round-data: Add more tests.
50590         * stdlib/tst-strtod-round.c (tests): Regenerated.
50592         [BZ #3479]
50593         * stdlib/strtod_l.c (NDIG): Remove.
50594         (HEXNDIG): Likewise.
50595         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
50596         smallest representable value.
50597         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
50598         lie within an exact representation of 1/2 ulp of the result.
50599         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
50600         unconditionally.
50601         (TENS_P9_IDX): Define unconditionally.
50602         (TENS_P9_SIZE): Likewise.
50603         (TENS_P10_IDX): Likewise.
50604         (TENS_P10_SIZE): Likewise.
50605         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
50606         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
50607         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
50608         entries for 10^2^13 and 10^2^14.
50609         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
50610         (TENS_P13_IDX): Define.
50611         (TENS_P13_SIZE): Likewise.
50612         (TENS_P14_IDX): Likewise.
50613         (TENS_P14_SIZE): Likewise.
50614         (_fpioconst_pow10): Change array size to
50615         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
50616         unconditional.
50617         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
50618         1024]: Add entries for 10^2^13 and 10^2^14.
50619         [LAST_POW10 > _LAST_POW10]: Remove #error.
50620         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
50621         (_fpioconst_pow10): Change array size to
50622         FPIOCONST_POW10_ARRAY_SIZE.
50623         * stdlib/gen-fpioconst.c: New file.
50624         * stdlib/gen-tst-strtod-round.c: Likewise.
50625         * stdlib/tst-strtod-round-data: Likewise.
50626         * stdlib/tst-strtod-round.c: Likewise.
50627         * stdlib/Makefile (tests): Add tst-strtod-round.
50629         [BZ #14459]
50630         * stdlib/strtod_l.c: Include <stdint.h>.
50631         (NDEBUG): Do not define.
50632         (round_and_return): Change EXPONENT parameter to type intmax_t.
50633         Rearrange calculations to avoid internal overflow possibilities.
50634         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
50635         Rearrange calculations to avoid internal overflow possibilities.
50636         Assert that number fits inside MPNSIZE limbs.
50637         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
50638         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
50639         calculations and add assertions to avoid internal overflow
50640         possibilities.  Add casts to avoid signed/unsigned operations.
50641         * stdlib/tst-strtod-overflow.c: New file.
50642         * stdlib/Makefile (tests): Add tst-strtod-overflow.
50644 2012-08-25  Marek Polacek  <polacek@redhat.com>
50646         * time/time.h: Fix some typos in comments.
50648 2012-08-23  Roland McGrath  <roland@hack.frob.com>
50650         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
50651         * posix/tst-rfc3484-2.c: Likewise.
50652         * posix/tst-rfc3484-3.c: Likewise.
50654 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
50656         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
50657         (EF_ARM_ABI_FLOAT_HARD): Likewise.
50659 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
50661         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
50662         #include of fxstatat64.c.
50664 2012-08-22  Roland McGrath  <roland@hack.frob.com>
50666         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
50667         * shadow/getspent_r.c: Likewise.
50668         * shadow/getspnam.c: Likewise.
50669         * shadow/getspnam_r.c: Likewise.
50670         * gshadow/getsgent.c: Likewise.
50671         * gshadow/getsgent_r.c: Likewise.
50672         * gshadow/getsgnam.c: Likewise.
50673         * gshadow/getsgnam_r.c: Likewise.
50674         * inet/getnetbyad.c: Likewise.
50675         * inet/getnetbyad_r.c: Likewise.
50676         * inet/getnetbynm.c: Likewise.
50677         * inet/getnetbynm_r.c: Likewise.
50678         * inet/getnetent.c: Likewise.
50679         * inet/getnetent_r.c: Likewise.
50680         * inet/getproto.c: Likewise.
50681         * inet/getproto_r.c: Likewise.
50682         * inet/getprtent.c: Likewise.
50683         * inet/getprtent_r.c: Likewise.
50684         * inet/getprtname.c: Likewise.
50685         * inet/getprtname_r.c: Likewise.
50686         * inet/getrpcbyname.c: Likewise.
50687         * inet/getrpcbyname_r.c: Likewise.
50688         * inet/getrpcbynumber.c: Likewise.
50689         * inet/getrpcbynumber_r.c: Likewise.
50690         * inet/getrpcent.c: Likewise.
50691         * inet/getrpcent_r.c: Likewise.
50692         * inet/getaliasent.c: Likewise.
50693         * inet/getaliasent_r.c: Likewise.
50694         * inet/getaliasname.c: Likewise.
50695         * inet/getaliasname_r.c: Likewise.
50696         * nscd/getgrgid_r.c: Likewise.
50697         * nscd/getgrnam_r.c: Likewise.
50698         * nscd/gethstbyad_r.c: Likewise.
50699         * nscd/gethstbynm3_r.c: Likewise.
50700         * nscd/getpwnam_r.c: Likewise.
50701         * nscd/getpwuid_r.c: Likewise.
50702         * nscd/getsrvbynm_r.c: Likewise.
50703         * nscd/getsrvbypt_r.c: Likewise.
50704         * nscd/gai.c: Likewise.
50706         * configure.in (build_nscd): New substituted variable, set
50707         by --disable-build-nscd and defaults to $use_nscd.
50708         * configure: Regenerated.
50709         * config.make.in (build-nscd): New substituted variable.
50710         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
50711         Change conditional to require [$(build-nscd) = yes] as well.
50712         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
50714         [BZ# 13696]
50715         * configure.in (use_nscd): New substituted variable, set by
50716         --disable-nscd.  If enabled, define USE_NSCD.
50717         * configure: Regenerated.
50718         * config.h.in: Add USE_NSCD.
50719         * config.make.in (use-nscd): New substituted variable.
50720         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
50721         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
50722         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
50723         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
50724         (CFLAGS-getgrnam_r.c): Likewise.
50725         (CFLAGS-initgroups.c): Likewise.
50726         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
50727         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
50728         Variables removed.
50729         * inet/getnetgrent_r.c
50730         (nscd_setnetgrent): New function, broken out of ...
50731         (setnetgrent): ... here.  Call it.
50732         (innetgr): Conditionalize nscd bits on [USE_NSCD].
50733         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
50734         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
50735         * nscd/Makefile (routines, aux): Move definitions after include of
50736         Makeconfig.  Conditionalize on [$(use-nscd) != no].
50737         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
50738         Conditionalize on [USE_NSCD].
50739         (is_nscd, nscd_init_cb): Likewise.
50740         (nss_load_library): Conditionalize init callback on [USE_NSCD].
50741         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
50742         * nss/nss_db/db-init.c: Likewise.
50743         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
50744         [USE_NSCD].
50745         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
50746         (make_request): Use it.
50747         (cache_valid_p): New function.
50748         (__check_pf): Use it.
50749         * NEWS: Add item for --disable-nscd.
50751 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
50753         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
50754         to support sed >= 4.2.1-20-ga9bf076.
50755         * configure: Regenerated.
50757 2012-08-22  Roland McGrath  <roland@hack.frob.com>
50759         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
50760         Conditionalize whole body on [IREL].
50762 2012-08-22  Jeff Law <law@redhat.com>
50764         [BZ #14505]
50765         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
50766         if the family is PF_UNSPEC.
50768 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
50770         * Makerules (lib-version): Rename from V.
50771         (install-lib-nosubdir): Change V to lib-version.
50773 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
50775         [BZ #14252]
50776         * powerpc32/power6/wcschr.c: New file.
50777         * powerpc32/power6/wcscpy.c: New file.
50778         * powerpc32/power6/wcsrchr.c: New file.
50779         * powerpc64/power6/wcschr.c: New file.
50780         * powerpc64/power6/wcscpy.c: New file.
50781         * powerpc64/power6/wcsrchr.c: New file.
50783 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
50785         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
50786         (two_way_short_needle): Use it.
50787         * string/strstr.c (AVAILABLE1_USES_J): Define.
50788         * string/strcasestr.c: Likewise.
50790         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
50791         array references.
50792         * string/strcasestr.c (TOLOWER): Make side-effect safe.
50794         [BZ #11607]
50795         * NEWS: Add an entry.
50796         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
50797         define their defaults.
50798         (two_way_short_needle): Detect end-of-string on-the-fly.
50799         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
50800         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
50801         * string/bug-strcasestr1.c: New test.
50802         * string/Makefile: Run it.
50804 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
50806         [BZ #11607]
50807         * string/str-two-way.h (two_way_short_needle): Optimize matching of
50808         the first character.
50810 2012-08-21  Roland McGrath  <roland@hack.frob.com>
50812         * csu/elf-init.c (__libc_csu_irel): Function removed.
50813         * csu/libc-start.c (apply_irel): New function.
50814         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
50816 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
50818         * sysdeps/unix/sysv/linux/kernel-features.h
50819         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
50820         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
50821         <kernel-features.h>.
50822         [__NR_fadvise64_64]: Make code unconditional.
50823         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
50824         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
50825         !__NR_fadvise64_64)]: Likewise.
50826         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
50827         !__NR_fadvise64_64))]: Likewise.
50828         [__NR_fadvise64]: Make code unconditional.
50829         [!__NR_fadvise64]: Remove conditional code.
50830         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
50831         <kernel-features.h>.
50832         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
50833         unconditional.
50834         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
50835         conditional code.
50836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
50837         not include <kernel-features.h>.
50838         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
50839         unconditional.
50840         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
50841         conditional code.
50842         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
50843         include <kernel-features.h>.
50844         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
50845         unconditional.
50846         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
50847         conditional code.
50849 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
50851         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
50852         slight instruction rearrangements per scrollpipe analysis.
50853         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
50855 2012-08-20  Roland McGrath  <roland@hack.frob.com>
50857         * manual/syslog.texi (syslog; vsyslog, closelog):
50858         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
50859         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
50861         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
50862         DSOCAPS to match condition on defining it.
50864 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
50866         * sysdeps/unix/sysv/linux/kernel-features.h
50867         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
50868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
50869         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
50870         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
50871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
50872         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
50873         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
50874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
50875         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
50876         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
50878         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
50879         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
50881         * sysdeps/unix/sysv/linux/kernel-features.h
50882         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
50883         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
50884         unconditional.
50885         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50886         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
50887         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
50888         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50889         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
50890         Make code unconditional.
50891         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50892         (__mmap64) [!__NR_mmap2]: Likewise.
50893         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
50894         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
50895         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50896         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
50897         [__NR_mmap2]: Make code unconditional.
50898         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
50899         (__mmap64) [!__NR_mmap2]: Likewise.
50901 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50903         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
50905 2012-08-18  Andreas Jaeger  <aj@suse.de>
50907         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
50909 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
50911         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
50912         * include/unistd.h (__have_sock_cloexec): Likewise.
50913         (__have_pipe2): Likewise.
50914         (__have_dup3): Likewise.
50916 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
50918         [BZ #9685]
50919         * include/unistd.h (__have_pipe2): Change define into an extern int.
50920         (__have_dup3): Likewise.
50921         * socket/have_sock_cloexec.c: Include fcntl.h.
50922         (__have_pipe2): New variable.
50923         (__have_dup3): Likewise.
50925 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
50927         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
50929 2012-08-17  Marek Polacek  <polacek@redhat.com>
50931         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
50932         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
50934 2012-08-17  Roland McGrath  <roland@hack.frob.com>
50936         * configure.in: Add AC_SUBST for sysheaders.
50937         * configure: Regenerated.
50938         * config.make.in (sysheaders): New substituted variable.
50940         * sysdeps/unix/mkfifo.c: Moved ...
50941         * sysdeps/posix/mkfifo.c: ... here.
50942         * sysdeps/unix/mkfifoat.c: Moved ...
50943         * sysdeps/posix/mkfifoat.c: ... here.
50945         * sysdeps/unix/utime.c: Moved ...
50946         * sysdeps/posix/utime.c: ... here.
50948         * sysdeps/unix/time.c: Moved ...
50949         * sysdeps/posix/time.c: ... here.
50950         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
50951         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
50953         * sysdeps/unix/nice.c: Moved ...
50954         * sysdeps/posix/nice.c: ... here.
50956         * sysdeps/unix/alarm.c: Moved ...
50957         * sysdeps/posix/alarm.c: ... here.
50959         * intl/Makefile ($(codeset_mo)): Depend on the input file.
50961 2012-08-17  Jeff Law <law@redhat.com>
50963         * intl/Makefile (codeset_mo): New variable.
50964         ($(codeset_mo)): New target.
50965         (tst-codeset.out): Depend on that.  Remove explicit rule.
50966         (tst-gettext3.out, tst-gettext5.out): Likewise.
50967         (LOCPATH-ENV, tst-codeset-ENV): New variables.
50968         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
50969         * intl/tst-codeset.sh: Remove.
50970         * intl/tst-gettext3.sh: Likewise.
50971         * intl/tst-gettext5.sh: Likewise.
50973 2012-08-17  Roland McGrath  <roland@hack.frob.com>
50975         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
50976         * sysdeps/unix/syscalls.list: ... here.
50978         * sysdeps/posix/getaddrinfo.c
50979         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
50980         (gaiconf_init, gaiconf_reload): Use them.
50981         [!_STATBUF_ST_NSEC]
50982         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
50983         Define using time_t rather than struct timespec.
50985         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
50986         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
50987         Macros removed.
50988         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
50989         [!NO_THREADS].
50990         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
50991         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
50992         Likewise.
50994         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
50995         __libc_cleanup_push argument.
50997         * bits/param.h: New file.
50998         * misc/sys/param.h: New file.
50999         * include/sys/param.h: New file.
51000         * misc/Makefile (headers): Add bits/param.h.
51001         * sysdeps/generic/sys/param.h: File removed.
51002         * sysdeps/unix/sysv/linux/bits/param.h: New file.
51003         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
51004         * sysdeps/mach/hurd/bits/param.h: New file.
51005         * sysdeps/mach/hurd/sys/param.h: File removed.
51007         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
51008         last change.
51010         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
51011         [_IO_MTSAFE_IO].
51012         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
51013         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
51014         New macros.
51016         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
51017         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
51018         rather than -D_IO_MTSAFE_IO conditionally.
51019         * stdio-common/Makefile (CPPFLAGS): Likewise.
51020         * wcsmbs/Makefile (CPPFLAGS): Likewise.
51021         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
51022         Use $(libio-mtsafe).
51023         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
51024         of -D_IO_MTSAFE_IO.
51025         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
51026         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
51027         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
51028         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
51029         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
51030         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
51031         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
51032         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
51033         (CFLAGS-fread_u_chk.c): Likewise.
51034         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
51035         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
51036         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
51037         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
51038         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
51039         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
51040         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
51041         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
51042         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
51044         * libio/Makefile: Test [$(libc-reentrant) = yes]
51045         instead of [$(filter %REENTRANT, $(defines)) nonempty].
51047         * Makeconfig
51048         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
51049         * sysdeps/pthread/configure: File removed.
51050         * sysdeps/pthread/Makeconfig: New file.
51051         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
51052         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
51054 2012-08-16  Gary Benson  <gbenson@redhat.com>
51056         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
51057         unmapping the first object in a namespace.
51059 2012-08-16  Roland McGrath  <roland@hack.frob.com>
51061         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
51062         (__internal_setnetgrent): ... this.  Add internal_function to
51063         definition.  Add libc_hidden_def.
51064         (setnetgrent): Update caller.
51065         (internal_endnetgrent): Renamed to ...
51066         (__internal_endnetgrent): ... this.  Add internal_function to
51067         definition.  Add libc_hidden_def.
51068         (endnetgrent): Update caller.
51069         (internal_getnetgrent_r): Renamed to ...
51070         (__internal_getnetgrent_r): ... this.  Add internal_function to
51071         definition.  Add libc_hidden_def.
51072         (__getnetgrent_r): Update caller.
51073         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
51075 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
51077         * stdlib/longlong.h: Update from GCC.
51079 2012-08-16  Roland McGrath  <roland@hack.frob.com>
51081         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
51082         on _QL, which is set by umul_ppmm but never used.
51083         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
51084         variables, which are set by GMP macros but never used.
51085         * stdio-common/_itowa.c (_itowa): Likewise.
51086         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
51087         * stdlib/mod_1.c (mpn_mod_1): Likewise.
51089 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
51091         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
51092         struct La_sh_regs is not constant.
51093         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
51094         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
51095         and struct La_sparc64_regs are not constant.
51097 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
51099         * sysdeps/unix/sysv/linux/kernel-features.h
51100         (__ASSUME_POSIX_TIMERS): Remove.
51101         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
51102         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
51103         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
51104         Make code unconditional.
51105         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
51106         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
51107         Make code unconditional.
51108         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
51109         * sysdeps/unix/sysv/linux/clock_nanosleep.c
51110         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
51111         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
51112         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
51113         Make code unconditional.
51114         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
51115         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
51116         (__libc_missing_posix_timers): Remove.
51118 2012-08-15  Roland McGrath  <roland@hack.frob.com>
51120         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
51121         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
51123         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
51125         * elf/dl-sym.c: Include <stdlib.h>.
51127         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
51128         constants, which avoids warnings in 32-bit builds.
51130         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
51131         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
51133         * misc/lseek.c: File moved to ...
51134         * io/lseek.c: ... here.
51136         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
51138         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
51139         shifting LEN more than 31 bits at once.
51141 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51143         [BZ #14195]
51144         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
51145         segmentation fault for a case of two empty input strings.
51146         * string/test-strncasecmp.c (check1): Renamed to...
51147         (bz12205): ...this.
51148         (bz14195): Add new testcase for two empty input strings and N > 0.
51149         (test_main): Call new testcase, adapt for renamed function.
51151 2012-08-15  Andreas Jaeger  <aj@suse.de>
51153         [BZ #14090]
51154         * crypt/md5test2.c: New test, based on test supplied by Serge
51155         Belyshev <belyshev@depni.sinp.msu.ru>.
51156         * crypt/Makefile (xtests): Add md5test-giant..
51157         * crypt/Makefile ($(objpfx)md5test-giant): Add.
51159 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
51161         [BZ #14090]
51162         * crypt/md5.c (md5_process_block): Don't assume the buffer
51163         length is less than 2**32.
51164         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
51165         length is less than 2**64.
51167 2012-08-15  Roland McGrath  <roland@hack.frob.com>
51169         * string/str-two-way.h: Include <sys/param.h>.
51170         (MAX): Macro removed.
51172         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
51173         Move #define and #undef of memmove to just before and after
51174         including <string.h>.
51176         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
51177         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
51178         and after including <string.h>.  Move declarations of
51179         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
51180         to before #include "string/memmove.c".
51182         * include/dirent.h: Declare __getdirentries.
51184         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
51185         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
51187 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
51189         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
51190         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
51191         * sysdeps/i386/configure: Regenerated.
51192         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
51193         STABS_CURRENT_FILE, and STABS_FUN.
51194         (END): Remove call to STABS_FUN_END.
51195         (STABS_CURRENT_FILE1): Delete.
51196         (STABS_CURRENT_FILE): Likewise.
51197         (STABS_FUN): Likewise.
51198         (STABS_FUN_END): Likewise.
51199         (STABS_FUN2): Likewise.
51200         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
51201         * sysdeps/x86_64/configure: Regenerated.
51203 2012-08-14  Roland McGrath  <roland@hack.frob.com>
51205         * elf/dl-open.c: Include <atomic.h>.
51206         * elf/dl-lookup.c: Likewise.
51208 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
51210         * sysdeps/unix/sysv/linux/kernel-features.h
51211         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
51212         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
51213         unconditionally.
51214         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
51215         unconditionally.
51216         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
51217         condition on __ASSUME_CLONE_THREAD_FLAGS.
51219 2012-08-14  Andreas Jaeger  <aj@suse.de>
51221         * sysdeps/i386/fpu/libm-test-ulps: Update.
51223 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
51225         * include/atomic.h (atomic_exchange_and_add): Split into ...
51226         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
51227         New atomic macros.
51229 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
51231         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51233 2012-08-13  Jeff Law <law@redhat.com>
51235         * manual/stdio.texi (snprintf): Clarify handling of the trailing
51236         null byte in the output string.
51238 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
51240         * sysdeps/unix/sysv/linux/kernel-features.h
51241         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
51242         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
51243         (__ASSUME_ARG_MAX_STACK_BASED): Define.
51244         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
51245         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
51246         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
51247         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
51249 2012-08-09  Jeff Law <law@redhat.com>
51251         [BZ #13939]
51252         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
51253         When avoid_arena is set, don't retry in the that arena.  Pick the
51254         next one, whatever it might be.
51255         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
51256         (arena_lock): Pass in new parameter to arena_get2.
51257         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
51258         arena_get2.
51259         (__libc_malloc): Unify retrying after main arena failure with
51260         __libc_memalign version.
51261         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
51263 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
51265         [BZ #14166]
51266         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
51267         to __redirect_strstr.
51268         (__strstr_sse42): Use typeof __redirect_strstr.
51269         (__strstr_ia32): Likewise.
51270         (__libc_strstr): New prototype.
51271         (strstr): Renamed to ...
51272         (__libc_strstr): This.
51273         (strstr): New strong alias of __libc_strstr.
51274         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
51275         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
51276         __redirect_time.
51277         Include <time.h>.
51278         (__libc_time): New prototype.
51279         (time_ifunc): Replace time with __libc_time.
51280         (time): New strong alias and hidden definition of __libc_time.
51281         (__GI_time): Remove strong alias.
51282         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
51283         Include <stddef.h>.
51284         (memmove): Redefined to __redirect_memmove.
51285         (__memmove_sse2): Use typeof __redirect_memmove.
51286         (__memmove_ssse3): Likewise.
51287         (__memmove_ssse3_back): Likewise.
51288         (__libc_memmove): New prototype.
51289         (memmove): Renamed to ...
51290         (__libc_memmove): This.
51291         (memmove): New strong alias of __libc_memmove.
51293 2012-08-08  Mark Salter  <msalter@redhat.com>
51295         * elf/elf.h
51296         (R_MN10300_TLS_GD): Define.
51297         (R_MN10300_TLS_LD): Likewise.
51298         (R_MN10300_TLS_LDO): Likewise.
51299         (R_MN10300_TLS_GOTIE): Likewise.
51300         (R_MN10300_TLS_IE): Likewise.
51301         (R_MN10300_TLS_LE): Likewise.
51302         (R_MN10300_TLS_DTPMOD): Likewise.
51303         (R_MN10300_TLS_DTPOFF): Likewise.
51304         (R_MN10300_TLS_TPOFF): Likewise.
51305         (R_MN10300_SYM_DIFF): Likewise.
51306         (R_MN10300_ALIGN): Likewise.
51307         (R_MN10300_NUM): Update.
51309 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
51311         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
51312         Remove.
51314 2012-08-08  Roland McGrath  <roland@hack.frob.com>
51316         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
51318         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
51319         sysdeps/unix -> sysdeps/posix move.
51320         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
51322 2012-08-07      Allan McRae     <allan@archlinux.org>
51324         [BZ #14303]
51325         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
51326         (SUNOS_CPP): Likewise.
51327         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
51328         not found.
51329         (open_input): Call CPP using execvp.
51331 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
51333         * sysdeps/unix/sysv/linux/kernel-features.h
51334         (__ASSUME_PROT_GROWSUPDOWN): Remove.
51335         (__ASSUME_NO_CLONE_DETACHED): Likewise.
51336         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
51337         (__ASSUME_WAITID_SYSCALL): Likewise.
51338         * sysdeps/unix/sysv/linux/dl-execstack.c
51339         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
51340         code unconditional.
51341         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
51342         conditional code.
51343         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
51344         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
51345         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
51346         code.
51347         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
51348         unconditional.
51349         [__ASSUME_WAITID_SYSCALL]: Likewise.
51350         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
51352 2012-08-07  Roland McGrath  <roland@hack.frob.com>
51354         * sysdeps/unix/closedir.c: Renamed to ...
51355         * sysdeps/posix/closedir.c: ... here.
51356         * sysdeps/unix/dirfd.c: Renamed to ...
51357         * sysdeps/posix/dirfd.c: ... here.
51358         * sysdeps/unix/dirstream.h: Renamed to ...
51359         * sysdeps/posix/dirstream.h: ... here.
51360         * sysdeps/unix/fdopendir.c: Renamed to ...
51361         * sysdeps/posix/fdopendir.c: ... here.
51362         * sysdeps/unix/opendir.c: Renamed to ...
51363         * sysdeps/posix/opendir.c: ... here.
51364         * sysdeps/unix/readdir.c: Renamed to ...
51365         * sysdeps/posix/readdir.c: ... here.
51366         * sysdeps/unix/readdir_r.c: Renamed to ...
51367         * sysdeps/posix/readdir_r.c: ... here.
51368         * sysdeps/unix/rewinddir.c: Renamed to ...
51369         * sysdeps/posix/rewinddir.c: ... here.
51370         * sysdeps/unix/seekdir.c: Renamed to ...
51371         * sysdeps/posix/seekdir.c: ... here.
51372         * sysdeps/unix/telldir.c: Renamed to ...
51373         * sysdeps/posix/telldir.c: ... here.
51374         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
51375         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
51376         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
51377         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
51379         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
51380         * bits/fcntl.h: ... here.
51382         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
51383         not 0.
51384         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
51385         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
51386         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
51387         (struct flock): Move l_start, l_len to the beginning.
51388         Use __pid_t for l_pid.
51389         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
51390         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
51391         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
51392         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
51393         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
51394         [__USE_LARGEFILE64] (struct flock64): New type.
51395         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
51397         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
51398         * bits/dirent.h: ... here.
51400         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
51401         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
51403 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
51405         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
51406         Change from 2.6.0 to 2.6.16.
51407         * sysdeps/unix/sysv/linux/configure: Regenerated.
51408         * sysdeps/unix/sysv/linux/kernel-features.h
51409         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
51410         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
51411         version.
51412         (__ASSUME_UTIMES): Likewise.
51413         (__ASSUME_CLONE_STOPPED): Remove.
51414         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
51415         architectures, not kernel version.
51416         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
51417         (__ASSUME_NO_CLONE_DETACHED): Likewise.
51418         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
51419         (__ASSUME_WAITID_SYSCALL): Likewise.
51420         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
51421         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
51422         * README: State 2.6.16 as minimum Linux kernel version.  Do not
51423         refer to older versions.
51425 2012-08-06  Roland McGrath  <roland@hack.frob.com>
51427         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
51428         Define alphasort64 as an alias.
51429         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
51430         Define versionsort64 as an alias.
51431         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
51432         Define scandir64 as an alias.
51433         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
51434         Define scandirat64 as an alias.
51435         * dirent/alphasort64.c (alphasort64):
51436         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
51437         * dirent/versionsort64.c: Likewise.
51438         * dirent/scandir64.c: Likewise.
51439         * dirent/scandirat64.c: Likewise.
51440         * sysdeps/wordsize-64/alphasort.c: File removed.
51441         * sysdeps/wordsize-64/alphasort64.c: File removed.
51442         * sysdeps/wordsize-64/scandir.c: File removed.
51443         * sysdeps/wordsize-64/scandir64.c: File removed.
51444         * sysdeps/wordsize-64/scandirat.c: File removed.
51445         * sysdeps/wordsize-64/scandirat64.c: File removed.
51446         * sysdeps/wordsize-64/versionsort.c: File removed.
51447         * sysdeps/wordsize-64/versionsort64.c: File removed.
51448         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
51449         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
51450         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
51451         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
51452         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
51453         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
51454         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
51455         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
51457         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
51458         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
51459         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
51460         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51461         [defined __arch64__ || defined __sparcv9]
51462         (__INO_T_MATCHES_INO64_T): New macro.
51463         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
51464         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
51465         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
51466         * sysdeps/unix/sysv/linux/bits/dirent.h
51467         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
51468         (_DIRENT_MATCHES_DIRENT64): New macro.
51470         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
51471         Define lockf64 as an alias.
51472         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
51473         Define fseeko64 as an alias.
51474         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
51475         Define ftello64 as an alias.
51476         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
51477         Define _IO_fgetpos64 and fgetpos64 as aliases.
51478         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
51479         Define _IO_fsetpos64 and fsetpos64 as aliases.
51480         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
51481         Conditionalize body on this.
51482         * libio/fseeko64.c: Likewise.
51483         * libio/ftello64.c: Likewise.
51484         * libio/iofgetpos64.c: Likewise.
51485         * libio/iofsetpos64.c: Likewise.
51486         * sysdeps/wordsize-64/lockf.c: File removed.
51487         * sysdeps/wordsize-64/lockf64.c: File removed.
51488         * sysdeps/wordsize-64/fseeko.c: File removed.
51489         * sysdeps/wordsize-64/fseeko64.c: File removed.
51490         * sysdeps/wordsize-64/ftello.c: File removed.
51491         * sysdeps/wordsize-64/ftello64.c: File removed.
51492         * sysdeps/wordsize-64/iofgetpos.c: File removed.
51493         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
51494         * sysdeps/wordsize-64/iofsetpos.c: File removed.
51495         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
51496         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
51497         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
51498         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
51499         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
51500         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
51501         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
51502         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
51503         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
51504         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
51505         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
51507         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
51508         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
51509         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
51510         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51511         [defined __arch64__ || defined __sparcv9]
51512         (__OFF_T_MATCHES_OFF64_T): New macro.
51513         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
51514         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
51515         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51516         (__OFF_T_MATCHES_OFF64_T): New macro.
51518 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
51520         * stdlib/secure-getenv.c (__secure_getenv): Replace
51521         GLIBC_2_16 with GLIBC_2_17.
51523 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
51525         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
51526         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
51528 2012-08-03  David S. Miller  <davem@davemloft.net>
51530         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51532 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
51534         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
51535         Remove.
51536         (__ASSUME_CORRECT_SI_PID): Likewise.
51537         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
51538         (__ASSUME_TMPFS_NAME): Likewise.
51539         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
51540         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
51541         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
51542         (HAVE_AUX_SECURE): Make definition unconditional.
51543         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
51544         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
51546 2012-08-03  Roland McGrath  <roland@hack.frob.com>
51548         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
51549         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
51550         * sysdeps/mach/hurd/eloop-threshold.h: New file.
51551         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
51552         __eloop_threshold instead of SYMLOOP_MAX.
51554         * sysdeps/generic/eloop-threshold.h: New file.
51555         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
51556         of MAXSYMLINKS.
51557         * elf/chroot_canon.c (chroot_canon): Likewise.
51559 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
51561         [BZ #13717]
51562         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
51563         Change to 2.6.0 everywhere.
51564         * sysdeps/unix/sysv/linux/configure: Regenerated.
51565         * sysdeps/unix/sysv/linux/kernel-features.h
51566         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
51567         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
51568         kernel versions.
51569         (__ASSUME_POSIX_TIMERS): Define unconditionally.
51570         (__ASSUME_FUTEX_REQUEUE): Remove.
51571         (__ASSUME_STATFS64): Define unconditionally.
51572         (__ASSUME_AT_SECURE): Likewise.
51573         (__ASSUME_CORRECT_SI_PID): Likewise.
51574         (__ASSUME_TGKILL): Define without depending on kernel version for
51575         i386.
51576         (__ASSUME_UTIMES): Likewise.
51577         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
51578         kernel version.
51579         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
51580         (__ASSUME_TMPFS_NAME): Likewise.
51581         * README: Update reference to Linux kernel versions.
51583 2012-08-02  Marek Polacek  <polacek@redhat.com>
51585         [BZ# 14150]
51586         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
51587         libc_cv_asm_type_prefix with %.
51588         * configure: Regenerated.
51589         * include/libc-symbols.h: Remove comment about
51590         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
51591         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
51592         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
51593         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
51594         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
51595         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
51596         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
51597         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
51598         * elf/tst-unique2mod1.c: Likewise.
51599         * elf/tst-unique1mod2.c: Likewise.
51600         * elf/tst-unique1mod1.c: Likewise.
51601         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
51602         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
51603         Replace ASM_TYPE_DIRECTIVE with .type.
51604         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51605         * sysdeps/i386/sysdep.h: Likewise.
51606         * sysdeps/x86_64/sysdep.h: Likewise.
51607         * sysdeps/sh/sysdep.h: Likewise.
51608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
51609         Do not define ASM_TYPE_DIRECTIVE.
51610         * sysdeps/powerpc/sysdep.h: Likewise.
51611         * sysdeps/powerpc/powerpc32/sysdep.h:
51612         Replace ASM_TYPE_DIRECTIVE with .type.
51613         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
51614         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
51615         * sysdeps/i386/fpu/e_powf.S: Likewise.
51616         * sysdeps/i386/fpu/e_expl.S: Likewise.
51617         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51618         * sysdeps/i386/fpu/e_acosh.S: Likewise.
51619         * sysdeps/i386/fpu/e_pow.S: Likewise.
51620         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
51621         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51622         * sysdeps/i386/fpu/s_expm1.S: Likewise.
51623         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
51624         * sysdeps/i386/fpu/e_log2.S: Likewise.
51625         * sysdeps/i386/fpu/e_log2l.S: Likewise.
51626         * sysdeps/i386/fpu/e_scalb.S: Likewise.
51627         * sysdeps/i386/fpu/e_powl.S: Likewise.
51628         * sysdeps/i386/fpu/e_log10f.S: Likewise.
51629         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
51630         * sysdeps/i386/fpu/e_logl.S: Likewise.
51631         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
51632         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
51633         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
51634         * sysdeps/i386/fpu/e_log2f.S: Likewise.
51635         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51636         * sysdeps/i386/fpu/e_log.S: Likewise.
51637         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51638         * sysdeps/i386/fpu/e_logf.S: Likewise.
51639         * sysdeps/i386/fpu/e_log10l.S: Likewise.
51640         * sysdeps/i386/fpu/e_atanh.S: Likewise.
51641         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
51642         * sysdeps/i386/fpu/e_log10.S: Likewise.
51643         * sysdeps/i386/fpu/s_frexp.S: Likewise.
51644         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51645         * sysdeps/i386/fpu/s_asinh.S: Likewise.
51646         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
51647         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51648         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
51649         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
51650         * sysdeps/i386/i686/strtok.S: Likewise.
51651         * sysdeps/i386/i386-mcount.S: Likewise.
51652         * sysdeps/i386/strtok.S: Likewise.
51653         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
51654         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51655         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51656         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51657         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
51658         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51659         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
51660         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
51661         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51662         * sysdeps/x86_64/_mcount.S: Likewise.
51663         * sysdeps/x86_64/strtok.S: Likewise.
51664         * sysdeps/sh/_mcount.S: Likewise.
51666 2012-08-01  Roland McGrath  <roland@hack.frob.com>
51668         * libio/iofopen.c: Include <fcntl.h>.
51669         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
51670         (_IO_fopen64, fopen64): Define as aliases.
51671         * libio/iofopen64.c: Include <fcntl.h>.
51672         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
51673         Conditionalize body on this.
51674         * sysdeps/wordsize-64/iofopen.c: File removed.
51675         * sysdeps/wordsize-64/iofopen64.c: File removed.
51677 2012-08-01  Marek Polacek  <polacek@redhat.com>
51679         * libc/Makeconfig: Use elf in place of binfmt-subdir.
51680         Use dlfcn directly instead of a variable.
51681         (binfmt-subdir): Do not define.
51682         (dlfcn): Likewise.
51684 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
51686         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
51687         Remove all definitions.
51688         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
51689         <kernel-features.h>.
51690         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
51691         (miss_F_GETOWN_EX): Remove all definitions.
51692         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
51693         macro definition.
51694         [!__ASSUME_FCNTL64]: Remove conditional code.
51695         [__ASSUME_FCNTL64]: Make code unconditional.
51696         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
51697         <kernel-features.h>.
51698         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
51699         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
51700         (lockf64) [__NR_fcntl64]: Make code unconditional.
51701         (lockf64) [__ASSUME_FCNTL64]: Likewise.
51703         * sysdeps/unix/sysv/linux/kernel-features.h
51704         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
51705         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
51706         Make code unconditional.
51707         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
51708         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
51709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
51710         [__NR_vfork]: Make code unconditional.
51711         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
51712         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
51713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
51714         [__NR_vfork]: Make code unconditional.
51715         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
51716         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
51718 2012-08-01  Roland McGrath  <roland@hack.frob.com>
51720         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
51721         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
51723         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
51724         Define mkstemp64 as an alias.
51725         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
51726         Define mkstemps64 as an alias.
51727         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
51728         Define mkostemp64 as an alias.
51729         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
51730         Define mkostemps64 as an alias.
51731         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
51732         Conditionalize body on this.
51733         * misc/mkostemp64.c: Likewise.
51734         * misc/mkostemps64.c: Likewise.
51735         * misc/mkstemps64.c: Likewise.
51736         * sysdeps/wordsize-64/mkstemp64.c: File removed.
51737         * sysdeps/wordsize-64/mkostemp64.c: File removed.
51738         * sysdeps/wordsize-64/mkostemp.c: File removed.
51739         * sysdeps/wordsize-64/mkstemp.c: File removed.
51740         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
51741         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
51742         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
51743         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
51745         [BZ #14138]
51746         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
51747         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
51748         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
51749         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
51751         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
51752         compat_symbol macros from <shlib-compat.h> rather than the underlying
51753         default_symbol_version and symbol_version macros, so that DEFAULT
51754         lines in shlib-versions are respected.
51755         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
51757 2012-08-01  Florian Weimer  <fweimer@redhat.com>
51759         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
51760         Declare with warn_unused_result.
51761         (setgid, setregid, setegid, setresgid): Likewise.
51762         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
51763         Likewise.
51764         * WUR-REPORT: Remove set*id functions.
51766 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
51768         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
51770 2012-07-31  Roland McGrath  <roland@hack.frob.com>
51772         [BZ #10191]
51773         * include/sys/socket.h (__libc_accept, __libc_accept4):
51774         Add attribute_hidden.
51775         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
51777         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
51778         use of PTR_MANGLE.
51779         * inet/getnetgrent_r.c (setup): Likewise.
51781         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
51783 2012-07-31  David S. Miller  <davem@davemloft.net>
51785         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51787 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
51789         [BZ #13629]
51790         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
51791         value between 1.0 and 2.0 and smaller part has absolute value less
51792         than 1.0.
51793         * math/s_clog10.c (__clog10): Likewise.
51794         * math/s_clog10f.c (__clog10f): Likewise.
51795         * math/s_clog10l.c (__clog10l): Likewise.
51796         * math/s_clogf.c (__clogf): Likewise.
51797         * math/s_clogl.c (__clogl): Likewise.
51798         * math/libm-test.inc (clog_test): Add more tests.
51799         (clog10_test): Likewise.
51800         * sysdeps/i386/fpu/libm-test-ulps: Update.
51801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51803 2012-07-31  Florian Weimer  <fweimer@redhat.com>
51805         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
51806         Exit with zero in case no suitable GID is found, and write a
51807         message to standard error.
51809 2012-07-30  Roland McGrath  <roland@hack.frob.com>
51811         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
51812         rather than to 1.
51813         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
51814         (MAXPATHLEN): Removed.
51815         (NOGROUP, NODEV): New macros.
51816         (setbit, clrbit, isset, isclr): New macros.
51817         (howmany, roundup, powerof2): New macros.
51818         (DEV_BSIZE): New macro.
51820         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
51821         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
51823         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
51824         definition on [!__NO_LONG_DOUBLE_MATH].
51826         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
51827         PTR_MANGLE and PTR_DEMANGLE.
51829         * socket/accept4.c (accept4): Rename to __libc_accept4.
51830         Define accept4 as a weak alias.
51832         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
51833         on [_DIRENT_HAVE_D_TYPE].
51834         * io/ftw.c (ftw_dir): Likewise.
51836         * io/xmknod.c (__xmknod): Don't check PATH for being null.
51838         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
51840         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
51841         Use the BSD numbers rather than the arbitrary ones we had.
51842         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
51843         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
51844         (SIGXCPU, SIGXFSZ): New macros.
51845         (_NSIG): Now 32.
51847         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
51848         initializer on [_LIBC_REENTRANT].
51850         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
51851         definitions inside [_POSIX_MAPPED_FILES].
51853         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
51855         * dirent/opendir.c: Include <fcntl.h>.
51857         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
51858         (__libc_getspecific): Likewise.
51859         (__libc_key_create): Likewise.
51861         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
51862         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
51863         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
51864         (tmpfile64): Define as alias.
51865         * sysdeps/wordsize-64/tmpfile.c: File removed.
51866         * sysdeps/wordsize-64/tmpfile64.c: File removed.
51867         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
51868         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
51870         * stdio-common/vfscanf.c: Include <stdbool.h>.
51871         * nss/makedb.c: Likewise.
51872         * stdio-common/_i18n_number.h: Likewise.
51873         * argp/argp-help.c: Likewise.
51874         * posix/wordexp.c: Likewise.
51875         * sysdeps/posix/spawni.c: Likewise.
51876         * nss/nss_files/files-initgroups.c: Likewise.
51877         * stdio-common/reg-modifier.c: Include <stdlib.h>.
51878         * nss/nss_files/files-initgroups.c: Likewise.
51879         * nss/nss_db/db-netgrp.c: Likewise.
51880         * nss/nss_db/db-initgroups.c: Likewise.
51881         * io/fchmodat.c: Include <sys/stat.h>.
51883         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
51884         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
51886         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
51887         [HAVE_MMAP].
51889         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
51890         Add multiple inclusion protection.
51892 2012-07-27  David S. Miller  <davem@davemloft.net>
51894         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51896 2012-07-27  Gary Benson  <gbenson@redhat.com>
51898         [BZ #14298]
51899         * elf/rtld.c: Include <stap-probe.h>.
51900         (dl_main): Added static probes "init_start" and "init_complete".
51901         * elf/dl-load.c: Include <stap-probe.h>.
51902         (lose): Take new parameter "nsid".
51903         Added static probe "map_failed".
51904         (_dl_map_object_from_fd): Pass namespace id to lose.
51905         Added static probe "map_start".
51906         (open_verify): Pass namespace id to lose.
51907         * elf/dl-open.c: Include <stap-probe.h>.
51908         (dl_open_worker) Added static probes "map_complete", "reloc_start"
51909         and "reloc_complete".
51910         * elf/dl-close.c: Include <stap-probe.h>.
51911         (_dl_close_worker): Added static probes "unmap_start" and
51912         "unmap_complete".
51913         * elf/rtld-debugger-interface.txt: New file documenting the above.
51915 2012-07-26  Roland McGrath  <roland@hack.frob.com>
51917         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
51918         rather than a string variable.
51919         * sunrpc/rpc_main.c (h_output): Likewise.
51920         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
51922 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
51924         * inet/check_native.c: New file.
51926 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
51928         [BZ #13629]
51929         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
51930         if larger part has absolute value 1.0.
51931         * math/s_clog10.c (__clog10): Likewise.
51932         * math/s_clog10f.c (__clog10f): Likewise.
51933         * math/s_clog10l.c (__clog10l): Likewise.
51934         * math/s_clogf.c (__clogf): Likewise.
51935         * math/s_clogl.c (__clogl): Likewise.
51936         * math/libm-test.inc (clog_test): Add more tests.
51937         (clog10_test): Likewise.
51938         * sysdeps/i386/fpu/libm-test-ulps: Update.
51939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51941         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
51942         (pltexit): Likewise.
51943         (La_regs): Likewise.
51944         (La_retval): Likewise.
51945         (int_retval): Likewise.
51946         Update #error for removed macros to refer only to definitions in
51947         tst-audit.h.
51948         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
51949         macro.
51950         (pltexit): Likewise.
51951         (La_regs): Likewise.
51952         (La_retval): Likewise.
51953         (int_retval): Likewise.
51954         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
51955         macro.
51956         (pltexit): Likewise.
51957         (La_regs): Likewise.
51958         (La_retval): Likewise.
51959         (int_retval): Likewise.
51960         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
51961         macro.
51962         (pltexit): Likewise.
51963         (La_regs): Likewise.
51964         (La_retval): Likewise.
51965         (int_retval): Likewise.
51966         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
51967         macro.
51968         (pltexit): Likewise.
51969         (La_regs): Likewise.
51970         (La_retval): Likewise.
51971         (int_retval): Likewise.
51972         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
51973         macro.
51974         (pltexit): Likewise.
51975         (La_regs): Likewise.
51976         (La_retval): Likewise.
51977         (int_retval): Likewise.
51978         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
51979         macro.
51980         (pltexit): Likewise.
51981         (La_regs): Likewise.
51982         (La_retval): Likewise.
51983         (int_retval): Likewise.
51984         * sysdeps/generic/tst-audit.h: Update comment to refer only to
51985         macro definitions in tst-audit.h.
51986         * sysdeps/i386/tst-audit.h: New file.
51987         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
51988         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
51989         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
51990         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
51991         * sysdeps/sh/tst-audit.h: Likewise.
51992         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
51993         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
51994         * sysdeps/x86_64/tst-audit.h: Likewise.
51996 2012-07-26  Andreas Jaeger  <aj@suse.de>
51998         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
51999         ptrace.
52001         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
52002         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
52003         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
52004         PTRACE_O_MASK.
52005         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
52006         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
52007         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
52009         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
52010         value.
52012         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
52013         _sigsys.
52014         (si_call_addr, si_syscall, si_arch): Define new macro.
52015         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
52016         _sigsys.
52017         (si_call_addr, si_syscall, si_arch): Define new marcro.
52018         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
52019         _sigsys.
52020         (si_call_addr, si_syscall, si_arch): Define new macro.
52021         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
52022         _sigsys.
52023         (si_call_addr, si_syscall, si_arch): Define new macro.
52025 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
52027         [BZ #13717]
52028         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
52029         Change to 2.4.21 where previously 2.4.1.
52030         * sysdeps/unix/sysv/linux/configure: Regenerated.
52031         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
52032         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
52033         Linux kernel version.
52034         (__ASSUME_STD_AUXV): Remove.
52035         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
52036         kernel version.
52037         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
52038         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
52039         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
52040         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
52041         (__ASSUME_NETLINK_SUPPORT): Likewise.
52042         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
52043         (__no_netlink_support): Remove conditional definition.
52044         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
52045         Remove.
52046         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
52047         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
52048         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
52049         (if_nameindex_ioctl): Remove.
52050         (if_nameindex_netlink): Do not handle __no_netlink_support.
52051         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
52052         code.
52053         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
52054         Remove conditional code.
52055         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
52056         code.
52057         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
52058         unconditional.
52059         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
52060         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
52061         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
52062         Remove.
52063         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
52064         [!__ASSUME_STD_AUXV]: Remove conditional code.
52065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
52066         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
52067         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
52068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
52069         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
52070         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
52071         code.
52072         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
52073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
52074         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
52075         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
52076         conditional code.
52077         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
52078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
52079         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
52080         code.
52081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
52082         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
52083         conditional code.
52084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
52085         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
52086         code unconditional.
52087         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
52088         conditional code.
52089         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
52090         unconditional.
52091         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
52092         conditional code.
52093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52094         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
52095         unconditional.
52096         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
52097         conditional code.
52098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
52099         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
52100         code unconditional.
52101         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
52102         conditional code.
52103         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
52104         unconditional.
52105         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
52106         conditional code.
52107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
52108         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
52109         code unconditional.
52110         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
52111         conditional code.
52112         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
52113         unconditional.
52114         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
52115         conditional code.
52117 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
52119         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
52120         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
52121         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
52122         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
52123         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
52124         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
52125         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
52126         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
52127         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
52128         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
52129         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
52130         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
52131         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
52132         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
52133         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
52134         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
52135         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
52136         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
52137         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
52138         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
52139         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
52140         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
52141         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
52143 2012-07-25  Florian Weimer  <fweimer@redhat.com>
52145         * Versions.def: Add GLIBC_2.17.
52146         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
52147         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
52148         Introduce __libc_secure_getenv.
52149         * stdlib/Versions (2.17): Add secure_getenv
52150         (GLIBC_PRIVATE): Add __libc_secure_getenv.
52151         * stdlib/secure-getenv.c: Rename __secure_getenv to
52152         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
52153         symbol __secure_getenv for GLIBC_2.0.
52154         * stdlib/tst-secure-getenv.c: New.
52155         * stdlib/Makefile (tests): Add testcase.
52156         * manual/startup.texi (Environment Access): Document
52157         secure_getenv.
52158         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
52159         __libc_secure_getenv.
52160         * inet/ruserpass.c (ruserpass): Likewise.
52161         * malloc/mtrace.c (mtrace): Likewise.
52162         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
52163         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
52164         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
52165         * sysdeps/posix/tempname.c: Likewise.  Evaluate
52166         HAVE_SECURE_GETENV.
52167         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
52168         __secure_getenv to __libc_secure_getenv.
52169         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
52170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52171         Likewise.
52172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52173         Likewise.
52174         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
52175         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
52176         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
52177         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
52178         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
52179         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52180         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
52182 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
52184         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
52185         (struct La_i86_retval): Likewise.
52186         (struct La_x86_64_regs): Likewise.
52187         (struct La_x86_64_retval): Likewise.
52188         (struct La_x32_regs): Likewise.
52189         (struct La_x32_retval): Likewise.
52190         (struct La_ppc32_regs): Likewise.
52191         (struct La_ppc32_retval): Likewise.
52192         (struct La_ppc64_regs): Likewise.
52193         (struct La_ppc64_retval): Likewise.
52194         (struct La_sh_regs): Likewise.
52195         (struct La_sh_retval): Likewise.
52196         (struct La_s390_32_regs): Likewise.
52197         (struct La_s390_32_retval): Likewise.
52198         (struct La_s390_64_regs): Likewise.
52199         (struct La_s390_64_retval): Likewise.
52200         (struct La_sparc32_regs): Likewise.
52201         (struct La_sparc32_retval): Likewise.
52202         (struct La_sparc64_regs): Likewise.
52203         (struct La_sparc64_retval): Likewise.
52204         (struct audit_ifaces): Remove architecture-specific pltenter and
52205         pltexit members.
52206         * sysdeps/i386/ldsodefs.h: New file.
52207         * sysdeps/powerpc/ldsodefs.h: Likewise.
52208         * sysdeps/s390/ldsodefs.h: Likewise.
52209         * sysdeps/sh/ldsodefs.h: Likewise.
52210         * sysdeps/sparc/ldsodefs.h: Likewise.
52211         * sysdeps/x86_64/ldsodefs.h: Likewise.
52213 2012-07-25  Marek Polacek  <polacek@redhat.com>
52215         [BZ #6808]
52216         * math/libm-test.inc (yn_test): Add another test.
52217         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
52218         to ERANGE when the result is +-Inf.
52219         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
52220         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
52221         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
52222         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
52224 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
52226         * conform/data/time.h-data (NULL): Use macro-constant.  Require
52227         equal to 0.
52228         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
52229         clock_t.
52230         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
52232 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
52234         * configure.in <sysdeps resolving>: Correct printing
52235         Implies_before.
52236         * configure: Regenerate.
52238 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
52240         * math/w_ilogb.c: Include <limits.h>.
52241         * math/w_ilogbl.c: Likewise.
52243 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
52245         * manual/lang.texi (__va_copy): Document primarily as ISO C99
52246         va_copy.  Document allowing for unavailable va_copy only as
52247         pre-C99 compatibility.
52248         * manual/string.texi (Copying and Concatenation): Use va_copy
52249         instead of __va_copy in concat example.
52251 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
52253         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
52254         (__sendto): Use create_address_port.  Initialize APORT and deallocate
52255         it if not null.
52257         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
52258         with O_NOLINK passed to __file_name_lookup.
52260         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
52261         with O_NOLINK passed to __file_name_lookup.
52263         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
52264         negative N or less than NGIDS.
52266         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
52267         type to string_t.  Set ERANGE as errno and return it if NAME is not big
52268         enough.  Use memcpy instead of strncpy.
52270 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
52272         * elf/Makefile (check-data): Remove.
52273         (localplt.data): New vpath directive.
52274         ($(objpfx)check-localplt.out): Use localplt.data from vpath
52275         instead of $(check-data).
52276         * scripts/data/localplt-generic.data: Move to ...
52277         * sysdeps/generic/localplt.data: ... here.
52278         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
52279         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
52280         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
52281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
52282         ... here.
52283         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
52284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
52285         ... here.
52286         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
52287         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
52288         ... here.
52289         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
52290         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
52291         ... here.
52292         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
52293         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
52294         ... here.
52295         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
52296         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
52297         ... here.
52299 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52301         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
52302         PPC32 and PPC64 files.
52303         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
52304         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
52306 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52308         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
52309         __makecontext_ret to ...
52310         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
52311         ... here and call exit if uc_link is NULL.  New file.
52312         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
52313         __makecontext_ret.S.
52314         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
52315         __makecontext_ret to ...
52316         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
52317         ... here and call exit if uc_link is NULL.  New file.
52318         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
52319         __makecontext_ret.S.
52321 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52323         * elf/elf.h (R_390_IRELATIVE): New definition.
52324         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
52325         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
52326         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
52327         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
52328         (elf_machine_lazy_rel): Likewise.
52329         * sysdeps/s390/dl-irel.h: New file.
52330         * sysdeps/s390/s390-64/memcpy.S: New asm code.
52331         * sysdeps/s390/s390-64/memset.S: New asm code.
52332         * sysdeps/s390/s390-64/memcmp.S: New asm code.
52333         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
52334         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
52335         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
52336         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
52337         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
52338         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
52339         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
52340         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
52341         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
52342         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
52343         * sysdeps/s390/s390-32/memcpy.S: New asm code.
52344         * sysdeps/s390/s390-32/memset.S: New asm code.
52345         * sysdeps/s390/s390-32/memcmp.S: New asm code.
52347 2012-07-17  Marek Polacek  <polacek@redhat.com>
52349         [BZ #14349]
52350         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
52351         * sysdeps/s390/s390-64/configure.in: Likewise.
52352         * sysdeps/sparc/configure.in: Likewise.
52353         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
52354         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
52355         * sysdeps/i386/configure.in: Likewise.
52356         * sysdeps/x86_64/configure.in: Likewise.
52357         * sysdeps/sh/configure.in: Likewise.
52358         * sysdeps/s390/s390-32/configure: Regenerated.
52359         * sysdeps/s390/s390-64/configure: Likewise.
52360         * sysdeps/x86_64/configure: Likewise.
52361         * sysdeps/sh/configure: Likewise.
52362         * sysdeps/powerpc/powerpc64/configure: Likewise.
52363         * sysdeps/powerpc/powerpc32/configure: Likewise.
52364         * sysdeps/sparc/configure: Likwise.
52365         * sysdeps/i386/configure: Likewise.
52367         * elf/dl-open.c: Comment fixes.
52369 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
52371         * Makefile [CXX] (check-data): Remove.
52372         [CXX] (c++-types.data): New vpath directive.
52373         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
52374         vpath.  Do not allow for C++ type data being missing.
52375         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
52376         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
52377         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
52378         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
52379         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
52380         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
52381         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
52382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
52383         ... here.
52384         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
52385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
52386         ... here.
52387         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
52388         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
52389         ... here.
52390         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
52391         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
52392         ... here.
52393         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
52394         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
52395         ... here.
52396         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
52397         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
52398         ... here.
52399         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
52400         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
52401         ... here.
52402         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
52403         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
52405         * elf/tls-macros.h (TLS_LE): Move architecture-specific
52406         definitions to architecture-specific files.
52407         (TLS_IE): Likewise.
52408         (TLS_LD): Likewise.
52409         (TLS_GD): Likewise.
52410         * sysdeps/i386/tls-macros.h: New file.
52411         * sysdeps/powerpc/tls-macros.h: Likewise.
52412         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
52413         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
52414         * sysdeps/sh/tls-macros.h: Likewise.
52415         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
52416         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
52417         * sysdeps/x86_64/tls-macros.h: Likewise.
52419 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
52421         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
52422         zero value for regular exit case.
52424         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
52425         (__start_context): Preserve zero value for regular exit case.
52427 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
52428             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52430         * manual/setjmp.texi (setcontext): Clarify normal process
52431         termination when uc_link is the null pointer.
52432         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
52433         exit call.
52435 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
52437         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
52438         preprocessor.  Test for each exception mask separately.
52440 2012-07-16  Andreas Jaeger  <aj@suse.de>
52442         * po/ru.po: Update from translation team.
52444 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
52446         * conform/data/string.h-data (NULL): Use macro-constant.  Require
52447         equal to 0.
52448         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
52449         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
52450         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
52451         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
52452         [ISO || ISO99 || ISO11] (*_t): Do not allow.
52454 2012-07-13  Andreas Jaeger  <aj@suse.de>
52456         * po/fr.po: Update from translation team.
52458 2012-07-12  Marek Polacek  <polacek@redhat.com>
52460         [BZ #14173]
52461         * math/libm-test.inc (yn_test): Add test for BZ #14173.
52462         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
52463         loop condition.
52465 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
52467         [BZ #13717]
52468         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
52469         Change to 2.4.1 where previously 2.4.0.
52470         * sysdeps/unix/sysv/linux/configure: Regenerated.
52471         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
52472         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
52473         version.
52474         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
52475         (__ASSUME_AT_CLKTCK): Remove.
52476         (__ASSUME_AT_PAGESIZE): Likewise.
52477         (__ASSUME_AT_XID): Likewise.
52478         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
52479         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
52480         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
52481         unconditionally.
52482         (HAVE_AUX_PAGESIZE): Likewise.
52483         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
52484         [__ASSUME_AT_CLKTCK]: Make code unconditional.
52485         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
52487 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
52489         [BZ #14307]
52490         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
52491         the temporary buffer used to invoke __gethostbyname2_r,
52492         __gethostbyaddr_r and gethostbyname4_r to make room for struct
52493         host_data / struct gaih_addrtuple.
52494         * resolv/nss_dns/dns-host.c (global scope): Move definition of
52495         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
52496         header file nss/nsswitch.h.
52497         * nss/nsswitch.h (global scope): Add definition of implementation
52498         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
52499         resolv/nss_dns/dns-host.c).
52501 2012-07-11  Andreas Jaeger  <aj@suse.de>
52503         * po/fr.po: Update from translation team.
52505         * po/sv.po: Update from translation team
52506         * po/fr.po: Another update from translation team.
52508 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52510         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
52511         for subnormals or multiply small sinh result by itself.
52512         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
52513         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52515 2012-07-11  David S. Miller  <davem@davemloft.net>
52517         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52519 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
52521         [BZ #14347]
52522         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
52523         (INTERNAL_MARK): Shift it here.
52525 2012-07-10  Marek Polacek  <polacek@redhat.com>
52527         [BZ #14151]
52528         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
52529         libc_cv_asm_global_directive with .globl.
52530         * configure: Regenerated.
52531         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
52532         with .globl.
52533         * sysdeps/i386/configure: Regenerated.
52534         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
52535         with .globl.
52536         * sysdeps/x86_64/configure: Regenerated.
52537         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
52538         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
52539         * elf/tst-unique2mod2.c: Likewise.
52540         * elf/tst-unique2mod1.c: Likewise.
52541         * elf/tst-unique1mod2.c: Likewise.
52542         * elf/tst-unique1mod1.c: Likewise.
52543         * sysdeps/s390/s390-32/sysdep.h: Likewise.
52544         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
52545         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52546         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
52547         * sysdeps/mach/sysdep.h: Likewise.
52548         * sysdeps/i386/sysdep.h: Likewise.
52549         * sysdeps/i386/i386-mcount.S: Likewise.
52550         * sysdeps/x86_64/_mcount.S: Likewise.
52551         * sysdeps/x86_64/sysdep.h: Likewise.
52552         * sysdeps/sh/_mcount.S: Likewise.
52553         * sysdeps/sh/sysdep.h: Likewise.
52554         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
52555         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
52556         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
52557         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52558         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
52559         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
52560         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
52561         * locale/localeinfo.h: Likewise.
52562         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
52563         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
52565 2012-07-09  Roland McGrath  <roland@hack.frob.com>
52567         [BZ #14336]
52568         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
52569         system".
52570         * manual/message.texi (The Uniforum approach): Likewise.
52571         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
52572         (glibc iconv Implementation): Likewise.
52574 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
52576         [BZ #14337]
52577         * math/s_clog.c (__clog): Avoid scaling a value down where that
52578         could result in underflow.
52579         * math/s_clog10.c (__clog10): Likewise.
52580         * math/s_clog10f.c (__clog10f): Likewise.
52581         * math/s_clog10l.c (__clog10l): Likewise.
52582         * math/s_clogf.c (__clogf): Likewise.
52583         * math/s_clogl.c (__clogl): Likewise.
52584         * math/libm-test.inc (clog_test): Add more tests.
52585         (clog10_test): Likewise.
52586         * sysdeps/i386/fpu/libm-test-ulps: Update.
52587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52589 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
52591         [BZ #14283]
52592         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
52593         by 7 not 8 to examine high bit of fractional part.
52595         [BZ #14042]
52596         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
52597         for call to __mcount_internal.
52598         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
52599         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
52600         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
52602 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
52604         [BZ #14154]
52605         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
52606         approximation for values within 0x1p-13f of an odd multiple of
52607         pi/4.
52608         * math/libm-test.inc (tan_test): Do not allow spurious underflow
52609         exception.  Add more tests.
52610         * sysdeps/i386/fpu/libm-test-ulps: Update.
52612         [BZ #6778]
52613         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
52614         inputs and return -1 for them.  Do not check for +Inf in case not
52615         reachable for +Inf.
52616         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
52617         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
52618         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
52619         and return -1 for them.  Do not check for +Inf in case not
52620         reachable for +Inf.
52621         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
52622         define.
52623         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
52624         and return -1 for them.  Do not check for +Inf in case not
52625         reachable for +Inf.
52626         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
52627         spurious underflow.
52628         * sysdeps/i386/fpu/libm-test-ulps: Update.
52629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52631 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
52633         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
52635 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
52637         [BZ #14157]
52638         [BZ #14331]
52639         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
52640         could result in spurious underflow.  Scale down values above
52641         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
52642         * math/s_csqrtf.c (__csqrtf): Likewise.
52643         * math/s_csqrtl.c (__csqrtl): Likewise.
52644         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
52645         spurious underflow.
52646         * sysdeps/i386/fpu/libm-test-ulps: Update.
52647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52649 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
52651         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
52652         xopen-msg.sed.
52653         * catgets/xopen-msg.awk: New file.
52654         * catgets/xopen-msg.sed: Removed.
52656         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
52657         po2text.sed.
52658         * intl/po2test.awk: New file.
52659         * intl/po2test.sed: Removed.
52661 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
52663         [BZ #14328]
52664         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
52665         or multiply small sinh result by itself.
52666         * math/s_ctanf.c (__ctanf): Likewise.
52667         * math/s_ctanh.c (__ctanh): Likewise.
52668         * math/s_ctanhf.c (__ctanhf): Likewise.
52669         * math/s_ctanhl.c (__ctanhl): Likewise.
52670         * math/s_ctanl.c (__ctanl): Likewise.
52671         * math/libm-test.inc (ctan_test_tonearest): New function.
52672         (ctan_test_towardzero): Likewise.
52673         (ctan_test_downward): Likewise.
52674         (ctan_test_upward): Likewise.
52675         (ctanh_test_tonearest): Likewise.
52676         (ctanh_test_towardzero): Likewise.
52677         (ctanh_test_downward): Likewise.
52678         (ctanh_test_upward): Likewise.
52679         (main): Call these new functions.
52680         * sysdeps/i386/fpu/libm-test-ulps: Update.
52681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52683 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
52685         * .gitignore: Delete /ports entry.
52687 2012-07-03  Andreas Jaeger  <aj@suse.de>
52689         * po/bg.po: Update from translation team.
52690         * po/cs.po: Likewise.
52691         * po/de.po: Likewise.
52692         * po/hr.po: Likewise.
52693         * po/nl.pl: Likewise.
52694         * po/pl.po: Likewise.
52695         * po/vi.po: Likewise.
52697 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
52699         * Makeconfig [!+link] (+link-before-libc): New variable.
52700         [!+link] (+link-after-libc): Likewise.
52701         [!+link] (+link-tests): Likewise.
52702         [!+link] (+link): Define in terms of $(+link-before-libc) and
52703         $(+link-after-libc).
52704         [!+link-static] (+link-static-before-libc): New variable.
52705         [!+link-static] (+link-static-after-libc): Likewise.
52706         [!+link-static] (+link-static-tests): Likewise.
52707         [!+link-static] (+link-static): Define in terms of
52708         $(+link-static-before-libc) and $(+link-static-after-libc).
52709         [build-shared] (link-libc-before-gnulib): New variable.
52710         [build-shared] (link-libc-tests): Likewise.
52711         [build-shared] (link-libc): Define in terms of
52712         $(link-libc-before-gnulib).
52713         [!build-shared] (link-libc-tests): New variable.
52714         (link-libc-static-tests): New variable.
52715         [!gnulib] (gnulib-arch): New variable.
52716         [!gnulib] (gnulib-tests): Likewise.
52717         [!gnulib] (static-gnulib-arch): Likewise.
52718         [!gnulib] (static-gnulib-tests): Likewise.
52719         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
52720         Define with "=" instead of ":=".
52721         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
52722         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
52723         * Rules (binaries-all-notests): New variable.
52724         (binaries-all-tests): Likewise.
52725         (binaries-static-notests): Likewise.
52726         (binaries-static-tests): Likewise.
52727         (binaries-all): Define using $(binaries-all-notests) and
52728         $(binaries-all-tests).
52729         (binaries-static): Define using $(binaries-static-notests) and
52730         $(binaries-static-tests).
52731         (binaries-shared-tests): New variable.
52732         (binaries-shared-notests): Likewise.
52733         (binaries-shared): Remove variable.
52734         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
52735         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
52736         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
52737         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
52738         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
52739         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
52740         * elf/Makefile (sln-modules): New variable.
52741         (extra-objs): Add $(sln-modules:=.o).
52742         (ldconfig-modules): Add static-stubs.
52743         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
52744         * elf/static-stubs.c: New file.
52746         [BZ #14283]
52747         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
52748         by 7 not 8 to examine high bit of fractional part.  Use volatile
52749         variables when splitting into final array of floats if
52750         __FLT_EVAL_METHOD__ != 0.
52751         * math/libm-test.inc (cos_test): Add another test.
52752         (sin_test): Likewise.
52753         * sysdeps/i386/fpu/libm-test-ulps: Update.
52755         [BZ #14273]
52756         * math/libm-test.inc (cosh_test): Add more tests.
52758         * version.h (RELEASE): Set to "development".
52759         (VERSION): Set to "2.16.90".
52761 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
52763         * NEWS: Update copyright. Remove last-updated date.
52764         Mention math library bug fixes and timezone data changes.
52765         * README: Mention GNU/Hurd, x32, and HPPA support status.
52767 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
52769         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
52771 2012-06-27  Andreas Jaeger  <aj@suse.de>
52773         * manual/contrib.texi (Contributors): Add Samuel Thibault.
52775 2012-06-25  Andreas Jaeger  <aj@suse.de>
52777         * sysdeps/s390/fpu/libm-test-ulps: Update.
52779 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
52780             Thomas Schwinge  <thomas@codesourcery.com>
52782         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
52783         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
52784         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
52785         fanotify_mark.
52787 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
52789         * sysdeps/mach/start.c: Remove file.
52790         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
52791         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
52792         * sysdeps/sh/init-first.c: Likewise.
52794         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
52795         registers for frame unwinding purposes, add CFI directives.
52796         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
52797         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
52798         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
52799         Likewise.
52801         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
52802         __fortify_fail returning.
52803         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
52805         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
52806         sysdeps/sh/____longjmp_chk.S.
52807         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
52808         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
52809         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
52810         (gen-as-const-headers): Append sigaltstack-offsets.sym.
52812         * sysdeps/sh/abort-instr.h: New file.
52813         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
52814         process in case exit returns.
52816         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
52817         initialize the GOT register before use.
52819         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
52820         calculation of ARGC > 4.
52822         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
52823         meaningful names to some local labels.
52825 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52826             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52828         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
52829         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
52830         (__arch_compare_and_exchange_val_16_acq): Likewise.
52831         (__arch_compare_and_exchange_val_32_acq): Likewise.
52832         (atomic_exchange_and_add): Fix gUSA sequence.
52833         (atomic_add): Likewise.
52834         (atomic_add_negative): Likewise.
52835         (atomic_add_zero): Likewise.
52836         (atomic_bit_test_set): Likewise.
52838 2012-06-22  Andreas Schwab  <schwab@redhat.com>
52840         [BZ #13579]
52841         * include/link.h (struct link_map): Add l_free_initfini.
52842         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
52843         l_initfini.
52844         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
52845         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
52846         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
52847         set.
52849 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
52851         * configure.in: Use AC_LANG_SOURCE.
52852         * configure: Regenerate.
52854 2012-06-22  Roland McGrath  <roland@hack.frob.com>
52856         * configure.in (libc_cv_localstatedir): New substituted variable.
52857         * configure: Regenerated.
52858         * config.make.in (localstatedir): New variable, substituted from
52859         libc_cv_localstatedir.
52860         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
52861         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
52862         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
52863         * sysdeps/gnu/configure: Regenerated.
52865 2012-06-21  Jeff Law  <law@redhat.com>
52867         [BZ #14277]
52868         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
52869         free.  Simplify list management for _LIBC case.
52871 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
52873         [BZ #14273]
52874         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
52875         Clear sign bit of 64-bit integer value before comparing against
52876         overflow value.
52878         * sysdeps/mach/configure: Regenerated.
52880 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
52882         [BZ #14278]
52883         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
52885 2012-06-21  Jeff Law  <law@redhat.com>
52887         [BZ #13882]
52888         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
52889         uint16_t for elements in the "seen" array to avoid char overflows.
52890         * elf/dl-fini.c (_dl_sort_fini): Likewise.
52891         * elf/dl-open.c (dl_open_worker): Likewise.
52893 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
52895         * scripts/list-sources.sh: Scan PORTS for translations.
52896         * po/libc.pot: Regenerated.
52898 2012-06-21  Andreas Jaeger  <aj@suse.de>
52900         [BZ #12194]
52901         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
52902         warning.
52903         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
52904         * bits/byteswap-16.h (__bswap_16): Likewise.
52905         * bits/byteswap.h (__bswap_constant_16): Likewise.
52907 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
52909         [BZ #14117]
52910         * sysdeps/i386/fpu_control.h: Removed.
52911         * sysdeps/x86_64/fpu_control.h: Moved to ...
52912         * sysdeps/x86/fpu_control.h: Here.
52914         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
52915         (_FPU_SETCW): Likewise.
52917 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
52919         [BZ #14117]
52920         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
52921         * sysdeps/x86/fpu/bits/mathinline.h: This.
52922         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
52924         [BZ #14050]
52925         [BZ #14117]
52926         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
52927         functions if __x86_64__ is defined.
52929 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
52931         * string/endian.h: Add !__ASSEMBLER__ condition for including
52932         conversion interfaces.
52934 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
52936         [BZ #14241]
52937         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
52938         of ABS(x) in calculating zero to negative powers other than odd
52939         integers.
52940         * math/libm-test.inc (pow_test): Add more tests.
52942 2012-06-15  Andreas Jaeger  <aj@suse.de>
52944         * manual/contrib.texi (Contributors): Update entry of Liubov
52945         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
52946         Machado Filho.
52948 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
52950         * string/string.h: Add __wur to GNU version of strerror_r.
52952 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
52954         [BZ #14229]
52955         * string/Makefile (tests): Add tst-strtok_r.
52956         * string/tst-strtok_r.c: New file.
52957         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
52958         RAX_LP/RDX_LP on SAVE_PTR.
52960 2012-06-14  Roland McGrath  <roland@hack.frob.com>
52962         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
52964 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
52966         * libm_test.inc (csqrt_test): Allow more spurious underflow
52967         exceptions.
52968         (j0_test): Likewise.
52969         (j1_test): Likewise.
52970         (y0_test): Likewise.
52971         (y1_test): Likewise.
52973 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
52975         * po/Makefile (libc.pot): Use UTF-8 charset.
52977 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
52979         [BZ #14210]
52980         Suppress sign-conversion warning from FD_SET.
52981         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
52982         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
52983         not unsigned long int.
52984         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
52986 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
52988         [BZ #14050]
52989         [BZ #14117]
52990         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
52991         __extern_always_inline instead of __extern_inline.
52992         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
52993         (__signbit): Likewise.
52994         (__signbitl): Support C++ namespace.
52995         (lrintf): New inline function.
52996         (lrint): Likewise.
52997         (llrintf): Likewise.
52998         (llrint): Likewise.
52999         (fmaxf): Likewise.
53000         (fmax): Likewise.
53001         (fminf): Likewise.
53002         (fmin): Likewise.
53003         (rint): Likewise.
53004         (rintf): Likewise.
53005         (ceil): Likewise.
53006         (ceilf): Likewise.
53007         (floor): Likewise.
53008         (floorf): Likewise.
53009         (nearbyint): Likewise.
53010         (nearbyintf): Likewise.
53012 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
53014         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
53015         non-default versions.
53017 2012-06-11  Roland McGrath  <roland@hack.frob.com>
53019         [BZ #14218]
53020         * manual/argp.texi (Argp): Reword argp_parse description slightly.
53022 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
53024         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
53025         (FE_UPWARD, FE_DOWNWARD): Don't define.
53026         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
53027         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
53029         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
53030         reading it.
53031         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
53032         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53034 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53036         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
53037         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
53038         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
53039         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
53041 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
53043         [BZ #14117]
53044         * sysdeps/i386/fpu/bits/fenv.h: Removed.
53045         * sysdeps/i386/fpu/Implies: New file.
53046         * sysdeps/x86_64/fpu/Implies: Likewise.
53047         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
53048         * sysdeps/x86/fpu/bits/fenv.h: This.
53050         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
53051         __SSE_MATH__.
53053 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
53055         [BZ #14134]
53056         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
53057         character 0xffff that matches the last element of the
53058         conversion table.
53060 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53062         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
53063         fmodl commit.
53065 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53067         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
53068         values higher than 25.6283.
53070 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53072         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
53073         subnormal exponent extraction and add some __builtin_expect.
53074         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
53075         Fix for subnormal mantissa calculation.
53077 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
53079         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
53080         cpu2 is -1 and errno is not ENOSYS.
53082 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
53084         [BZ #14117]
53085         * sysdeps/i386/i486/bits/string.h: Renamed to ...
53086         * sysdeps/x86/bits/string.h: This.
53087         * sysdeps/x86_64/bits/string.h: Removed.
53089         * sysdeps/i386/i486/bits/string.h: Define inline functions only
53090         if not compiling for x86-64, but compiling for >= i486.
53092         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
53093         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
53095         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
53096         New macro from Linux kernel 3.4.0.
53097         (FP_XSTATE_MAGIC2): Likewise.
53098         (FP_XSTATE_MAGIC2_SIZE): Likewise.
53099         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
53100         (struct _fpx_sw_bytes): New struct.
53101         (struct _xsave_hdr): Likewise.
53102         (struct _ymmh_state): Likewise.
53103         (struct _xstate): Likewise.
53105         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
53106         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
53107         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
53108         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
53109         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
53110         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
53112         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
53113         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
53114         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
53115         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
53116         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
53117         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
53119 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53121         [BZ #13743]
53122         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
53123         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
53124         (sysdep_headers): Include sys/platform/ppc.h.
53125         * sysdeps/powerpc/test-gettimebase.c: Test for
53126         __ppc_get_timebase() to catch future ISA opcode/insn changes.
53127         * manual/Makefile (appendices): Include platform.texi.
53128         * manual/contrib.texi (Contributors): Update @node pointers.
53129         * manual/maint.texi (Maintenance): Likewise.
53130         (Platform): New node.
53131         * manual/platform.texi: New file.  Document the new features.
53133 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53134             Jakub Jelinek  <jakub@redhat.com>
53136         [BZ #14188]
53137         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
53138         where __builtin_expect is unavailable.
53140 2012-06-03  David S. Miller  <davem@davemloft.net>
53142         * stdlib/longlong.h: Updated from GCC.
53144 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
53146         [BZ #14042]
53147         * sysdeps/powerpc/powerpc32/mcount.c: New file.
53148         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
53149         __mcount_internal.
53150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
53151         (GLIBC_2.16): Likewise.
53153 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
53155         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
53157 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
53159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
53160         (default-abi): New variable.
53161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
53162         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
53163         variable.
53164         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
53165         Likewise.
53166         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
53167         Likewise.
53168         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
53169         Likewise.
53171         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
53172         definition.  Document in comment.
53174 2012-06-01  David S. Miller  <davem@davemloft.net>
53176         * stdlib/longlong.h: Updated from GCC.
53178 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
53180         [BZ #14117]
53181         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
53182         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
53183         sys/debugreg.h sys/io.h here.
53184         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
53185         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
53186         sys/io.h.
53187         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
53188         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
53189         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
53190         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
53191         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
53192         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
53194         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
53195         Define only if __x86_64__ is defined.
53197 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
53199         [BZ #14048]
53200         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
53201         Use int64_t for variable i.
53202         * math/libm-test.inc (fmod_test): Add more tests.
53204         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
53205         z computation is not scheduled after fetestexcept.
53206         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
53207         Use math_force_eval instead of asm to ensure calculation scheduled
53208         before exception test.
53209         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
53210         Ensure a1 + u.d computation is not scheduled after fetestexcept.
53212 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
53214         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
53215         computation is not scheduled after fetestexcept.
53217 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
53219         [BZ #14117]
53220         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
53221         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
53223 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53225         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
53226         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
53228 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
53230         [BZ #14117]
53231         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
53232         <bits/wordsize.h>.
53233         (__WCHAR_MIN): Support __WORDSIZE == 64.
53234         (__WCHAR_MAX): Likewise.
53236         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
53237         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
53239         [BZ #14183]
53240         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
53241         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
53243         [BZ #14117]
53244         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
53245         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
53247         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
53248         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
53250         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
53251         Defined to 1 if __x86_64__ isn't defined.
53252         (_STAT_VER_LINUX_OLD): New.
53253         (st_atime): Remove duplicate.
53254         (st_mtime): Likewise.
53255         (st_ctime): Likewise.
53257 2012-05-31  David S. Miller  <davem@davemloft.net>
53259         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
53260         entries.
53262 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
53264         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
53265         gen-libm-test.pl.
53267         [BZ #14132]
53268         * elf/dl-reloc.c: Include <_itoa.h>.
53269         (_dl_reloc_bad_type): Remove use of INTUSE.
53270         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
53271         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
53272         * stdio-common/psiginfo.c (psiginfo): Likewise.
53273         * stdio-common/psignal.c (psignal): Likewise.
53274         * string/strsignal.c (strsignal): Likewise.
53275         * include/signal.h (_sys_siglist): Declare hidden proto.
53276         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
53277         INTVARDEF with libc_hidden_data_def.
53278         * stdio-common/itoa-udigits.c: Likewise.
53279         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
53280         (_itoa_lower_digits_internal): Remove declaration.
53281         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
53282         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
53283         (_sys_sigabbrev_internal): Remove aliases.
53284         (_sys_siglist): Define hidden alias.
53286 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
53288         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53289         bits/sysctl.h.
53291 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
53293         [BZ #14117]
53294         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
53295         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
53297         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
53298         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
53299         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
53300         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
53301         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
53302         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
53304         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
53305         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
53306         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
53308         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
53309         with __addr.
53310         (insw): Likewise.
53311         (insl): Likewise.
53312         (outsb): Likewise.
53313         (outsw): Likewise.
53314         (outsl): Likewise.
53316         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
53317         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
53318         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
53320         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
53321         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
53322         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
53323         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
53324         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
53325         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
53327         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
53328         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
53330         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
53331         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
53333         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
53334         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
53335         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
53337         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
53338         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
53339         to ...
53340         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
53342         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
53343         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
53344         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
53346         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
53347         for x86-64.
53348         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
53350 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
53352         * math/math.h (M_El): Use two more decimal places.
53353         (M_LOG2El): Likewise.
53354         (M_LOG10El): Likewise.
53355         (M_LN2l): Likewise.
53356         (M_LN10l): Likewise.
53357         (M_PIl): Likewise.
53358         (M_PI_2l): Likewise.
53359         (M_PI_4l): Likewise.
53360         (M_1_PIl): Likewise.
53361         (M_2_PIl): Likewise.
53362         (M_2_SQRTPIl): Likewise.
53363         (M_SQRT2l): Likewise.
53364         (M_SQRT1_2l): Likewise.
53366 2012-05-31  David S. Miller  <davem@davemloft.net>
53368         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
53369         values between float registers.
53370         * sysdeps/sparc/sparc64/memset.S: Likewise.
53371         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
53373 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
53375         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
53376         -D_FORTIFY_SOURCE=1.
53377         (CPPFLAGS-tst-longjmp_chk.c): Define.
53378         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
53379         (CPPFLAGS-tst-longjmp_chk2.c): Define.
53380         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
53381         CFLAGS-tst-wchar-h.c.
53383 2012-05-31  Marek Polacek  <polacek@redhat.com>
53385         [BZ #14132]
53386         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
53387         __endmntent_internal): Remove declaration.
53388         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
53389         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
53390         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
53392 2012-05-30  David S. Miller  <davem@davemloft.net>
53394         * sysdeps/sparc/sparc32/soft-fp/q_util.c
53395         (___Q_simulate_exceptions): Use real FP ops rather than writing
53396         into the %fsr.
53397         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
53398         Likewise.
53400 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
53402         [BZ #14117]
53403         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
53404         * sysdeps/x86/bits/xtitypes.h: This.
53406         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
53407         * sysdeps/x86/bits/wordsize.h: This.
53409         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
53410         * sysdeps/x86/bits/huge_vall.h: This.
53412         * sysdeps/i386/bits/select.h: Removed.
53413         * sysdeps/x86_64/bits/select.h: Renamed to ...
53414         * sysdeps/x86/bits/select.h: This.
53416         * sysdeps/i386/bits/setjmp.h: Removed.
53417         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
53418         * sysdeps/x86/bits/setjmp.h: This.
53420         * sysdeps/i386/bits/mathdef.h: Removed.
53421         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
53422         * sysdeps/x86/bits/mathdef.h: This.
53424 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
53426         [BZ #14132]
53427         * include/sys/socket.h (__connect_internal)
53428         (__libc_sa_len_internal): Remove declaration.
53429         (__connect, __libc_sa_len): Declare hidden_proto.
53430         (SA_LEN): Remove use of INTUSE.
53431         * socket/connect.c: Add libc_hidden_def.
53432         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
53433         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
53434         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
53435         alias.
53436         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
53437         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
53438         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
53439         of adding _internal alias.
53441 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
53443         [BZ #14117]
53444         * sysdeps/i386/bits/link.h: Removed.
53445         * sysdeps/i386/bits/linkmap.h: Likewise.
53446         * sysdeps/x86_64/bits/link.h: Renamed to ...
53447         * sysdeps/x86/bits/link.h: This.
53448         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
53449         * sysdeps/x86/bits/linkmap.h: This.
53451         * sysdeps/i386/bits/endian.h: Removed.
53452         * sysdeps/x86_64/bits/endian.h: Renamed to ...
53453         * sysdeps/x86/bits/endian.h: This.
53455         * sysdeps/i386/bits/byteswap.h: Removed.
53456         * sysdeps/i386/bits/byteswap-16.h: Likewise.
53457         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
53458         * sysdeps/x86/bits/byteswap.h: This.
53459         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
53460         * sysdeps/x86/bits/byteswap-16.h: This.
53461         * sysdeps/i386/Implies: Add x86.
53462         * sysdeps/x86_64/Implies: Likewise.
53464 2012-05-30  David S. Miller  <davem@davemloft.net>
53466         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
53467         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
53468         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
53469         (FP_TRAPPING_EXCEPTIONS): Define.
53470         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
53471         (FP_TRAPPING_EXCEPTIONS): Define.
53472         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
53473         subnormals only when inexact has been signalled or underflow
53474         exceptions are enabled.
53475         (_FP_PACK_CANONICAL): Likewise.
53477 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
53479         [BZ #14183]
53480         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
53481         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
53483 2012-05-30  Richard Henderson  <rth@twiddle.net>
53485         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
53486         with #ifndef NOT_IN_libc.
53488         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
53489         marked to avoid plt entry.
53491 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
53493         [BZ #14112]
53494         * Makeconfig (default-abi): New macro.
53495         (abi-includes): Likewise.
53496         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
53497         $(abi-$(default-abi)-lib-soname) for soname if defined.
53498         ($(common-objpfx)gnu/lib-names.stmp): Generate from
53499         abi-variants.
53500         * Makefile (installed-stubs): Likewise.
53501         * include/stubs-biarch.h: Removed.
53502         * scripts/lib-names.awk: Only handle one library at a time.
53503         * scripts/soversions.awk: Remove WORDSIZE support.
53504         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
53505         entries.
53506         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
53507         Removed.
53508         (syscall-list-default-condition): Likewise.
53509         (syscall-list-default-condition): Likewise.
53510         (syscall-list-includes): Likewise.
53511         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
53512         syscall-list-* with abi-*.  Handle undefined abi-variants.
53513         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
53514         * sysdeps/unix/sysv/linux/i386/Implies: New file.
53515         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
53516         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
53517         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
53518         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
53519         Removed.
53520         (syscall-list-32-options): Likewise.
53521         (syscall-list-32-condition): Likewise.
53522         (syscall-list-64-options): Likewise.
53523         (syscall-list-64-condition): Likewise.
53524         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
53525         macro.
53526         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
53527         Renamed to ...
53528         (abi-*): This.
53529         (abi-64-ld-soname): New macro.
53530         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
53531         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
53532         Renamed to ...
53533         (abi-*): This.
53534         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
53535         * sysdeps/x86_64/x32/shlib-versions: Likewise.
53537 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
53539         * sysdeps/unix/sysv/linux/kernel-features.h
53540         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
53541         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
53542         include <kernel-features.h>.
53543         [!__NR_ftruncate64]: Remove conditional code.
53544         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53545         [__NR_ftruncate64]: Make code unconditional.
53546         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53547         * sysdeps/unix/sysv/linux/truncate64.c: Do not
53548         include <kernel-features.h>.
53549         [!__NR_ftruncate64]: Remove conditional code.
53550         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53551         [__NR_ftruncate64]: Make code unconditional.
53552         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
53554         include <kernel-features.h>.
53555         [!__NR_ftruncate64]: Remove conditional code.
53556         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53557         [__NR_ftruncate64]: Make code unconditional.
53558         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
53560         include <kernel-features.h>.
53561         [!__NR_ftruncate64]: Remove conditional code.
53562         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53563         [__NR_ftruncate64]: Make code unconditional.
53564         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
53566         * configure.in (libc_cv_fpie): Weaken to a compile test using
53567         LIBC_TRY_CC_OPTION.
53568         * configure: Regenerated.
53570 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53572         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
53573         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
53574         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
53575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53576         Refreshed.
53577         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
53578         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
53579         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
53580         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
53581         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
53582         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53583         Refreshed.
53585 2012-05-27  David S. Miller  <davem@davemloft.net>
53587         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
53588         (___Q_zero): New.
53589         (__Q_simulate_exceptions): Return void.  Change to simulate
53590         exceptions by writing into the %fsr.
53591         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
53592         (__Qp_handle_exceptions): Likewise.
53593         (numbers): Delete.
53594         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
53595         __Qp_handle_exceptions.
53596         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
53597         __Qp_handle_exceptions.
53598         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
53599         as unused and give dummy FP_RND_NEAREST initializer.
53600         (FP_INHIBIT_RESULTS): Define.
53601         (___Q_simulate_exceptions): Update declaration.
53602         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
53603         formatting.
53604         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
53605         as unused and give dummy FP_RND_NEAREST initializer.
53606         (__Qp_handle_exceptions): Update declaration.
53607         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
53608         formatting.
53610 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
53612         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
53613         the temporary FPU control word.
53614         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
53615         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
53616         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
53617         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
53618         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
53619         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
53620         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
53621         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
53622         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
53623         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
53624         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53626 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53628         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
53629         fields.
53631 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
53633         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
53634         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
53635         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
53636         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
53637         Likewise.
53638         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
53639         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
53640         Likewise.
53642 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
53644         * po/h.po: Update from translation team.
53646 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
53648         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
53650         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
53651         handling of denormals.
53652         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
53653         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
53654         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
53655         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
53656         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53657         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
53658         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
53659         Likewise.
53661 2012-05-26  Marek Polacek  <polacek@redhat.com>
53663         [BZ #14152]
53664         * math/libm-test.inc (fma_test): Don't always expect underflow
53665         exception.
53667 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53669         [BZ #12416]
53670         * elf/tst-execstack.c: Include stackinfo.h.
53671         (do_test): Adjust test case to ensure that pthread_getattr_np
53672         behaviour remains the same after marking stack executable.
53674 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
53676         * sysdeps/unix/sysv/linux/kernel-features.h
53677         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
53678         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
53679         kernel-features.h.
53680         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
53681         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
53682         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
53683         kernel-features.h.
53684         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
53685         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
53687 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
53689         * configure.in: Define the default includes to being none.
53690         * configure: Regenerated.
53692 2012-05-25  Roland McGrath  <roland@hack.frob.com>
53694         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
53695         * sysdeps/x86_64/setjmp.S: Likewise.
53696         * sysdeps/i386/bsd-setjmp.S: Likewise.
53697         * sysdeps/i386/bsd-_setjmp.S: Likewise.
53698         * sysdeps/i386/setjmp.S: Likewise.
53699         * sysdeps/i386/__longjmp.S: Likewise.
53700         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
53701         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
53703         * include/stap-probe.h: New file.
53704         * configure.in: Handle --enable-systemtap.
53705         * configure: Regenerated.
53706         * config.h.in (USE_STAP_PROBE): New #undef.
53707         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
53708         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
53709         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
53711 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
53713         [BZ #13717]
53714         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
53715         to 2.4.0 where earlier.
53716         * sysdeps/unix/sysv/linux/configure: Regenerated.
53717         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
53718         <kernel-features.h>.
53719         [__ASSUME_32BITUIDS]: Make code unconditional.
53720         [!__ASSUME_32BITUIDS]: Remove conditional code.
53721         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
53722         <kernel-features.h>.
53723         [__ASSUME_32BITUIDS]: Make code unconditional.
53724         [!__ASSUME_32BITUIDS]: Remove conditional code.
53725         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
53726         [__ASSUME_32BITUIDS]: Make code unconditional.
53727         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
53728         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
53729         <kernel-features.h>.
53730         [__ASSUME_32BITUIDS]: Make code unconditional.
53731         [!__ASSUME_32BITUIDS]: Remove conditional code.
53732         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
53733         <kernel-features.h>.
53734         [__ASSUME_32BITUIDS]: Make code unconditional.
53735         [!__ASSUME_32BITUIDS]: Remove conditional code.
53736         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
53737         <kernel-features.h>.
53738         [__ASSUME_32BITUIDS]: Make code unconditional.
53739         [!__ASSUME_32BITUIDS]: Remove conditional code.
53740         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
53741         <kernel-features.h>.
53742         [__ASSUME_32BITUIDS]: Make code unconditional.
53743         [!__ASSUME_32BITUIDS]: Remove conditional code.
53744         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
53745         <kernel-features.h>.
53746         [__ASSUME_32BITUIDS]: Make code unconditional.
53747         [!__ASSUME_32BITUIDS]: Remove conditional code.
53748         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
53749         <kernel-features.h>.
53750         [__ASSUME_32BITUIDS]: Make code unconditional.
53751         [!__ASSUME_32BITUIDS]: Remove conditional code.
53752         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
53753         <kernel-features.h>.
53754         [__ASSUME_32BITUIDS]: Make code unconditional.
53755         [!__ASSUME_32BITUIDS]: Remove conditional code.
53756         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
53757         <kernel-features.h>.
53758         [__ASSUME_32BITUIDS]: Make code unconditional.
53759         [!__ASSUME_32BITUIDS]: Remove conditional code.
53760         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
53761         <kernel-features.h>.
53762         [__ASSUME_32BITUIDS]: Make code unconditional.
53763         [!__ASSUME_32BITUIDS]: Remove conditional code.
53764         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
53765         <kernel-features.h>.
53766         [__ASSUME_32BITUIDS]: Make code unconditional.
53767         [!__ASSUME_32BITUIDS]: Remove conditional code.
53768         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
53769         <kernel-features.h>.
53770         [__NR_setresgid] (__setresgid): Do not declare.
53771         [__ASSUME_32BITUIDS]: Make code unconditional.
53772         [!__ASSUME_32BITUIDS]: Remove conditional code.
53773         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
53774         <kernel-features.h>.
53775         [__NR_setresuid] (__setresuid): Do not declare.
53776         [__ASSUME_32BITUIDS]: Make code unconditional.
53777         [!__ASSUME_32BITUIDS]: Remove conditional code.
53778         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
53779         <kernel-features.h>.
53780         [__ASSUME_32BITUIDS]: Make code unconditional.
53781         [!__ASSUME_32BITUIDS]: Remove conditional code.
53782         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
53783         <kernel-features.h>.
53784         [__ASSUME_32BITUIDS]: Make code unconditional.
53785         [!__ASSUME_32BITUIDS]: Remove conditional code.
53786         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
53787         <kernel-features.h>.
53788         [__ASSUME_32BITUIDS]: Make code unconditional.
53789         [!__ASSUME_32BITUIDS]: Remove conditional code.
53790         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
53791         <kernel-features.h>.
53792         [__ASSUME_32BITUIDS]: Make code unconditional.
53793         [!__ASSUME_32BITUIDS]: Remove conditional code.
53794         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
53795         <kernel-features.h>.
53796         [__ASSUME_32BITUIDS]: Make code unconditional.
53797         [!__ASSUME_32BITUIDS]: Remove conditional code.
53798         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
53799         <kernel-features.h>.
53800         [__ASSUME_32BITUIDS]: Make code unconditional.
53801         [!__ASSUME_32BITUIDS]: Remove conditional code.
53802         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
53803         <kernel-features.h>.
53804         [__ASSUME_32BITUIDS]: Make code unconditional.
53805         [!__ASSUME_32BITUIDS]: Remove conditional code.
53806         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
53807         <kernel-features.h>.
53808         [__ASSUME_32BITUIDS]: Make code unconditional.
53809         [!__ASSUME_32BITUIDS]: Remove conditional code.
53810         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
53811         <kernel-features.h>.
53812         [__ASSUME_32BITUIDS]: Make code unconditional.
53813         [!__ASSUME_32BITUIDS]: Remove conditional code.
53814         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
53815         <kernel-features.h>.
53816         [__ASSUME_32BITUIDS]: Make code unconditional.
53817         [!__ASSUME_32BITUIDS]: Remove conditional code.
53818         * sysdeps/unix/sysv/linux/kernel-features.h
53819         (__ASSUME_SETRESUID_SYSCALL): Remove.
53820         (__ASSUME_SETRESGID_SYSCALL): Likewise.
53821         (__ASSUME_32BITUIDS): Likewise.
53822         (__ASSUME_LDT_WORKS): Likewise.
53823         (__ASSUME_O_DIRECTORY): Likewise.
53824         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
53825         architecture but not kernel version.
53826         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
53827         (__ASSUME_MMAP2_SYSCALL): Likewise.
53828         (__ASSUME_STAT64_SYSCALL): Likewise.
53829         (__ASSUME_IPC64): Likewise.
53830         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
53831         <kernel-features.h>.
53832         [__ASSUME_32BITUIDS]: Make code unconditional.
53833         [!__ASSUME_32BITUIDS]: Remove conditional code.
53834         * sysdeps/unix/sysv/linux/opendir.c: Do not include
53835         <kernel-features.h>.
53836         [__ASSUME_O_DIRECTORY]: Make code unconditional.
53837         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
53838         132096]: Remove conditional code.
53839         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
53840         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
53841         <kernel-features.h>.
53842         [__ASSUME_32BITUIDS]: Make code unconditional.
53843         [!__ASSUME_32BITUIDS]: Remove conditional code.
53844         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
53845         <kernel-features.h>.
53846         [__ASSUME_32BITUIDS]: Make code unconditional.
53847         [!__ASSUME_32BITUIDS]: Remove conditional code.
53848         * sysdeps/unix/sysv/linux/setegid.c: Do not include
53849         <kernel-features.h>.
53850         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
53851         unconditional.
53852         (__setresgid): Do not declare.
53853         [__ASSUME_32BITUIDS]: Make code unconditional.
53854         [!__ASSUME_32BITUIDS]: Remove conditional code.
53855         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
53856         <kernel-features.h>.
53857         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
53858         unconditional.
53859         (__setresuid): Do not declare.
53860         [__ASSUME_32BITUIDS]: Make code unconditional.
53861         [!__ASSUME_32BITUIDS]: Remove conditional code.
53862         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
53863         <kernel-features.h>.
53864         [__ASSUME_32BITUIDS]: Make code unconditional.
53865         [!__ASSUME_32BITUIDS]: Remove conditional code.
53866         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
53867         <kernel-features.h>.
53868         [__ASSUME_32BITUIDS]: Make code unconditional.
53869         [!__ASSUME_32BITUIDS]: Remove conditional code.
53871 2012-05-25  Richard Henderson  <rth@twiddle.net>
53873         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
53874         dl_hwcap to ifunc resolver.
53875         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
53876         elf_ifunc_invoke.
53877         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
53878         dl_hwcap to ifunc resolver.
53879         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
53881 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
53883         [BZ #14153]
53884         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
53885         for |x| <= 2**-26, not 2**-57.
53886         * math/libm-test.inc (acos_test): Do not allow spurious underflow
53887         exception.
53889 2012-05-24  Jeff Law  <law@redhat.com>
53891         * stdio-common/Makefile (tests): Add bug25.
53892         * stdio-common/bug25.c: New test.
53894 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
53896         [BZ #13576]
53897         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
53898         multiple of MALLOC_ALIGNMENT in size.
53899         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
53901 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
53903         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
53904         Require >= 256.
53905         (FILENAME_MAX): Use macro-int-constant.
53906         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
53907         (_IOFBF): Use macro-int-constant.
53908         (_IOLBF): Likewise.
53909         (_IONBF): Likewise.
53910         (SEEK_CUR): Likewise.
53911         (SEEK_END): Likewise.
53912         (SEEK_SET): Likewise.
53913         (TMP_MAX): Likewise.
53914         (EOF): Use macro-int-constant.  Require < 0.
53915         (NULL): Use macro-constant.  Require == 0.
53916         (stdin): Require type to be FILE *.
53917         (stdout): Likewise.
53918         (stderr): Likewise.
53919         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
53920         macro-int-constant.
53921         (EXIT_SUCCESS): Likewise.
53922         (NULL): Use macro-constant.  Require == 0.
53923         (RAND_MAX): Use macro-int-constant.
53924         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
53925         [C99-based standards] (strtof): Require function.
53926         [C99-based standards] (strtold): Likewise.
53927         [C99-based standards] (strtoll): Likewise.
53928         [C99-based standards] (strtoull): Likewise.
53929         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
53930         [ISO || ISO99 || ISO11] (limits.h): Likewise.
53931         [ISO || ISO99 || ISO11] (math.h): Likewise.
53932         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
53933         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
53934         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53936 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
53938         [BZ #14132]
53939         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
53940         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
53941         * intl/dgettext.c (DCGETTEXT): Likewise.
53942         * intl/gettext.c (DCGETTEXT): Likewise.
53943         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
53944         * posix/regex_internal.h (gettext): Likewise.
53945         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
53946         Remove declaration.
53947         * include/argz.h (__argz_count_internal)
53948         (__argz_stringify_internal): Remove declaration.
53949         (__argz_count, __argz_stringify): Declare hidden proto.
53950         * intl/dcgettext.c: Remove use of INTDEF.
53951         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
53952         * string/argz-stringify.c: Likewise.
53953         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
53954         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
53955         Declare hidden proto.
53956         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
53957         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
53958         Declare hidden proto.
53959         * include/stdio.h (__asprintf_internal): Don't declare.
53960         (__asprintf): Don't define as macro.  Declare hidden proto.
53961         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
53962         (__fsetlocking): Declare hidden proto.
53963         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
53964         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
53965         hidden proto.
53966         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
53967         (_IO_setlinebuf): Remove use of INTUSE.
53968         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
53969         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
53970         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
53971         Remove declaration.
53972         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
53973         (_IO_do_flush): Remove use of INTUSE.
53974         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
53975         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
53976         (_IO_adjust_column, _IO_least_wmarker)
53977         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
53978         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
53979         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
53980         (_IO_default_doallocate, _IO_wdefault_doallocate)
53981         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
53982         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
53983         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
53984         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
53985         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
53986         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
53987         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
53988         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
53989         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
53990         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
53991         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
53992         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
53993         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
53994         proto.
53995         (_IO_flush_all_internal, _IO_adjust_column_internal)
53996         (_IO_default_uflow_internal, _IO_default_finish_internal)
53997         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
53998         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
53999         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
54000         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
54001         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
54002         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
54003         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
54004         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
54005         (_IO_file_close_internal, _IO_file_close_it_internal)
54006         (_IO_file_underflow_internal, _IO_file_overflow_internal)
54007         (_IO_file_init_internal, _IO_file_attach_internal)
54008         (_IO_file_fopen_internal, _IO_file_read_internal)
54009         (_IO_file_sync_internal, _IO_file_seek_internal)
54010         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
54011         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
54012         (_IO_str_underflow_internal, _IO_str_overflow_internal)
54013         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
54014         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
54015         (_IO_list_all_internal, _IO_link_in_internal)
54016         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
54017         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
54018         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
54019         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
54020         (_IO_do_write_internal, _IO_padn_internal)
54021         (_IO_getline_info_internal, _IO_getline_internal)
54022         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
54023         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
54024         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
54025         (_IO_vfscanf_internal, _IO_vfprintf_internal)
54026         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
54027         (_IO_init_internal, _IO_un_link_internal): Don't declare.
54028         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
54029         with libc_hidden_ver, remove use of INTUSE.
54030         * libio/genops.c: Likewise.
54031         * libio/freopen.c: Likewise.
54032         * libio/freopen64.c: Likewise.
54033         * libio/iofclose.c: Likewise.
54034         * libio/iofdopen.c: Likewise.
54035         * libio/iofflush.c: Likewise.
54036         * libio/iofflush_u.c: Likewise.
54037         * libio/iofgets.c: Likewise.
54038         * libio/iofgets_u.c: Likewise.
54039         * libio/iofopen.c: Likewise.
54040         * libio/iofopncook.c: Likewise.
54041         * libio/iofread.c: Likewise.
54042         * libio/iofread_u.c: Likewise.
54043         * libio/ioftell.c: Likewise.
54044         * libio/iofwrite.c: Likewise.
54045         * libio/iogetline.c: Likewise.
54046         * libio/iogets.c: Likewise.
54047         * libio/iogetwline.c: Likewise.
54048         * libio/iopadn.c: Likewise.
54049         * libio/iopopen.c: Likewise.
54050         * libio/ioseekoff.c: Likewise.
54051         * libio/ioseekpos.c: Likewise.
54052         * libio/iosetbuffer.c: Likewise.
54053         * libio/iosetvbuf.c: Likewise.
54054         * libio/ioungetc.c: Likewise.
54055         * libio/ioungetwc.c: Likewise.
54056         * libio/iovdprintf.c: Likewise.
54057         * libio/iovsprintf.c: Likewise.
54058         * libio/iovsscanf.c: Likewise.
54059         * libio/memstream.c: Likewise.
54060         * libio/obprintf.c: Likewise.
54061         * libio/oldfileops.c: Likewise.
54062         * libio/oldiofclose.c: Likewise.
54063         * libio/oldiofdopen.c: Likewise.
54064         * libio/oldiofopen.c: Likewise.
54065         * libio/oldiopopen.c: Likewise.
54066         * libio/oldstdfiles.c: Likewise.
54067         * libio/putc.c: Likewise.
54068         * libio/setbuf.c: Likewise.
54069         * libio/setlinebuf.c: Likewise.
54070         * libio/stdfiles.c: Likewise.
54071         * libio/strops.c: Likewise.
54072         * libio/vasprintf.c: Likewise.
54073         * libio/vscanf.c: Likewise.
54074         * libio/vsnprintf.c: Likewise.
54075         * libio/vswprintf.c: Likewise.
54076         * libio/wfiledoalloc.c: Likewise.
54077         * libio/wfileops.c: Likewise.
54078         * libio/wgenops.c: Likewise.
54079         * libio/wmemstream.c: Likewise.
54080         * libio/wstrops.c: Likewise.
54081         * libio/__fpurge.c: Likewise.
54082         * libio/__fsetlocking.c: Likewise.
54083         * assert/assert.c: Likewise.
54084         * debug/fgets_chk.c: Likewise.
54085         * debug/fgets_u_chk.c: Likewise.
54086         * debug/fread_chk.c: Likewise.
54087         * debug/fread_u_chk.c: Likewise.
54088         * debug/gets_chk.c: Likewise.
54089         * debug/obprintf_chk.c: Likewise.
54090         * debug/vasprintf_chk.c: Likewise.
54091         * debug/vdprintf_chk.c: Likewise.
54092         * debug/vsnprintf_chk.c: Likewise.
54093         * debug/vsprintf_chk.c: Likewise.
54094         * malloc/mtrace.c: Likewise.
54095         * misc/error.c: Likewise.
54096         * misc/syslog.c: Likewise.
54097         * stdio-common/asprintf.c: Likewise.
54098         * stdio-common/fxprintf.c: Likewise.
54099         * stdio-common/getw.c: Likewise.
54100         * stdio-common/isoc99_fscanf.c: Likewise.
54101         * stdio-common/isoc99_scanf.c: Likewise.
54102         * stdio-common/isoc99_vfscanf.c: Likewise.
54103         * stdio-common/isoc99_vscanf.c: Likewise.
54104         * stdio-common/isoc99_vsscanf.c: Likewise.
54105         * stdio-common/printf-prs.c: Likewise.
54106         * stdio-common/printf_fp.c: Likewise.
54107         * stdio-common/printf_fphex.c: Likewise.
54108         * stdio-common/printf_size.c: Likewise.
54109         * stdio-common/putw.c: Likewise.
54110         * stdio-common/scanf.c: Likewise.
54111         * stdio-common/sprintf.c: Likewise.
54112         * stdio-common/tmpfile.c: Likewise.
54113         * stdio-common/vfprintf.c: Likewise.
54114         * stdio-common/vfscanf.c: Likewise.
54115         * stdlib/strfmon_l.c: Likewise.
54116         * sunrpc/openchild.c: Likewise.
54117         * sunrpc/xdr_stdio.c: Likewise.
54118         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
54119         * sysdeps/mach/hurd/tmpfile.c: Likewise.
54121 2012-05-24  Roland McGrath  <roland@hack.frob.com>
54123         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
54125         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
54126         in the third column, to generate for the shared library an IFUNC
54127         that uses _dl_vdso_vsym.
54128         * Makerules (COMPILE.c, compile-stdin.c): New variables.
54129         * Makeconfig (object-suffixes-noshared): New variable.
54131         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
54132         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
54133         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
54134         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
54136         [BZ #14132]
54137         * include/sys/time.h (__gettimeofday): Remove macro.
54138         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
54139         * time/gettimeofday.c (__gettimeofday): Remove #undef.
54140         Remove INTDEF.
54141         (__gettimeofday): Add libc_hidden_def.
54142         (gettimeofday): Add libc_hidden_weak.
54143         * sysdeps/mach/gettimeofday.c: Likewise.
54144         * sysdeps/posix/gettimeofday.c: Likewise.
54145         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
54146         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
54147         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
54148         (__gettimeofday_internal): Remove strong_alias.
54149         (__gettimeofday): Add libc_hidden_def.
54150         (gettimeofday): Add libc_hidden_weak.
54151         * sysdeps/unix/syscalls.list (gettimeofday):
54152         Remove __gettimeofday_internal alias.
54154 2012-05-24  Daniel Jacobowitz  <drow@false.org>
54155             H.J. Lu  <hongjiu.lu@intel.com>
54157         [BZ #12495]
54158         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
54159         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
54160         (largebin_index_32_big): New.
54161         (largebin_index): Use it for 16-byte alignment.
54162         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
54163         correction with front_misalign.
54165 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
54167         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
54168         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
54169         Likewise.
54170         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
54171         Likewise.
54172         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
54173         Likewise.
54174         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
54175         Likewise.
54176         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
54177         Likewise.
54178         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
54179         Likewise.
54180         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
54181         Likewise.
54182         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
54183         Likewise.
54184         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
54185         Likewise.
54186         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
54187         Likewise.
54188         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
54189         Likewise.
54190         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
54191         Likewise.
54193         * scripts/data/c++-types-x32-linux-gnu.data: New file.
54194         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
54196 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
54198         [BZ #10846]
54199         [BZ #14036]
54200         * math/libm-test.inc (exp_test): Add test from bug 14036.
54201         (pow_test): Add test from bug 10846.
54203         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
54204         and other flags.
54205         (special_function): Do not include flags in test name.
54206         (parse_args): Likewise.
54207         * sysdeps/i386/fpu/libm-test-ulps: Update.
54208         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54209         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
54210         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
54211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54213         * math/gen-libm-test.pl (%beautify): Add entries for underflow
54214         exceptions.
54215         * math/libm-test.inc ("Philosophy"): Update comment about
54216         exception testing.
54217         (UNDERFLOW_EXCEPTION): New macro.
54218         (UNDERFLOW_EXCEPTION_OK): Likewise.
54219         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
54220         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
54221         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
54222         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
54223         (INVALID_EXCEPTION_OK): Update value.
54224         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
54225         (OVERFLOW_EXCEPTION_OK): Likewise.
54226         (IGNORE_ZERO_INF_SIGN): Likewise.
54227         (test_exceptions): Handle underflow exceptions.
54228         (acos_test): Update for underflow exception expectations.
54229         (cexp_test): Likewise.
54230         (clog_test): Likewise.
54231         (clog10_test): Likewise.
54232         (csqrt_test): Likewise.
54233         (ctan_test): Likewise.
54234         (ctanh_test): Likewise.
54235         (exp_test): Likewise.
54236         (exp10_test): Likewise.
54237         (exp2_test): Likewise.
54238         (expm1_test): Likewise.
54239         (fma_test): Likewise.
54240         (j0_test): Likewise.
54241         (jn_test): Likewise.
54242         (nexttoward_test): Likewise.
54243         (pow_test): Likewise.
54244         (scalbn_test): Likewise.
54245         (scalbln_test): Likewise.
54246         (tan_test): Likewise.
54247         (y1_test): Likewise.
54248         * sysdeps/i386/fpu/libm-test-ulps: Update.
54249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54251 2012-05-23  David S. Miller  <davem@davemloft.net>
54253         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
54254         (__libc_sigaction): Remove unused local variables.
54256 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
54258         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
54260 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
54262         mktime: avoid signed integer overflow
54263         * time/mktime.c (__mktime_internal): Do not mishandle the case
54264         where diff == INT_MIN.
54266         mktime: simplify computation of average
54267         * time/mktime.c (ranged_convert): Use new time_t_avg function
54268         instead of rolling our own (probably-slower) code.
54270         mktime: do not assume signed right shift propagates sign bit
54271         * time/mktime.c (isdst_differ): New static function.
54272         (__mktime_internal): No need to normalize tm_isdst now.
54273         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
54274         tm_isdst values.
54276         mktime: merge another wrapv change from gnulib
54277         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
54278         from some compilers.
54280         mktime: remove incorrect attempt at unusual arithmetics
54281         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
54282         The code didn't really work on such machines anyway.
54283         (TYPE_MINIMUM): Assume two's complement.
54284         (twos_complement_arithmetic): Verify that long_int and time_t
54285         are two's complement (or unsigned, in the latter case).
54287         mktime: check signed shifts on long_int and time_t, too
54288         * time/mktime.c (SHR): Check that shifts work as desired
54289         on the types long_int and time_t too, as SHR is used on
54290         such types.
54292         mktime: do not assume 'long' is wide enough
54293         * time/mktime.c (verify): Move decl up.
54294         (long_int): New type.
54295         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
54296         to remove assumption in the code that 'long' is wide enough to
54297         store year values.  This assumption is not true on x32 and on
54298         some non-glibc platforms.
54300         mktime: merge wrapv change from gnulib
54301         * time/mktime.c (WRAPV): New macro.
54302         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
54303         (guess_time_tm, __mktime_internal): Do not assume that signed
54304         integer overflow wraps around; modern compilers generate code
54305         where this assumption is no longer valid.
54307 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
54309         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
54310         Replace "jmp L(pseudo_end)" with "ret".
54311         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
54312         Likewise.
54314 2012-05-23  Andreas Jaeger  <aj@suse.de>
54316         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
54317         * sysdeps/unix/sysv/linux/poll.c: Remove file.
54319 2012-05-23  Andreas Jaeger  <aj@suse.de>
54320             Maximilian Attems  <max@stro.at>
54322         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
54323         New macros.
54325 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
54327         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
54328         code so that pseudo_end is just ret and the stack pointer is
54329         correct also for static library in error case.
54331 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
54333         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
54334         move to syscalls.list.
54335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
54336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
54337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
54338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
54340         * manual/install.texi (Running make install): Do not mention Linux
54341         kernel version for which pt_chown is not needed.
54342         (Linux): Do not mention problems with nscd with 2.0 kernels.
54343         * INSTALL: Regenerated.
54345 2012-05-23  Andreas Jaeger  <aj@suse.de>
54347         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
54348         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
54349         macro.
54350         * sysdeps/unix/sysv/linux/s390/bits/mman.h
54351         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54352         * sysdeps/unix/sysv/linux/sh/bits/mman.h
54353         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54354         * sysdeps/unix/sysv/linux/i386/bits/mman.h
54355         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54356         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
54357         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54358         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
54359         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54360         * sysdeps/unix/sysv/linux/bits/in.h
54361         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
54363 2012-05-22  Roland McGrath  <roland@hack.frob.com>
54365         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
54366         (PREPARE_VERSION): Just use assert instead, it will be elided
54367         under [NDEBUG] anyway.
54369 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
54371         * sysdeps/unix/sysv/linux/Makefile: Include
54372         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
54373         (sysdep_routines): Remove sysctl.
54374         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
54375         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
54376         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
54377         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
54378         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
54380 2012-05-22  Andreas Jaeger  <aj@suse.de>
54382         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
54383         that pseudo_end is just ret and the stack pointer is correct also
54384         for static library in error case.
54386 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
54388         [BZ #14122]
54389         * nss/nsswitch.c (defconfig_entries): New variable.
54390         (__nss_database_lookup): Don't leak defconfig entries.
54391         (nss_parse_service_list): Don't leak on error paths.
54392         (free_database_entries): New function.
54393         (free_defconfig): New function.
54394         (free_mem): Move common code to free_database_entries.
54396 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
54398         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
54399         Add arch_prctl.
54400         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
54402         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
54403         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
54404         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
54405         New macro.
54406         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
54407         (INTERNAL_SYSCALL_TYPES): Likewise.
54408         (LOAD_ARGS_TYPES_[1-6]): Likewise.
54409         (LOAD_REGS_TYPES_[1-6]): Likewise.
54410         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
54411         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
54413 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54415         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
54416         copysignl for GLIBC_2_0.
54417         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
54418         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
54419         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
54420         logbl for GLIBC_2_0.
54421         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
54422         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
54424 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
54426         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
54427         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
54429         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
54430         Use "neg %eax".
54432         * time/mktime.c: Update copyright years.
54434 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
54436         mktime: merge comment-quoting-style change from gnulib
54437         * time/mktime.c: Quote 'like this' in comments.
54438         The GNU coding standards suggest that we no longer quote `like this',
54439         as "`" and "'" are typically rendered asymmetrically nowadays.
54440         The typical gnulib style is to quote 'like this' when quoting
54441         code, and "like this" when quoting English.
54443         * time/mktime.c (compile-command): Add "-I.".
54445         mktime: merge mktime-internal.h change from gnulib
54446         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
54448         mktime: merge time_r change from gnulib
54449         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
54451         mktime: merge DEBUG change from gnulib
54452         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
54453         case system <time.h> has a #define.
54455         mktime: merge <sys/types.h> change from gnulib
54456         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
54457         since <time.t> is now guaranteed to define time_t.
54459         mktime: merge HAVE_CONFIG_H change from gnulib
54460         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
54462 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
54464         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
54465         Use "neg %eax".
54467         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
54468         __rlim_t cast.
54469         (struct rusage): Use anonymous union to pad each field to
54470         __syscall_slong_t.
54472 2012-05-21  David S. Miller  <davem@davemloft.net>
54474         * Makefules (o-iterator): Remove .s cases.
54475         (compile-command.s): Delete.
54476         (COMPILE.s): Delete.
54477         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
54479 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
54481         * configure.in (libc_cv_predef_stack_protector): Only consider
54482         "foobar" and "__stack_chk_fail" lines in libc_undefs.
54483         * configure: Regenerated.
54485 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
54487         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
54488         New macro.  Use R*LP on int and pointer.
54489         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
54490         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
54491         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
54492         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
54494         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
54495         [__WORDSIZE_TIME64_COMPAT32] instead of
54496         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
54497         (struct utmp): Likewise.
54498         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
54499         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
54500         Renamed to ...
54501         (__WORDSIZE_TIME64_COMPAT32): This.
54502         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
54503         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
54504         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
54505         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
54506         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
54507         (__WORDSIZE_TIME64_COMPAT32): New macro.
54509 2012-05-21  Andreas Jaeger  <aj@suse.de>
54511         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
54512         only if [SHARED]. Add prototype for __wcschr_ia32.
54514 2012-05-21  Roland McGrath  <roland@hack.frob.com>
54516         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
54517         of %rbp unmolested in the jmp_buf while mangling the low bits.
54518         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
54519         unmolested high bits of %rbp while demangling the low bits.
54520         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
54522 2012-05-21  Andreas Jaeger  <aj@suse.de>
54524         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
54525         * sunrpc/svc_simple.c: Use it for registerrpc.
54526         * sunrpc/xcrypt.c: Use it for passwd2des.
54528         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
54530 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
54532         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
54533         Don't define if [__SYSCALL_WORDSIZE != 32].
54534         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
54535         New macro.
54537 2012-05-21  Bruno Haible  <bruno@clisp.org>
54538             Andreas Jaeger  <aj@suse.de>
54540         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
54541         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
54542         inptr and inend for must_buffer_ch.
54543         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
54544         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
54545         * stdio-common/Makefile (tests): Remove bug15.
54546         (bug15-ENV): Remove macro.
54547         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
54548         anymore.
54550 2012-05-19  Andreas Jaeger  <aj@suse.de>
54551             Roland McGrath  <roland@hack.frob.com>
54553         * manual/contrib.texi: Completely rewritten. It contains now an
54554         alphabetical list of contributors and their contributions.
54556 2012-05-21  Richard Henderson  <rth@twiddle.net>
54558         * misc/getauxval.c (__getauxval): Use unsigned long int.
54559         * misc/sys/auxv.h: Include <sys/cdefs.h>.
54560         (getauxval): Use unsigned long int.
54562 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
54564         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
54566 2012-05-21  Roland McGrath  <roland@hack.frob.com>
54568         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
54569         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
54570         __alignof__ (long double).
54572 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54574         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54576 2012-05-20  Richard Henderson  <rth@twiddle.net>
54578         * misc/getauxval.c: New file.
54579         * misc/sys/auxv.h: New file.
54580         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
54581         (routines): Add getauxval.
54582         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
54583         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
54584         * elf/dl-sysdep.c (_dl_auxv): Remove.
54585         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
54586         * elf/dl-support.c (_dl_auxv): New variable.
54587         (_dl_aux_init): Initialize it.
54588         * manual/startup.texi (Auxiliary Vector): New node.
54589         * sysdeps/generic/bits/hwcap.h: New file.
54590         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
54591         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
54592         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
54593         * sysdeps/sparc/sysdep.h: ... here.  Include it.
54594         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
54595         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
54596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54597         Update.
54598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
54599         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
54600         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
54601         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
54602         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
54603         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
54604         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
54605         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
54607 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54609         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54611 2012-05-19  David S. Miller  <davem@davemloft.net>
54613         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54615 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
54617         [BZ #14123]
54618         * math/s_ccosh.c: Include <float.h>
54619         (__ccosh): Avoid internal overflow calculating sinh and cosh
54620         values before multiplying by sin and cos values.
54621         * math/s_ccoshf.c: Likewise.
54622         * math/s_ccoshl.c: Likewise.
54623         * math/s_csin.c: Likewise.
54624         * math/s_csinf.c: Likewise.
54625         * math/s_csinl.c: Likewise.
54626         * math/s_csinh.c: Likewise.
54627         * math/s_csinhf.c: Likewise.
54628         * math/s_csinhl.c: Likewise.
54629         * math/libm-test.inc (ccos_test): Add more tests.
54630         (ccosh_test): Likewise.
54631         (csin_test): Likewise.
54632         (csinh_test): Likewise.
54633         * sysdeps/i386/fpu/libm-test-ulps: Update.
54634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54636 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
54638         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
54639         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
54641         * sysdeps/x86_64/x32/_itoa.h: Add comment.
54643 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
54645         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
54646         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
54647         * sysdeps/powerpc/soft-fp/Versions: Likewise.
54648         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
54649         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
54650         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
54651         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
54652         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
54653         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
54654         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
54655         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
54656         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
54657         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
54658         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
54659         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
54660         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
54661         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
54662         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
54663         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
54664         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
54665         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
54666         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
54667         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
54668         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
54669         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
54670         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
54671         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
54672         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
54673         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
54674         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
54675         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
54677 2012-05-18  Andreas Jaeger  <aj@suse.de>
54679         * csu/.gitignore: Delete.
54681 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
54683         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
54684         (timex): Use __syscall_slong_t.
54686 2012-05-18  Andreas Jaeger  <aj@suse.de>
54687             Carlos O'Donell  <carlos_odonell@mentor.com>
54689         * manual/install.texi (Configuring and compiling): Update
54690         description about files modified in the source directory.
54691         * INSTALL: Regenerated.
54693 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
54695         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
54696         value.  Use "or" to set return value to -1.
54697         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
54698         negate return value.
54700 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54702         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
54703         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
54704         failure if the compiler has Graphite support disabled.
54705         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
54706         Likewise.
54707         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
54708         (CFLAGS-memmove.c): Likewise.
54709         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
54710         Likewise.
54712 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
54714         * sysdeps/x86_64/x32/_itoa.h: New file.
54716         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
54717         getdents system call only if kernel and user dirents have the
54718         same d_ino and d_off.
54720         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
54721         LLONG_MAX != LONG_MAX.
54722         (_itoa_word): Use _ITOA_WORD_TYPE on value.
54723         (_fitoa_word): Likewise.
54725         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
54726         years.
54727         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
54728         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
54729         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
54731         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
54732         include <bits/wordsize.h>.  Check __x86_64__ instead of
54733         __WORDSIZE.
54734         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
54735         if __x86_64__ is defined.  Use anonymous union on fpstate.
54737         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
54738         anonymous union.
54740 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
54742         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
54743         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
54744         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
54745         Refer to _rtld_local_ro instead of _rtld_global_ro.
54746         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
54747         Likewise.
54748         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
54749         Likewise.
54750         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
54751         Likewise.
54752         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
54753         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
54754         of _rtld_global, and rtld_progname instead of _dl_argv[0].
54756         [BZ #10882]
54757         * sysdeps/powerpc/powerpc32/dl-machine.c
54758         (__elf_machine_runtime_setup) [PROF]: Don't reference
54759         _dl_prof_resolve.
54761 2012-05-18  Andreas Jaeger  <aj@suse.de>
54763         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
54764         function only available for GCCs before 3.4 since GCC 3.4
54765         introduced a builtin.
54766         (lrint): Likewise.
54767         (llrintf): Likewise.
54768         (llrint): Likewise.
54769         (fmaxf): Likewise.
54770         (fmax): Likewise.
54771         (fminf): Likewise.
54772         (fmin): Likewise.
54773         (rint): Likewise.
54774         (rintf): Likewise.
54775         (nearbyint): Likewise.
54776         (nearbyintf): Likewise.
54777         (ceil): Likewise.
54778         (ceilf): Likewise.
54779         (floor): Likewise.
54780         (floorf): Likewise.
54782 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
54784         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
54785         on both fields and cast pointer to __syscall_ulong_t.
54787         * bits/types.h (__fsword_t): New type.
54788         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
54789         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
54790         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54791         (__FSWORD_T_TYPE): Likewise.
54792         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54793         (__FSWORD_T_TYPE): Likewise.
54794         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54795         (__FSWORD_T_TYPE): Likewise.
54796         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
54797         (__FSWORD_T_TYPE): Likewise.
54798         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
54799         __SWORD_TYPE with __fsword_t.
54800         (statfs64): Likewise.
54802 2012-05-17  David S. Miller  <davem@davemloft.net>
54804         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
54806 2012-05-17  Andreas Jaeger  <aj@suse.de>
54808         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
54809         warning.
54811 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
54813         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
54815 2012-05-17  Andreas Jaeger  <aj@suse.de>
54817         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
54818         when it is used.
54820 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
54822         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
54824 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
54826         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
54827         * sysdeps/x86_64/tst-mallocalign1.c: New file.
54829 2012-05-17  Andreas Jaeger  <aj@suse.de>
54830             Carlos O'Donell  <carlos_odonell@mentor.com>
54832         [BZ #14059]
54833         * sysdeps/x86_64/multiarch/init-arch.h
54834         (bit_YMM_Usable): Rename to...
54835         (bit_AVX_Usable): ... this.
54836         (bit_FMA4_Usable): New macro.
54837         (bit_XMM_state): New macro.
54838         (bit_YMM_state): New macro.
54839         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
54840         [__ASSEMBLER__] (index_AVX_Usable): ... this.
54841         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
54842         (CPUID_OSXSAVE): New macro.
54843         (CPUID_AVX): New macro.
54844         (CPUID_FMA4): New macro.
54845         (index_YMM_Usable): Rename to...
54846         (index_AVX_Usable): ... this.
54847         (HAS_AVX): Use HAS_ARCH_FEATURE.
54848         (HAS_FMA4): Likewise.
54849         (HAS_YMM_USABLE): Remove.
54850         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54851         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
54852         are present.
54853         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
54854         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
54855         * sysdeps/x86_64/multiarch/Makefile: Likewise.
54856         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
54857         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
54859 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
54861         * math/libm-test.c: Support platforms without multiple rounding modes.
54862         * math/bug-nextafter.c: Support platforms without FP exceptions.
54863         * math/bug-nexttoward.c: Likewise.
54864         * math/test-fenv.c: Likewise.
54865         * math/test-misc.c: Likewise.
54866         * stdlib/bug-getcontext.c: Likewise.
54868 2012-05-17  Andreas Jaeger  <aj@suse.de>
54870         * manual/examples/search.c (critter_cmp): Change signature to
54871         avoid warnings.
54872         * manual/string.texi (Collation Functions): Likewise.
54874 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54876         * bits/types.h: Fold copyright years.
54877         * bits/typesizes.h: Likewise.
54878         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
54879         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
54880         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
54881         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
54882         * time/time.h: Likewise.
54884 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
54886         [BZ #208]
54887         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
54888         in instead of returning them.  Return void.
54889         (__libc_mallinfo): Accumulate over all arenas.
54890         (__malloc_stats): Adjust for change in int_mallinfo interface.
54892 2012-05-16  Roland McGrath  <roland@hack.frob.com>
54894         [BZ #10375]
54895         * configure.in (NM): Add AC_CHECK_TOOL for it.
54896         (libc_extra_cflags): New substituted variable.
54897         Check for -fstack-protector being used implicitly.
54898         * configure: Regenerated.
54899         * config.make.in (config-extra-cflags): New variable,
54900         gets @libc_extra_cflags@.
54901         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
54903         [BZ #10375]
54904         * configure.in: Check for _FORTIFY_SOURCE being predefined.
54905         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
54906         * configure: Regenerated.
54907         * config.make.in (CPPUNDEFS): New substituted variable.
54908         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
54909         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
54910         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
54912 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54914         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
54915         (mq_attr): Use __syscall_slong_t.
54917 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54919         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
54920         Check __x86_64__ instead of __WORDSIZE.
54921         (_STAT_VER_LINUX): Likewise.
54922         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
54923         __syscall_ulong_t and __syscall_slong_t.
54924         (stat64): Likewise.
54926 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54928         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
54930 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54932         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
54934 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54936         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
54937         __syscall_ulong_t.
54939         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
54940         include <bits/wordsize.h>.  Check __x86_64__ instead of
54941         __WORDSIZE.
54942         (greg_t): Use "__extension__ long long int" if __x86_64__ is
54943         defined.
54944         (mcontext_t): Replace "unsigned long" with "unsigned long long".
54946         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
54947         include <bits/wordsize.h>.  Check __x86_64__ instead of
54948         __WORDSIZE.
54949         (user_regs_struct): Use "__extension__ unsigned long long"
54950         instead of "unsigned long" if __x86_64__ is defined.
54951         (user): Likewise.  Pad after pointer field if __ILP32__ is
54952         defined.
54954 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
54956         * configure.in (makeinfo): Require version 4.5 or later.  Allow
54957         versions 5 to 9.
54958         * configure: Regenerated.
54959         * manual/install.texi (texinfo): Increase version requirement to
54960         4.5 or later.
54961         * INSTALL: Regenerated.
54963         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
54965 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54967         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
54969         * sysdeps/x86_64/x32/ffs.c: New file.
54971         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
54972         __syscall_ulong_t.
54973         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
54974         defined.  Use __syscall_ulong_t.
54975         (shminfo): Use __syscall_ulong_t.
54976         (shm_info): Likewise.
54978         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
54979         __syscall_ulong_t.
54981         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
54982         <bits/wordsize.h>.
54983         (msgqnum_t): Use __syscall_ulong_t.
54984         (msglen_t): Likewise.
54985         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
54986         __syscall_ulong_t.
54988         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
54989         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
54991         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
54993         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
54994         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
54996         * sysvipc/sys/msg.h (msgbuf): Replace long int with
54997         __syscall_slong_t.
54999         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
55000         include <bits/wordsize.h>.  Check __x86_64__ instead of
55001         __WORDSIZE.
55003         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
55004         "unsigned long long int" if __x86_64__ is defined.
55005         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
55007         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
55008         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
55009         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
55011         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
55012         <stdint.h>.
55013         (GET_PC): Cast to uintptr_t first.
55014         (GET_FRAME): Likewise.
55015         (GET_STACK): Likewise.
55017         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
55018         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
55019         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
55020         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
55021         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
55022         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
55023         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
55024         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
55025         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
55026         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
55027         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
55028         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
55029         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
55030         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
55031         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
55032         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
55033         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
55034         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
55035         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
55036         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
55037         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
55038         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
55039         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
55040         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
55041         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
55042         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
55043         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
55044         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
55045         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
55047 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
55049         * Makerules (+depfiles): Also collect depfiles from .oS in
55050         $(extra-objs).
55051         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
55052         .oS, $(libnldbl-routines)).
55054         * Makerules (native-compile-mkdep-flags): Define.
55055         * sunrpc/Makefile (extra-objs): Add $(addprefix
55056         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
55057         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
55058         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
55059         calling $(make-target-directory).
55061 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55063         * bits/types.h (__snseconds_t): Removed.
55064         * time/time.h (struct timespec): Replace __snseconds_t with
55065         __syscall_slong_t.
55066         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
55067         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
55068         Likewise.
55069         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55070         (__SNSECONDS_T_TYPE): Likewise.
55071         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55072         (__SNSECONDS_T_TYPE): Likewise.
55073         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55074         (__SNSECONDS_T_TYPE): Likewise.
55076 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55078         * sysdeps/mach/hurd/bits/typesizes.h
55079         (__SYSCALL_SLONG_TYPE): New macro.
55080         (__SYSCALL_ULONG_TYPE): Likewise.
55082 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55084         * bits/types.h (__syscall_slong_t): New type.
55085         (__syscall_ulong_t): Likewise.
55087         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
55088         (__SYSCALL_ULONG_TYPE): Likewise.
55089         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55090         (__SYSCALL_SLONG_TYPE): Likewise.
55091         (__SYSCALL_ULONG_TYPE): Likewise.
55092         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55093         (__SYSCALL_SLONG_TYPE): Likewise.
55094         (__SYSCALL_ULONG_TYPE): Likewise.
55095         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55096         (__SYSCALL_SLONG_TYPE): Likewise.
55097         (__SYSCALL_ULONG_TYPE): Likewise.
55099 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55101         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
55102         Add sigaltstack-offsets.sym.
55103         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
55104         <sigaltstack-offsets.h>.
55105         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
55106         longjmp_msg pointer.
55107         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
55108         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
55109         signal stack.
55110         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
55112 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
55114         * elf/stackguard-macros.h: Remove file.
55115         * sysdeps/generic/stackguard-macros.h: New file.
55116         * sysdeps/i386/stackguard-macros.h: Likewise.
55117         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
55118         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
55119         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
55120         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
55121         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
55122         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
55123         * sysdeps/x86_64/stackguard-macros.h: Likewise.
55124         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
55125         <elf/stackguard-macros.h>.
55127         [BZ #14109]
55128         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
55129         __aligned__ in attribute.
55130         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
55131         (gregset_t): Likewise.
55133 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55135         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
55136         * sysdeps/x86_64/64/Implies-after: Here.  New file.
55137         * sysdeps/x86_64/x32/Implies-after: New file.
55139 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55141         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
55142         and access return value for _dl_profile_fixup.  Use R10_LP to
55143         load frame size.
55145 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55147         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
55149 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55151         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
55152         * sysdeps/x86_64/x32/sysdep.h: New file.
55154 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55156         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
55157         * sysdeps/x86_64/setjmp.S: Likewise.
55159 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55161         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
55162         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
55163         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
55164         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
55165         remove unused global constant.
55167 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
55169         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
55170         include of <not-cancel.h>.
55172 2012-05-15  Roland McGrath  <roland@hack.frob.com>
55174         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
55176 2012-05-15  Jeff Law  <law@redhat.com>
55177             Andreas Jaeger  <aj@suse.de>
55179         [BZ #13594]
55180         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
55181         out from...
55182         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
55183         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
55184         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
55185         code changing __hst_map_handle.map.
55187 2012-05-15  Roland McGrath  <roland@hack.frob.com>
55189         * configure.in (sysnames): Look for Implies-before and Implies-after
55190         files.
55191         * configure: Regenerated.
55193 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55195         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
55196         8-byte data alignment with LP_SIZE alignment.
55198 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55200         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
55201         into R10_LP.
55203 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55205         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
55207 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55209         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
55210         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
55211         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
55212         Likewise.
55213         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
55215 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55217         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
55218         (stackinfo_sub_sp): Likewise.
55220 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55222         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
55223         RAX_LP.
55225 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55227         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
55228         into R*_LP.
55230 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55232         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
55233         sizes into R*_LP.
55235 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55237         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
55239 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55241         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
55242         into R11_LP and load __x86_64_shared_cache_size_half into
55243         R8_LP.
55245 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55247         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
55248         R8_LP.
55250 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55252         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
55253         logb for POWER7.
55254         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
55255         logbf for POWER7.
55256         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
55257         logbl for POWER7.
55258         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
55259         powerpc32/power7/fpu/s_logb.c via #include.
55260         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
55261         powerpc32/power7/fpu/s_logbf.c via #include.
55262         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
55263         powerpc32/power7/fpu/s_logbl.c via #include.
55265 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
55267         * README.libm: Remove file.
55269 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55271         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
55272         count for x32.  Use R*_LP and omit operand-size suffix.
55274 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55276         * shlib-versions: Move x86_64-.*-linux.* entries to ...
55277         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
55278         * sysdeps/x86_64/x32/shlib-versions: New file.
55280 2012-05-14  Roland McGrath  <roland@hack.frob.com>
55282         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
55283         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
55284         Use _dl_fatal_printf instead.
55286 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
55288         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
55289         set if not set by the user.  Do not allow for being unset.
55290         * sysdeps/unix/sysv/linux/configure: Regenerated.
55292 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55294         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
55295         the `q' suffix from lea and replace .quad with ASM_ADDR.
55297 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55299         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
55300         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
55301         instead of $17.
55302         (PTR_DEMANGLE): Likewise.
55304 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55306         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
55307         (LP_OP): Likewise.
55308         (ASM_ADDR): Likewise.
55309         (RAX_LP): Likewise.
55310         (RBP_LP): Likewise.
55311         (RBX_LP): Likewise.
55312         (RCX_LP): Likewise.
55313         (RDI_LP): Likewise.
55314         (RSI_LP): Likewise.
55315         (RSP_LP): Likewise.
55316         (R8_LP): Likewise.
55317         (R9_LP): Likewise.
55318         (R10_LP): Likewise.
55319         (R10_LP): Likewise.
55320         (R11_LP): Likewise.
55321         (R12_LP): Likewise.
55322         (R13_LP): Likewise.
55323         (R14_LP): Likewise.
55324         (R15_LP): Likewise.
55326 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55328         * sysdeps/x86_64/x32/dl-machine.h: New file.
55330 2012-05-14  Andreas Jaeger  <aj@suse.de>
55332         * manual/Makefile (subdir): Remove export of subdir.
55333         (all): Remove target.
55334         (.PHONY): Remove all from list.
55335         (mkinstalldirs): Remove.
55336         (.PHONY): Remove installdirs from list.
55337         ($(inst_infodir)/libc.info): Use make-target-directory.
55338         (installdirs): Remove.
55339         (subdir_%): Remove.
55340         (glibc-targets): Remove.
55341         (lib): Remove.
55342         (stubs): Remove.
55343         ($(objpfx)stubs ../po/manual.pot): Remove.
55344         ($(objpfx)stamp%): Remove.
55345         (make-target-directory): Remove.
55346         (subdir_install): Remove.
55347         (routines): Remove.
55348         (aux): Remove.
55349         (sources): Remove.
55350         (objects): Remove.
55351         (headers): Remove.
55353         [BZ #13750]
55354         * manual/.gitignore: Remove, it's not needed anymore.
55355         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
55356         all files in it.
55357         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
55358         directory.
55359         (texis): Renamed to $(objpfx)texis.
55360         (texis-path): New, contains path to generated files.
55361         (chapters.%): Use texis-path for complete path, add extra argument
55362         libc-texinfo.sh.
55363         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
55364         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
55365         (summary,texi, stamp-summary): Use complete path of
55366         files. Generate files in build dir.
55367         (dir-add.texi): Build in build dir.
55368         (libm-err.texi,stamp-libm-err): Likewise.
55369         (version.texi, stamp-version): Likewise.
55370         (.%c.texi): Likewise.
55371         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
55372         (mostlyclean): Remove target.
55373         (realclean): Remove target.
55374         (generated): Add new variable with contents from mostlyclean and
55375         realclean, remove entries duplicated in common-mostlyclean, add
55376         stamp-libm-err and stamp-version.
55377         (generated-dirs): Add libc directory.
55378         ($(inst_infodir)/libc.info): Install files from build dir.
55380         * manual/install.texi (Configuring and compiling): Adjust since
55381         the info files are not part of the tar ball anymore.
55383 2012-05-14  Andreas Jaeger  <aj@suse.de>
55385         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
55386         variable.
55388 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
55390         [BZ #13717]
55391         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
55392         to 2.2.0 where earlier.
55393         * sysdeps/unix/sysv/linux/configure: Regenerated.
55394         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
55395         Remove conditional code.
55396         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
55397         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
55398         Remove conditional code.
55399         [!__NR_lchown]: Likewise.
55400         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
55401         [__NR_lchown]: Likewise.
55402         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
55403         comment referencing __ASSUME_LCHOWN_SYSCALL.
55404         * sysdeps/unix/sysv/linux/i386/sigaction.c
55405         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
55406         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
55407         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
55408         Remove conditional code.
55409         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
55410         (__protocol_available): Remove #if 0 code.
55411         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
55412         conditional code.
55413         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
55414         * sysdeps/unix/sysv/linux/kernel-features.h
55415         (__ASSUME_GETCWD_SYSCALL): Don't define.
55416         (__ASSUME_REALTIME_SIGNALS): Likewise.
55417         (__ASSUME_PREAD_SYSCALL): Likewise.
55418         (__ASSUME_PWRITE_SYSCALL): Likewise.
55419         (__ASSUME_POLL_SYSCALL): Likewise.
55420         (__ASSUME_LCHOWN_SYSCALL): Likewise.
55421         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
55422         non-SPARC.
55423         (__ASSUME_SIOCGIFNAME): Don't define.
55424         (__ASSUME_MSG_NOSIGNAL): Likewise.
55425         (__ASSUME_SENDFILE): Define unconditionally.
55426         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
55427         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
55428         conditional code.
55429         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
55430         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
55431         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
55432         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
55433         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
55434         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
55435         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
55436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
55437         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
55438         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
55440         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
55441         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
55443         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
55444         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
55446         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
55447         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
55449         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
55450         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
55452         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
55453         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
55455         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
55456         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
55458         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
55459         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55460         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
55461         Remove conditional code.
55462         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55463         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
55464         Remove conditional code.
55465         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55466         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
55467         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
55468         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
55469         Remove conditional code.
55470         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55471         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
55472         Remove conditional code.
55473         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55474         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
55475         Remove conditional code.
55476         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55477         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
55478         Remove conditional code.
55479         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
55480         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
55481         Remove conditional code.
55482         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55483         * sysdeps/unix/sysv/linux/sh/pwrite64.c
55484         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
55485         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
55486         * sysdeps/unix/sysv/linux/sigaction.c
55487         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
55488         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
55489         * sysdeps/unix/sysv/linux/sigpending.c
55490         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
55491         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
55492         * sysdeps/unix/sysv/linux/sigprocmask.c
55493         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
55494         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
55495         * sysdeps/unix/sysv/linux/sigsuspend.c
55496         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
55497         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
55498         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
55499         (__libc_missing_rt_sigs): Remove.
55500         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
55501         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
55502         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
55503         Remove conditional code.
55504         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
55505         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
55506         return 1.
55507         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
55508         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
55509         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
55510         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
55512 2012-05-14  Andreas Jaeger  <aj@suse.de>
55514         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
55515         it's not used in glibc.
55516         (__coshm1): Likewise.
55517         (__acosh1p): Likewise.
55518         (__sgn): Likewise.
55520         * manual/string.texi (Copying and Concatenation): Add missing
55521         variable in concat example.
55522         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
55524 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55526         [BZ #14103]
55527         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
55528         __builtin_clzl with __builtin_clzll.
55530 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55532         [BZ #14104]
55533         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
55534         libc_freeres_ptr.
55536 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55538         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
55539         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
55540         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
55541         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
55543 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
55545         * NEWS: Update ia64 info.
55547 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
55549         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
55550         used as bcopy.
55552 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
55554         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
55555         * sysdeps/unix/syscalls.list (dup3): Likewise.
55556         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
55557         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
55559 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
55561         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
55562         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
55564 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
55566         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
55567         thread pointer.
55568         (TLS_IE): Use mov/add instead of movq/addq to load thread
55569         pointer.
55570         (TLS_GD_PREFIX): New.
55571         (TLS_GD): Use it.
55573 2012-05-11  David S. Miller  <davem@davemloft.net>
55575         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
55576         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
55577         (_FPU_SETCW): Likewise.
55579 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
55581         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
55582         is 32-byte aligned.
55584 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
55586         [BZ #11837]
55587         * iconvdata/gb18030.c: Update tables.
55588         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
55589         characters specially.
55590         (BODY for TO_LOOP): Add encoding of missing ranges.
55592 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
55594         [BZ #13673]
55595         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
55596         * sysdeps/mach/hurd/dup3.c: Likewise.
55597         * sysdeps/mach/hurd/readlinkat.c: Likewise.
55598         * sysdeps/powerpc/memmove.c:: Likewise.
55600 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
55602         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
55603         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
55605 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
55607         * elf/elf.h (R_X86_64_RELATIVE64): New.
55608         (R_X86_64_NUM): Updated.
55609         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
55610         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
55611         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
55612         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
55613         tst-quad1pie tst-quad2pie
55614         (modules-names): Add tst-quadmod1 tst-quadmod2.
55615         ($(objpfx)tst-quad1): New dependency.
55616         ($(objpfx)tst-quad2): Likewise.
55617         ($(objpfx)tst-quad1pie): Likewise.
55618         ($(objpfx)tst-quad2pie): Likewise.
55619         * sysdeps/x86_64/tst-quad1.c: New file.
55620         * sysdeps/x86_64/tst-quad1pie.c: New file.
55621         * sysdeps/x86_64/tst-quad2.c: Likewise.
55622         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
55623         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
55624         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
55625         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
55626         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
55628 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55630         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
55631         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
55632         * streams/stropts.h (t_scalar_t): Define type.
55634         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
55635         (_PATH_PRESERVE): Set to "/var/lib".
55636         (_PATH_RWHODIR): Set to "/var/spool/rwho".
55638         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
55639         instead of int.
55641         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
55642         if __dir_mkfile succeeded.
55644         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
55645         checking for _hurd_dtablesize.  Unlock it right after having
55646         finished _hurd_dtable allocation.
55648 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55650         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
55651         * sysdeps/mach/hurd/configure: Regenerated.
55652         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
55653         special-casing to...
55654         * sysdeps/gnu/configure.in: ... this new file.
55655         * sysdeps/unix/sysv/linux/configure: Regenerated.
55656         * sysdeps/gnu/configure: New generated file.
55658         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
55659         for Linux: use nsec instead of usec, as well as:
55660         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
55661         members of type struct timespec.
55662         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
55663         New macros.
55664         (struct stat64): Likewise.
55665         (_STATBUF_ST_NSEC): New macro.
55666         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
55668         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
55669         __strtoul_internal rather than strtoul.
55671 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
55673         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
55674         and reject them.
55676 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55678         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
55679         which preserves existing values.
55680         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
55682 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
55684         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
55685         TIMEOUT values.  Return EINVAL for NFDS values either negative or
55686         greater than FD_SETSIZE.
55688 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55690         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
55691         allocated, call __vm_protect to finish enabling the existing space, and
55692         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
55693         allocate the remainder.
55695 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
55697         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
55698         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
55700 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55702         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
55703         sysdeps/mach/hurd/readlink.c.
55705         * posix/tst-sysconf.c (posix_options): Only use
55706         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
55707         _POSIX_SYNCHRONIZED_IO when they are defined
55708         * sysdeps/mach/hurd/bits/posix_opt.h:
55709         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
55710         (_XOPEN_REALTIME): Undefine macro.
55711         (_XOPEN_REALTIME_THREADS): Undefine macro.
55712         (_XOPEN_SHM): Undefine macro.
55713         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
55714         macro to -1.
55715         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
55716         macro to -1.
55717         (_POSIX_ASYNC_IO): Undefine macro.
55718         (_POSIX_PRIORITIZED_IO): Undefine macro.
55719         (_POSIX_SPIN_LOCKS): Define macro to -1.
55721         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
55722         SA_NODEFER, SA_RESETHAND.
55723         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
55724         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
55725         F_DUPFD_CLOEXEC.
55727 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55729         * elf/Makefile (pldd-modules): Define unconditionally.
55731 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55733         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
55735 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55737         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
55738         Return ENOENT when name is empty.
55739         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
55741 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55743         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
55745         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
55747 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55749         Fix mlock in all cases except non-readable pages.
55750         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
55751         instead of VM_PROT_ALL as parameter to __vm_wire function.
55753         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
55754         (__mkdir): When path is `/', just fail with EEXIST.
55755         * sysdeps/mach/hurd/mkdirat.c: Likewise.
55757 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55759         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
55760         <sys/uio.h> (for writev).
55761         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
55762         and <sys/param.h> (for MIN).
55764 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
55766         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
55767         REQUESTED_TIME.  Properly set the remaining time and return EINTR
55768         if interrupted.
55770 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55772         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
55773         Depend on against $(link-rpcuserlibs).
55775 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55777         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
55778         (__libc_stack_end): Do not use attribute_relro.
55779         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
55780         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
55781         to libthread-provided value.
55782         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
55783         attribute_relro.
55785 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55787         [BZ #3748]
55788         * bits/libc-lock.h (__libc_once_get): New macro.
55789         * sysdeps/mach/bits/libc-lock.h: Likewise.
55790         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
55791         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
55792         instead of using implementation details.
55794         * libio/fileops.c: Unconditionally include <kernel-features.h>.
55795         * libio/freopen.c: Likewise.
55796         * libio/freopen64.c: Likewise.
55797         * misc/syslog.c: Likewise.
55798         * nscd/connections.c: Likewise.
55799         * nscd/netgroupcache.c: Likewise.
55800         * sysdeps/posix/getcwd.c: Likewise.
55802 2012-05-10  Roland McGrath  <roland@hack.frob.com>
55804         * math/w_ilogbf.c: Add #include <limits.h>.
55806 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55808         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
55809         path instead of returning without unlocking.
55811         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
55812         immediate-write ioctls.
55813         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
55815 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55817         * sysdeps/mach/hurd/i386/init-first.c (init): Use
55818         __builtin_frame_address instead of making assumptions about the
55819         location of the return address relative to DATA.  Force early load of
55820         the return address.
55821         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
55822         __builtin_frame_address.
55824         dup3 for GNU Hurd.
55825         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
55826         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
55827         implement dup3 and do some further code clean-ups.
55828         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
55829         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
55831 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55833         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
55835         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
55836         HURD_CRITICAL_END around holding _hurd_dtable_lock.
55837         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
55838         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
55839         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
55840         d->port.lock.
55842         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
55843         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
55844         when handler == SIG_ERR, not when handler != SIG_ERR.
55846 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55848         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
55849         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
55850         definitions.
55852         accept4 for GNU Hurd.
55853         * include/sys/socket.h (__libc_accept4): New prototype.
55854         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
55855         to implement __libc_accept4.
55856         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
55857         __libc_accept4.
55858         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
55860         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
55861         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
55862         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
55863         signal-defines.sym.
55865 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55867         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
55869 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
55871         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
55872         assertion on O_CLOEXEC flag.
55873         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
55874         * hurd/intern-fd.c: Likewise.
55875         * hurd/port2fd.c: Likewise.
55877 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55879         [BZ #3906]
55880         * bits/in.h (IPV6_PKTINFO): Define new macro.
55881         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
55883 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55885         [BZ #13954]
55886         [BZ #13955]
55887         [BZ #13956]
55888         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
55889         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
55890         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
55891         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
55892         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55893         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
55894         * math/libm-test.inc (logb_test) : Additional logb tests.
55896 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
55897             Andreas Jaeger  <aj@suse.de>
55899         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
55900         * configure: Regenerated.
55901         * config.h.in (LINK_OBSOLETE_RPC): New macro.
55902         * config.make.in (link-obsolete-rpc): New substituted variable.
55903         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
55904         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
55905         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
55906         (shared-only-routines): Don't set it under [link-obsolete-rpc],
55907         so that libc.a contains the symbols.
55908         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
55909         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
55910         * sunrpc/auth_none.c: Likewise.
55911         * sunrpc/auth_unix.c: Likewise.
55912         * sunrpc/authdes_prot.c: Likewise.
55913         * sunrpc/authuxprot.c: Likewise.
55914         * sunrpc/clnt_gen.c: Likewise.
55915         * sunrpc/clnt_perr.c: Likewise.
55916         * sunrpc/clnt_raw.c: Likewise.
55917         * sunrpc/clnt_simp.c: Likewise.
55918         * sunrpc/clnt_tcp.c: Likewise.
55919         * sunrpc/clnt_udp.c: Likewise.
55920         * sunrpc/clnt_unix.c: Likewise.
55921         * sunrpc/des_crypt.c: Likewise.
55922         * sunrpc/des_soft.c: Likewise.
55923         * sunrpc/get_myaddr.c: Likewise.
55924         * sunrpc/key_call.c: Likewise.
55925         * sunrpc/key_prot.c: Likewise.
55926         * sunrpc/netname.c: Likewise.
55927         * sunrpc/pm_getmaps.c: Likewise.
55928         * sunrpc/pm_getport.c: Likewise.
55929         * sunrpc/pmap_clnt.c: Likewise.
55930         * sunrpc/pmap_prot.c: Likewise.
55931         * sunrpc/pmap_prot2.c: Likewise.
55932         * sunrpc/pmap_rmt.c: Likewise.
55933         * sunrpc/publickey.c: Likewise.
55934         * sunrpc/rpc_cmsg.c: Likewise.
55935         * sunrpc/rpc_common.c: Likewise.
55936         * sunrpc/rpc_dtable.c: Likewise.
55937         * sunrpc/rpc_prot.c: Likewise.
55938         * sunrpc/rpc_thread.c: Likewise.
55939         * sunrpc/rtime.c: Likewise.
55940         * sunrpc/svc.c: Likewise.
55941         * sunrpc/svc_auth.c: Likewise.
55942         * sunrpc/svc_raw.c: Likewise.
55943         * sunrpc/svc_run.c: Likewise.
55944         * sunrpc/svc_tcp.c: Likewise.
55945         * sunrpc/svc_udp.c: Likewise.
55946         * sunrpc/svc_unix.c: Likewise.
55947         * sunrpc/svcauth_des.c: Likewise.
55948         * sunrpc/xcrypt.c: Likewise.
55949         * sunrpc/xdr.c: Likewise.
55950         * sunrpc/xdr_array.c: Likewise.
55951         * sunrpc/xdr_float.c: Likewise.
55952         * sunrpc/xdr_intXX_t.c: Likewise.
55953         * sunrpc/xdr_mem.c: Likewise.
55954         * sunrpc/xdr_rec.c: Likewise.
55955         * sunrpc/xdr_ref.c: Likewise.
55956         * sunrpc/xdr_sizeof.c: Likewise.
55957         * sunrpc/xdr_stdio.c: Likewise.
55959 2012-05-10  Roland McGrath  <roland@hack.frob.com>
55961         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
55962         change.  Update copyright years.
55964 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
55966         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
55968 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
55969             Joseph Myers  <joseph@codesourcery.com>
55970             Paul Pluzhnikov  <ppluzhnikov@google.com>
55972         [BZ #14012]
55973         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
55974         requiring rpcgen.
55975         [cross-compiling] (extra-libs): Likewise.
55976         [cross-compiling] (extra-libs-others): Likewise.
55977         [cross-compiling] (librpcsvc-routines): Likewise.
55978         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
55979         [cross-compiling] (omit-deps): Likewise.
55980         (sunrpc-CPPFLAGS): New variable.
55981         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
55982         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
55983         (cross-rpcgen-objs): New variable.
55984         (extra-objs): Append $(cross-rpcgen-objs).
55985         ($(cross-rpcgen-objs)): New rule.
55986         ($(objpfx)cross-rpcgen): Likewise.
55987         (rpcgen-cmd): Define to use $(built-program-file).  Expand
55988         comment.
55989         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
55990         ($(objpfx)x%.stmp): Likewise.
55991         * sunrpc/proto.h [IS_IN_build] (_): Define.
55992         [IS_IN_build] (_libc_intl_domainname): Likewise.
55994 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
55996         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
55997         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
55998         and R_X86_64_TPOFF64.
56000 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
56002         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
56003         sysdeps/unix/sysv/syscalls.list.
56004         (stime): Likewise.
56005         (utime): Likewise.
56006         * sysdeps/unix/sysv/syscalls.list: Remove file.
56008 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
56010         [BZ #3440]
56011         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
56012         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
56013         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
56014         (__LC_IDENTIFICATION): Make these macros useful in #if
56015         expressions, as required by C99.
56017 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
56019         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
56020         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
56021         after this.
56023 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
56025         * stdlib/longlong.h: Updated from GCC.
56027 2012-05-09  Andreas Jaeger  <aj@suse.de>
56029         * nscd/nscd.c (run_modes): Make named enum, reorder so that
56030         default is first entry.
56031         (run_mode): Set type.
56032         (main): Remove informal message about syslog.
56033         (options): Fix typo.
56035         [BZ #14053]
56036         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
56037         to asm.
56038         (lrint): Likewise.
56039         (llrintf): Likewise.
56040         (llrint): Likewise.
56041         (rint): Likewise.
56042         (rintf): Likewise.
56043         (nearbyint): Likewise.
56044         (nearbyintf): Likewise.
56046 2012-05-09  Andreas Jaeger  <aj@suse.de>
56047             Pedro Alves  <palves@redhat.com>
56049         * nscd/nscd.c (run_mode): Use enum.
56050         (main): Cleanup coding style issue.
56052 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
56053             Andreas Jaeger  <aj@suse.de>
56055         * nscd/nscd.c (go_background): Replaced with...
56056         (run_mode): ... this.
56057         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
56058         (options): Add -F --foreground.
56059         (main): Implement it.
56060         (parse_opt): Parse it.
56062 2012-05-09  Andreas Jaeger  <aj@suse.de>
56064         [BZ #14083]
56065         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
56066         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
56067         -Wconversion warning.
56068         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
56069         Likewise.
56071 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
56073         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
56074         == 0.
56075         (LC_ALL): Use macro-int-constant.
56076         (LC_COLLATE): Likewise.
56077         (LC_CTYPE): Likewise.
56078         (LC_MESSAGES): Likewise.
56079         (LC_MONETARY): Likewise.
56080         (LC_NUMERIC): Likewise.
56081         (LC_TIME): Likewise.
56082         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
56083         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
56084         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56085         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
56086         Specify type.
56087         [C99-based standards] (float_t): Expect type.
56088         [C99-based standards] (double_t): Expect type.
56089         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
56090         type.
56091         [C99-based standards] (HUGE_VALL): Likewise.
56092         [C99-based standards] (INFINITY): Likewise.
56093         [C99-based standards] (NAN): Likewise.
56094         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
56095         [C99-based standards] (FP_NAN): Likewise.
56096         [C99-based standards] (FP_NORMAL): Likewise.
56097         [C99-based standards] (FP_SUBNORMAL): Likewise.
56098         [C99-based standards] (FP_ZERO): Likewise.
56099         [C99-based standards] (FP_FAST_FMA): Use
56100         optional-macro-int-constant.  Specify type.  Require == 1.
56101         [C99-based standards] (FP_FAST_FMAF): Likewise.
56102         [C99-based standards] (FP_FAST_FMAL): Likewise.
56103         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
56104         [C99-based standards] (FP_ILOGBNAN): Likewise.
56105         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
56106         Specify type.
56107         [C99-based standards] (MATH_ERREXCEPT): Likewise.
56108         [C99-based standards] (math_errhandling): Specify type.
56109         [ISO99 || ISO11] (signgam): Do not allow.
56110         [non-C99-based standards] (copysignf): Do not allow.
56111         [non-C99-based standards] (exp2f): Likewise.
56112         [non-C99-based standards] (log2f): Likewise.
56113         [non-C99-based standards] (modff): Allow.
56114         [non-C99-based standards] (erff): Do not allow.
56115         [non-C99-based standards] (erfcf): Likewise.
56116         [non-C99-based standards] (gammaf): Likewise.
56117         [non-C99-based standards] (hypotf): Likewise.
56118         [non-C99-based standards] (j0f): Likewise.
56119         [non-C99-based standards] (j1f): Likewise.
56120         [non-C99-based standards] (jnf): Likewise.
56121         [non-C99-based standards] (lgammaf): Likewise.
56122         [non-C99-based standards] (tgammaf): Likewise.
56123         [non-C99-based standards] (y0f): Likewise.
56124         [non-C99-based standards] (y1f): Likewise.
56125         [non-C99-based standards] (ynf): Likewise.
56126         [non-C99-based standards] (isnanf): Likewise.
56127         [non-C99-based standards] (acoshf): Likewise.
56128         [non-C99-based standards] (asinhf): Likewise.
56129         [non-C99-based standards] (atanhf): Likewise.
56130         [non-C99-based standards] (cbrtf): Likewise.
56131         [non-C99-based standards] (expm1f): Likewise.
56132         [non-C99-based standards] (ilogbf): Likewise.
56133         [non-C99-based standards] (log1pf): Likewise.
56134         [non-C99-based standards] (logbf): Likewise.
56135         [non-C99-based standards] (nextafterf): Likewise.
56136         [non-C99-based standards] (remainderf): Likewise.
56137         [non-C99-based standards] (rintf): Likewise.
56138         [non-C99-based standards] (scalbf): Likewise.
56139         [non-C99-based standards] (copysignl): Likewise.
56140         [non-C99-based standards] (exp2l): Likewise.
56141         [non-C99-based standards] (log2l): Likewise.
56142         [non-C99-based standards] (modfl): Allow.
56143         [non-C99-based standards] (erfl): Do not allow.
56144         [non-C99-based standards] (erfcl): Likewise.
56145         [non-C99-based standards] (gammal): Likewise.
56146         [non-C99-based standards] (hypotl): Likewise.
56147         [non-C99-based standards] (j0l): Likewise.
56148         [non-C99-based standards] (j1l): Likewise.
56149         [non-C99-based standards] (jnl): Likewise.
56150         [non-C99-based standards] (lgammal): Likewise.
56151         [non-C99-based standards] (tgammal): Likewise.
56152         [non-C99-based standards] (y0l): Likewise.
56153         [non-C99-based standards] (y1l): Likewise.
56154         [non-C99-based standards] (ynl): Likewise.
56155         [non-C99-based standards] (isnanl): Likewise.
56156         [non-C99-based standards] (acoshl): Likewise.
56157         [non-C99-based standards] (asinhl): Likewise.
56158         [non-C99-based standards] (atanhl): Likewise.
56159         [non-C99-based standards] (cbrtl): Likewise.
56160         [non-C99-based standards] (expm1l): Likewise.
56161         [non-C99-based standards] (ilogbl): Likewise.
56162         [non-C99-based standards] (log1pl): Likewise.
56163         [non-C99-based standards] (logbl): Likewise.
56164         [non-C99-based standards] (nextafterl): Likewise.
56165         [non-C99-based standards] (remainderl): Likewise.
56166         [non-C99-based standards] (rintl): Likewise.
56167         [non-C99-based standards] (scalbl): Likewise.
56168         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56169         [non-C99-based standards] (FP_*): Do not allow.
56170         [C99-based standards] (FP_*): Change to
56171         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
56172         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
56173         allow.
56174         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
56175         (SIG_ERR): Likewise.
56176         [X/Open-based standards] (SIG_HOLD): Likewise.
56177         (SIG_IGN): Likewise.
56178         (SIGABRT): Use macro-int-constant.  Specify type.  Require
56179         positive value.
56180         (SIGFPE): Likewise.
56181         (SIGILL): Likewise.
56182         (SIGINT): Likewise.
56183         (SIGSEGV): Likewise.
56184         (SIGTER): Likewise.
56185         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
56186         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
56187         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
56188         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
56189         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
56190         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
56191         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
56192         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
56193         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
56194         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
56195         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
56196         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
56197         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
56198         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
56199         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
56200         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
56201         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
56202         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
56203         [X/Open-based standards] (SIGTRAP): Likewise.
56204         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
56205         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
56206         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
56207         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
56208         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
56209         allow.
56211 2012-05-08  Ian Wienand  <ianw@vmware.com>
56213         [BZ #14080]
56214         * time/tzset.c (__tzset_parse_tz): Update default rules for
56215         daylight time changes in the Energy Policy Act of 2005.
56217 2012-05-09  Andreas Jaeger  <aj@suse.de>
56219         [BZ #13983]
56220         * elf/ldconfig.c (parse_conf): Change string to make clear that
56221         ldconfig only issued a warning if ld.so.conf does not exist.
56223 2012-05-08  David S. Miller  <davem@davemloft.net>
56225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
56226         movxtod instead of popping the value on the stack.
56228         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56230 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
56232         * config.h.in: Add HAVE_ARM_PCS_VFP.
56234 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
56236         [BZ #13979]
56237         * include/features.h: Warn if user requests __FORTIFY_SOURCE
56238         checking but the checks are disabled for any reason.
56240 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
56242         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
56243         and ELF64_R_TYPE with ELFW(R_TYPE).
56245 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
56247         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
56248         (ulimit): Likewise.
56250         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
56251         (settimeofday): Likewise.
56253 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
56255         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
56256         a struct th_u2 inside the union, and move tu_block/tu_code into
56257         a new th_u3 union of tu_block/tu_code inside of that.  Move
56258         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
56259         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
56260         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
56261         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
56262         (th_stuff): Change to th_u1.tu_stuff.
56263         (th_data): Define.
56264         (th_msg): Change to th_u1.th_u2.tu_data.
56266 2012-05-07  David S. Miller  <davem@davemloft.net>
56268         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56270         [BZ #14074]
56271         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
56272         (SETUP_PIC_REG): Use it.
56273         (SETUP_PIC_REG_LEAF): Use it.
56275 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
56277         [BZ #13885]
56278         [BZ #13923]
56279         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
56280         USE_AS_EXPM1L.
56281         (EXPL_FINITE): Likewise.
56282         (FLDLOG): Likewise.
56283         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
56284         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
56285         e_expl.S.
56286         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
56287         USE_AS_EXPM1L.
56288         (EXPL_FINITE): Likewise.
56289         (FLDLOG): Likewise.
56290         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
56291         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
56292         e_expl.S.
56293         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
56294         test of -max_value argument for long double.
56295         * sysdeps/i386/fpu/libm-test-ulps: Update.
56296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56298 2012-05-06  David S. Miller  <davem@davemloft.net>
56300         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
56301         quad soft-float symbols whose references which are compiler
56302         generated.
56303         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
56305 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
56307         [BZ #13884]
56308         [BZ #13914]
56309         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
56310         USE_AS_EXP10L.
56311         (EXPL_FINITE): Likewise.
56312         (FLDLOG): Likewise.
56313         (c0): Likewise.
56314         (c1): Likewise.
56315         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
56316         Adjust comments for base varying.
56317         (__expl_finite): Change alias to EXPL_FINITE.
56318         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
56319         e_expl.S.
56320         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
56321         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
56322         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
56323         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
56324         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
56325         USE_AS_EXP10L.
56326         (EXPL_FINITE): Likewise.
56327         (FLDLOG): Likewise.
56328         (c0): Likewise.
56329         (c1): Likewise.
56330         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
56331         Adjust comments for base varying.
56332         (__expl_finite): Change alias to EXPL_FINITE.
56333         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
56334         tests for bugs.
56335         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56337         [BZ #14064]
56338         * math/libm-test.inc (check_float_internal): Correct ulp
56339         calculation for subnormal expected results.
56341 2012-05-06  Andreas Jaeger  <aj@suse.de>
56343         * Makeconfig (+math-flags): New, set to -frounding-math.
56344         (+cflags): Add +math-flags so that all of glibc gets compiled with
56345         it.
56347         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
56349 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
56351         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
56352         Disable one test.
56354         [BZ #13787]
56355         [BZ #13922]
56356         [BZ #14036]
56357         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
56358         (__ieee754_expl): Allow for and saturate large arguments.
56359         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
56360         (u_threshold): Likewise.
56361         (__exp): Call __ieee754_exp before checking for overflow and
56362         underflow.
56363         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
56364         (u_threshold): Likewise.
56365         (__expf): Call __ieee754_expf before checking for overflow and
56366         underflow.
56367         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
56368         (u_threshold): Likewise.
56369         (__expl): Call __ieee754_expl before checking for overflow and
56370         underflow.
56371         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
56372         (__ieee754_expl): Allow for and saturate large arguments.
56373         * math/libm-test.inc (exp_test): Add another test.  Do not allow
56374         missing overflow exception on overflow.
56375         (expm1_test): Do not allow missing overflow exception on overflow.
56377         * sysdeps/i386/fpu/e_expl.c: Move to ...
56378         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
56379         rather than using inline asm.
56380         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
56381         * sysdeps/x86_64/fpu/e_expl.S: Copy from
56382         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
56384         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
56385         (nice): Likewise.
56386         (poll): Likewise.
56387         (signal): Likewise.
56388         (time): Likewise.
56389         (times): Likewise.
56391 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
56393         * sysdeps/unix/syscalls.list (adjtime): Add entry from
56394         sysdeps/unix/common/syscalls.list.
56395         (fchmod): Likewise.
56396         (fchown): Likewise.
56397         (ftruncate): Likewise.
56398         (getrusage): Likewise.
56399         (gettimeofday): Likewise.
56400         (setpgid): Likewise.
56401         (setregid): Likewise.
56402         (setreuid): Likewise.
56403         (sigaction): Likewise.
56404         (truncate): Likewise.
56405         (vhangup): Likewise.
56406         * sysdeps/unix/common/syscalls.list: Remove file.
56407         * sysdeps/unix/bsd/Implies: Don't include unix/common.
56408         * sysdeps/unix/sysv/linux/Implies: Likewise.
56410 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
56412         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
56413         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
56414         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
56415         Moved to ...
56416         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
56417         Here.
56418         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
56419         to ...
56420         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
56421         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
56422         to ...
56423         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
56424         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
56425         to ...
56426         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
56427         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
56428         to ...
56429         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
56430         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
56431         to ...
56432         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
56433         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
56434         to ...
56435         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
56436         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
56437         to ...
56438         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
56439         Here.
56440         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
56441         to ...
56442         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
56443         Here.
56444         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
56445         to ...
56446         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
56447         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
56448         Moved to ...
56449         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
56450         Here.
56451         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
56452         to ...
56453         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
56455 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
56457         * sysdeps/unix/common/bits/dirent.h: Remove file.
56458         * sysdeps/unix/common/bits/fcntl.h: Likewise.
56460         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
56461         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
56462         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
56463         * sysdeps/unix/bsd/isatty.c: Likewise.
56464         * sysdeps/unix/bsd/tcdrain.c: Likewise.
56465         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
56466         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
56468 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56470         [BZ #13563]
56471         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
56472         long double comparison inaccuracies.
56473         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
56474         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56476 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
56478         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
56479         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
56481 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
56483         [BZ #14049]
56484         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
56485         nonzero digits before rounding a hex value.
56486         * stdlib/tst-strtod.c (tests): Add another test.
56488 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56490         * sysdeps/s390/fpu/libm-test-ulps: Update.
56492 2012-05-03  Andreas Jaeger  <aj@suse.de>
56494         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
56495         does not get optimized out.
56496         (malloc_opt_barrier): New.
56498 2012-05-03  Andreas Jaeger  <aj@suse.de>
56499             Roland McGrath  <roland@hack.frob.com>
56501         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
56502         intermediate file deletion.
56503         (generated): Add .symlist files.
56505 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
56507         [BZ #13775]
56508         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
56509         Redirect under this condition.
56510         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
56511         [__USE_GNU] (__dprintf_chk): Not under this condition.
56512         [__USE_GNU] (__vdprintf_chk): Likewise.
56513         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
56514         under this condition.
56515         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
56516         [__USE_XOPEN2K8] (dprintf): Define under this condition.
56517         [__USE_XOPEN2K8] (vdprintf): Likewise.
56518         [__USE_GNU] (__dprintf_chk): Not under this condition.
56519         [__USE_GNU] (__vdprintf_chk): Likewise.
56520         [__USE_GNU] (dprintf): Likewise.
56521         [__USE_GNU] (vdprintf): Likewise.
56523 2012-05-03  Roland McGrath  <roland@hack.frob.com>
56525         * elf/Makefile (common-generated): Set this instead of generated for
56526         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
56527         $(all-built-dso)-derived lists.
56529 2012-05-03  Andreas Jaeger  <aj@suse.de>
56531         * sysdeps/i386/fpu/libm-test-ulps: Update.
56533         * FAQ: Removed.
56534         * FAQ.in: Likewise.
56535         * scripts/gen-FAQ.pl: Likewise.
56536         * manual/install.texi (Installation): Point to online location of
56537         FAQ.
56538         * Makefile (files-for-dist): Remove FAQ.
56539         (FAQ): Remove.
56541 2012-05-02  Allan McRae  <allan@archlinux.org>
56543         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
56544         (LDFLAGS-reldepmod5.so): Likewise.
56545         (LDFLAGS-reldep6mod1.so): Likewise.
56546         (LDFLAGS-reldep6mod4.so): Likewise.
56547         (LDFLAGS-reldep8mod3.so): Likewise.
56548         (LDFLAGS-unload4mod1.so): Likewise.
56549         (LDFLAGS-unload4mod2.so): Likewise.
56550         (LDFLAGS-tst-initorder): Likewise.
56551         (LDFLAGS-tst-initordera2.so): Likewise.
56552         (LDFLAGS-tst-initordera3.so): Likewise.
56553         (LDFLAGS-tst-initordera4.so): Likewise.
56554         (LDFLAGS-tst-initorderb2.so): Likewise.
56555         (LDFLAGS-noload): Likewise.
56556         (LDFLAGS-next): Likewise.
56557         (LDFLAGS-order2mod1.so): Likewise.
56558         (LDFLAGS-order2mod2.so): Likewise.
56559         (LDFLAGS-tst-initorder2): Likewise.
56560         (LDFLAGS-tst-initorder2a.so): Likewise.
56561         (LDFLAGS-tst-initorder2b.so): Likewise.
56562         (LDFLAGS-tst-initorder2c.so): Likewise.
56563         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
56565 2012-05-02  David S. Miller  <davem@davemloft.net>
56567         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56569 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
56571         [BZ #14055]
56572         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
56574 2012-05-02  Andreas Jaeger  <aj@suse.de>
56576         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
56577         since we manipulate rounding mode.
56578         (CPPFLAGS-test-idouble.c): Likewise.
56579         (CPPFLAGS-test-ifloat.c): Likewise.
56580         (CFLAGS-test-ldouble.c): Likewise.
56581         (CFLAGS-test-double.c): Likewise.
56582         (CFLAGS-test-float.c): Likewise.
56583         (CFLAGS-test-misc.c): Likewise.
56584         (CFLAGS-test-test-fenv.c): Likewise.
56586 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56588         [BZ #2550]
56589         [BZ #2570]
56590         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
56591         comparisons to determine direction to adjust input.
56593 2012-05-01  Roland McGrath  <roland@hack.frob.com>
56595         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
56596         output to the target.
56598         * scripts/localplt.awk: New file.
56599         * elf/Makefile ($(objpfx)check-localplt): Target removed.
56600         (check-localplt-CFLAGS): Variable removed.
56601         ($(all-built-dso:=.jmprel)): New static pattern rule.
56602         (generated): Add those targets.
56603         (localplt-built-dso): New variable.
56604         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
56606         * elf/check-localplt.c: File removed.
56608         * scripts/check-execstack.awk: New file.
56609         * elf/Makefile ($(objpfx)check-execstack): Target removed.
56610         (check-execstack-CFLAGS): Variable removed.
56611         ($(objpfx)check-execstack.h): Target removed.
56612         ($(objpfx)execstack-default): New target.
56613         (generated): Add that instead of check-execstack.h.
56614         ($(all-built-dso:=.phdr)): New static pattern rule.
56615         (generated): Add those targets.
56616         * elf/check-execstack.c: File removed.
56618         * scripts/check-textrel.awk: New file.
56619         * elf/Makefile ($(objpfx)check-textrel): Target removed.
56620         (check-textrel-CFLAGS): Variable removed.
56621         (all-built-dso): Use := to define.o
56622         ($(all-built-dso:=.dyn)): New static pattern rule.
56623         (generated): Add those targets.
56624         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
56625         * config.make.in (READELF): New substituted variable.
56626         * elf/check-textrel.c: File removed.
56628 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
56630         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
56631         allow.
56632         * conform/data/ctype.h-data [C99-based standards] (isblank):
56633         Expect function.
56634         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
56635         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
56636         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56637         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
56638         Specify type.  Require positive value.
56639         (EILSEQ): Likewise.
56640         (ERANGE): Likewise.
56641         [ISO || POSIX] (EILSEQ): Do not expect.
56642         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
56643         Specify type.  Require positive value.
56644         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
56645         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
56646         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
56647         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
56648         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
56649         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
56650         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
56651         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
56652         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
56653         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
56654         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
56655         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
56656         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
56657         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
56658         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
56659         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
56660         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
56661         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
56662         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
56663         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
56664         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
56665         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
56666         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
56667         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
56668         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
56669         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
56670         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
56671         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
56672         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
56673         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
56674         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
56675         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
56676         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
56677         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
56678         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
56679         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
56680         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
56681         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
56682         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
56683         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
56684         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
56685         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
56686         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
56687         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
56688         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
56689         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
56690         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
56691         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
56692         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
56693         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
56694         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
56695         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
56696         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
56697         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
56698         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
56699         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
56700         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
56701         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
56702         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
56703         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
56704         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
56705         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
56706         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
56707         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
56708         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
56709         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
56710         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
56711         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
56712         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
56713         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
56714         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
56715         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
56716         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
56717         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
56718         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
56719         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
56720         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
56721         Require >= 2.
56722         (FLT_ROUNDS): Expect as macro, not constant.
56723         (FLT_MANT_DIG): Use macro-int-constant.
56724         (DBL_MANT_DIG): Likewise.
56725         (LDBL_MANT_DIG): Likewise.
56726         (FLT_DIG): Likewise.
56727         (DBL_DIG): Likewise.
56728         (LDBL_DIG): Likewise.
56729         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
56730         (DBL_MIN_EXP): Likewise.
56731         (LDBL_MIN_EXP): Likewise.
56732         (FLT_MAX_EXP): Use macro-int-constant.
56733         (DBL_MAX_EXP): Likewise.
56734         (LDBL_MAX_EXP): Likewise.
56735         (FLT_MAX_10_EXP): Likewise.
56736         (DBL_MAX_10_EXP): Likewise.
56737         (LDBL_MAX_10_EXP): Likewise.
56738         (FLT_MAX): Use macro-constant.
56739         (DBL_MAX): Likewise.
56740         (LDBL_MAX): Likewise.
56741         (FLT_EPSILON): Use macro-constant.  Give upper bound.
56742         (DBL_EPSILON): Likewise.
56743         (LDBL_EPSILON): Likewise.
56744         (FLT_MIN): Likewise.
56745         (DBL_MIN): Likewise.
56746         (LDBL_MIN): Likewise.
56747         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
56748         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
56749         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
56750         [ISO11] (FLT_HAS_SUBNORM): Likewise.
56751         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
56752         [ISO11] (DBL_DECIMAL_DIG): Likewise.
56753         [ISO11] (FLT_DECIMAL_DIG): Likewise.
56754         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
56755         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
56756         [ISO11] (FLT_TRUE_MIN): Likewise.
56757         [ISO11] (LDBL_TRUE_MIN): Likewise.
56758         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56759         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
56760         (SCHAR_MIN): Use macro-int-constant.  Specify type.
56761         (SCHAR_MAX): Likewise.
56762         (UCHAR_MAX): Likewise.
56763         (CHAR_MIN): Likewise.
56764         (CHAR_MAX): Likewise.
56765         (MB_LEN_MAX): Use macro-int-constant.
56766         (SHRT_MIN): Use macro-int-constant.  Specify type.
56767         (SHRT_MAX): Likewise.
56768         (USHRT_MAX): Likewise.
56769         (INT_MAX): Likewise.
56770         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
56771         bound negative.
56772         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
56773         bound with "U".
56774         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
56775         bound with "L".
56776         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
56777         bound negative.  Suffix upper bound with "L".
56778         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
56779         bound with "UL".
56780         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
56781         Specify type.
56782         [C99-based standards] (LLONG_MAX): Likewise.
56783         [C99-based standards] (ULLONG_MAX): Likewise.
56784         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
56785         == 0.
56786         [ISO11] (max_align_t): Require type.
56787         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56789         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
56790         from $CFLAGS, without defining away __attribute__ calls.
56791         (checknamespace): Use $CFLAGS_namespace.
56793         * conform/conformtest.pl (@keywords): Only include C99 keywords
56794         for standards based on C99 or C11.
56796         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
56797         Disable tests.
56798         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
56799         UNIX98]: Likewise.
56801         * conform/conformtest.pl: Handle "macro-int-constant" and test for
56802         usability of symbols in #if.
56804         * conform/conformtest.pl: If macro or constant types start
56805         "promoted:", expect the symbol to be of the following type
56806         promoted by the integer promotions.
56808         * conform/conformtest.pl: Parse all "constant" and "macro" lines
56809         in one place.  Also handle "macro-constant".
56811         * conform/conformtest.pl: Only accept expected macro values with
56812         "==".  Parse all "macro" lines in one place.
56813         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
56815         * conform/conformtest.pl: Handle braced types on "constant" lines
56816         instead of handling "typed-constant".
56817         * conform/data/signal.h-data: Use "constant" instead of
56818         "typed-constant".
56820         * conform/conformtest.pl: Handle "optional-" at start of lines in
56821         one place rather than duplicating several cases.  Handle each
56822         format of "macro" line with initial "optional-".
56824         * conform/conformtest.pl: Only accept expected constant or
56825         optional-constant values with "==".  Parse all "constant" lines in
56826         one place.  Parse all "optional-constant" lines in one place.
56827         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
56828         * conform/data/fmtmsg.h-data: Likewise.
56829         * conform/data/netinet/in.h-data: Likewise.
56830         * conform/data/tar.h-data: Likewise.
56831         * conform/data/limits.h-data: Use "==" form on "constant" and
56832         "optional-constant" lines.
56834         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
56835         Use -std=c99 for XOPEN2K.
56836         (@knownproblems): Remove.
56837         (newtoken): Don't check %isknown.
56839         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
56840         Do not expect macro.
56841         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
56842         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
56843         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
56844         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
56845         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
56846         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
56847         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
56848         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
56849         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
56850         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
56851         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
56852         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
56853         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
56854         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
56855         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
56856         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
56857         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
56858         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
56859         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
56860         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
56861         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
56862         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
56863         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
56864         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
56865         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
56866         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
56867         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
56868         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
56869         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
56870         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
56871         [XPG3] (acosh): Likewise.
56872         [XPG3] (asinh): Likewise.
56873         [XPG3] (atanh): Likewise.
56874         [XPG3] (cbrt): Likewise.
56875         [XPG3] (expm1): Likewise.
56876         [XPG3] (ilogb): Likewise.
56877         [XPG3] (log1p): Likewise.
56878         [XPG3] (logb): Likewise.
56879         [XPG3] (nextafter): Likewise.
56880         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
56881         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
56882         [XPG3] (remainder): Likewise.
56883         [XPG3] (rint): Likewise.
56884         [XPG3 || XPG4 || UNIX98] (round): Likewise.
56885         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
56886         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
56887         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
56888         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
56889         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
56890         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
56891         [UNIX98 || XOPEN2K] (scalb): Expect.
56892         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
56893         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
56894         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
56895         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
56896         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
56897         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
56898         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
56899         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
56900         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
56901         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
56902         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
56903         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
56904         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
56905         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
56906         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
56907         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
56908         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
56909         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
56910         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
56911         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
56912         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
56913         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
56914         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
56915         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
56916         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
56917         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
56918         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
56919         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
56920         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
56921         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
56922         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
56923         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
56924         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
56925         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
56926         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
56927         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
56928         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
56929         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
56930         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
56931         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
56932         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
56933         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
56934         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
56935         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
56936         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
56937         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
56938         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
56939         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
56940         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
56941         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
56942         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
56943         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
56944         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
56945         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
56946         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
56947         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
56948         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
56949         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
56950         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
56951         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
56952         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
56953         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
56954         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
56955         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
56956         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
56957         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
56958         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
56959         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
56960         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
56961         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
56962         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
56963         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
56964         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
56965         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
56966         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
56967         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
56968         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
56969         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
56970         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
56971         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
56972         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
56973         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
56974         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
56975         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
56976         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
56977         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
56978         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
56979         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
56980         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
56981         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
56982         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
56983         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
56984         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
56985         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
56986         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
56987         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
56988         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
56989         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
56990         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
56991         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
56992         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
56993         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
56994         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
56995         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
56996         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
56997         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
56998         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
56999         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
57000         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
57001         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
57002         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
57003         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
57004         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
57005         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
57006         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
57007         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
57008         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
57009         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
57010         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
57011         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
57012         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
57013         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
57014         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
57015         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
57016         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
57017         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
57018         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
57019         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
57020         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
57021         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
57022         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
57023         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
57024         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
57025         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
57026         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
57027         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
57028         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
57030         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
57031         _XOPEN_SOURCE_EXTENDED for XPG4.
57033         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
57035         * Makeconfig (localtime): Remove variable.
57036         (inst_localtime-file): Likewise.
57038 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
57040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
57041         Update.
57042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57043         Update.
57044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
57045         Update.
57046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
57047         Update.
57048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
57049         Update.
57050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
57051         Update.
57052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57053         Update.
57054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
57055         Update.
57056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
57057         Update.
57059 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
57061         [BZ #2550]
57062         [BZ #2570]
57063         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
57064         comparisons to determine direction to adjust input.
57065         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
57066         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
57067         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
57068         Likewise.
57069         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
57070         Likewise.
57071         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
57072         Likewise.
57073         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
57074         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
57075         Likewise.
57076         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
57077         Likewise.
57078         * math/libm-test.inc (nexttoward_test): Add more tests.
57080 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
57082         [BZ #14040]
57083         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
57084         in version GLIBC_2.1, not GLIBC_2.0.
57085         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
57086         Likewise.
57088 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
57090         [BZ #13942]
57091         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
57092         (1 - x) * (1 + x).
57093         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
57094         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
57095         * math/libm-test.inc (acos_test): Add more tests.
57096         (asin_test): Likewise.
57097         * sysdeps/i386/fpu/libm-test-ulps: Update.
57098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57100         [BZ #14034]
57101         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
57102         of square root.
57103         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
57104         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
57105         * math/libm-test.inc (acos_test_tonearest): New function.
57106         (acos_test_towardzero): Likewise.
57107         (acos_test_downward): Likewise.
57108         (acos_test_upward): Likewise.
57109         (asin_test_tonearest): Likewise.
57110         (asin_test_towardzero): Likewise.
57111         (asin_test_downward): Likewise.
57112         (asin_test_upward): Likewise.
57113         (main): Call the new functions.
57114         * sysdeps/i386/fpu/libm-test-ulps: Update.
57115         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57117         [BZ #13884]
57118         [BZ #13924]
57119         * math/e_exp10.c: Include <float.h>.
57120         (__ieee754_exp10): Handle underflow here rather than multiplying
57121         large negative argument by M_LN10.
57122         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
57123         of __ieee754_expf.
57124         * math/e_exp10l.c: Include <float.h>.
57125         (__ieee754_exp10l): Handle underflow here rather than multiplying
57126         large negative argument by M_LN10l.
57127         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
57128         spurious overflow exception on underflow.
57130 2012-04-29  Marek Polacek  <polacek@redhat.com>
57132         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
57133         (__fortify_function): New macro.
57134         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
57135         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
57136         __extern_always_inline.
57137         * libio/bits/stdio2.h: Likewise.
57138         * libio/bits/stdio.h: Likewise.
57139         * string/string.h: Likewise.
57140         * string/bits/string3.h: Likewise.
57141         * include/stdio.h: Likewise.
57142         * stdlib/bits/stdlib.h: Likewise.
57143         * stdlib/stdlib.h: Likewise.
57144         * rt/bits/mqueue2.h: Likewise.
57145         * rt/mqueue.h: Likewise.
57146         * posix/bits/unistd.h: Likewise.
57147         * posix/unistd.h: Likewise.
57148         * io/bits/poll2.h: Likewise.
57149         * io/bits/fcntl2.h: Likewise.
57150         * io/fcntl.h: Likewise.
57151         * io/sys/poll.h: Likewise.
57152         * misc/bits/syslog.h: Likewise.
57153         * misc/bits/syslog-ldbl.h: Likewise.
57154         * misc/sys/syslog.h: Likewise.
57155         * socket/bits/socket2.h: Likewise.
57156         * socket/sys/socket.h: Likewise.
57157         * debug/tst-chk1.c: Likewise.
57158         * wcsmbs/bits/wchar2.h: Likewise.
57159         * wcsmbs/bits/wchar-ldbl.h: Likewise.
57160         * wcsmbs/wchar.h: Likewise.
57162 2012-04-29  Andreas Jaeger  <aj@suse.de>
57164         * Makerules (tests): Remove enable-check-abi protection.
57165         (check-abi-warn): Remove.
57166         (check-abi-%): Remove check-abi-warn usage.
57168         * configure.in: Remove check-abi configure option.
57169         * configure: Regenerated.
57170         * config.make.in (enable-check-abi): Remove.
57172 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
57174         [BZ #14033]
57175         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
57176         double functions to double *_finite functions.
57178         [BZ #13941]
57179         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
57180         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
57181         LDBL_MIN_EXP.
57182         * stdio-common/Makefile (tests): Add tst-sprintf3.
57183         * stdio-common/tst-sprintf3.c: New file.
57185         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
57186         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
57188 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
57190         * conform/conformtest.pl: Remove duplicate typed-constant
57191         handling.
57193 2012-04-28  David S. Miller  <davem@davemloft.net>
57195         * Makerules (%.abilist): Add vpath on sysdep_dirs.
57196         (check-abi-%): Remove AWK script prerequisite and explicit
57197         abilist directory.
57198         (check-abi): Rewrite to just diff the symlist with the abilist.
57199         (config-tls, config-abi-config): Delete, no longer used.
57200         (update-abi-%): Remove AWK script and explicit abilist directory.
57201         (update-abi): Rewrite to simply compare and conditionally copy the
57202         symlist and the sysdep abilist file.  Remove update-abi-config
57203         checks.
57204         * abilist/ld.abilist: Remove.
57205         * abilist/libBrokenLocale.abilist: Remove.
57206         * abilist/libanl.abilist: Remove.
57207         * abilist/libcrypt.abilist: Remove.
57208         * abilist/libdl.abilist: Remove.
57209         * abilist/librt.abilist: Remove.
57210         * abilist/libthread_db.abilist: Remove.
57211         * abilist/libutil.abilist: Remove.
57212         * scripts/extract-abilist.awk: Remove.
57213         * scripts/merge-abilist.awk: Remove.
57214         * sysdeps/generic/libcidn.abilist: New file.
57215         * sysdeps/generic/libnss_compat.abilist: New file.
57216         * sysdeps/generic/libnss_db.abilist: New file.
57217         * sysdeps/generic/libnss_dns.abilist: New file.
57218         * sysdeps/generic/libnss_files.abilist: New file.
57219         * sysdeps/generic/libnss_hesiod.abilist: New file.
57220         * sysdeps/generic/libnss_nis.abilist: New file.
57221         * sysdeps/generic/libnss_nisplus.abilist: New file.
57222         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
57223         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
57224         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
57225         file.
57226         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
57227         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
57228         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
57229         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
57230         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
57231         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
57232         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
57233         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
57234         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
57235         file.
57236         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
57237         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
57238         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
57239         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
57240         file.
57241         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
57242         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
57243         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
57244         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
57245         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
57246         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
57247         file.
57248         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
57249         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
57250         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
57251         file.
57252         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
57253         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
57254         New file.
57255         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
57256         New file.
57257         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
57258         New file.
57259         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
57260         New file.
57261         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
57262         New file.
57263         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
57264         New file.
57265         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
57266         New file.
57267         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
57268         New file.
57269         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
57270         New file.
57271         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
57272         New file.
57273         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
57274         New file.
57275         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
57276         New file.
57277         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
57278         New file.
57279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
57280         file.
57281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
57282         New file.
57283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
57284         New file.
57285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
57286         file.
57287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
57288         New file.
57289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
57290         New file.
57291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
57292         file.
57293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
57294         New file.
57295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
57296         New file.
57297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
57298         New file.
57299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
57300         New file.
57301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
57302         New file.
57303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
57304         New file.
57305         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
57306         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
57307         file.
57308         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
57309         New file.
57310         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
57311         file.
57312         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
57313         file.
57314         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
57315         file.
57316         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
57317         file.
57318         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
57319         file.
57320         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57321         New file.
57322         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
57323         file.
57324         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
57325         file.
57326         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
57327         New file.
57328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
57329         file.
57330         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
57331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
57332         file.
57333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
57334         New file.
57335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
57336         file.
57337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
57338         file.
57339         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
57340         file.
57341         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
57342         file.
57343         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
57344         file.
57345         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57346         New file.
57347         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
57348         file.
57349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
57350         file.
57351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
57352         New file.
57353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
57354         file.
57355         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
57356         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
57357         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
57358         file.
57359         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
57360         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
57361         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
57362         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
57363         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
57364         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
57365         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
57366         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
57367         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
57368         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
57369         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
57370         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
57371         file.
57372         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
57373         New file.
57374         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
57375         file.
57376         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
57377         file.
57378         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
57379         file.
57380         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
57381         file.
57382         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
57383         file.
57384         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
57385         New file.
57386         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
57387         New file.
57388         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
57389         file.
57390         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
57391         New file.
57392         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
57393         file.
57394         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
57395         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
57396         file.
57397         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
57398         New file.
57399         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
57400         file.
57401         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
57402         file.
57403         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
57404         file.
57405         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
57406         file.
57407         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
57408         file.
57409         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
57410         New file.
57411         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
57412         New file.
57413         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
57414         file.
57415         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
57416         New file.
57417         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
57418         file.
57420 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
57422         * conform/conformtest.pl: Fix typo in handling typed-constant from
57423         allow-header.
57425 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
57427         * README: Cut down references to pre-2.6 Linux kernels and
57428         Linuxthreads.  Update lists of configurations in libc and ports
57429         and sort alphabetically.  Say "or newer" with Linux kernel version
57430         requirements.
57432         * config.h.in [IS_IN_build]: Allow compiling without optimization.
57434 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57436         [BZ #887]
57437         * math/libm-test.inc (logb_test_downward): New test to expose
57438         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
57439         rounding mode.
57441 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
57443         [BZ #14027]
57444         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
57445         to be done.
57446         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
57447         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
57449 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
57451         * sysdeps/unix/i386/brk.S: Remove file.
57452         * sysdeps/unix/i386/dl-brk.S: Likewise.
57453         * sysdeps/unix/i386/pipe.S: Likewise.
57454         * sysdeps/unix/i386/sigreturn.S: Likewise.
57455         * sysdeps/unix/i386/syscall.S: Likewise.
57456         * sysdeps/unix/i386/vfork.S: Likewise.
57457         * sysdeps/unix/i386/wait.S: Likewise.
57459         * sysdeps/unix/common/tcsendbrk.c: Move to ...
57460         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
57462         * configure.in (arm*-none*): Do not allow without
57463         --enable-hacker-mode.
57464         (netbsd*): Remove case setting base_os.
57465         (386bsd*): Likewise.
57466         (freebsd*): Likewise.
57467         (bsdi*): Likewise.
57468         (osf*): Likewise.
57469         (sunos*): Likewise.
57470         (ultrix*): Likewise.
57471         (newsos*): Likewise.
57472         (dynix*): Likewise.
57473         (*bsd*): Likewise.
57474         (sysv*): Likewise.
57475         (isc*): Likewise.
57476         (esix*): Likewise.
57477         (sco*): Likewise.
57478         (minix*): Likewise.
57479         (irix4*): Likewise.
57480         (irix6*): Likewise.
57481         (solaris[2-9]*): Likewise.
57482         (none): Likewise.
57483         * configure: Regenerated.
57485 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57487         [BZ #11521]
57488         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
57489         overflow or cancellation in calculating denominator.
57490         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
57491         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
57492         down expression to avoid unexpected rounding in newer GCCs.
57493         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
57495 2012-04-26  David S. Miller  <davem@davemloft.net>
57497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
57498         long-double compat symbols.
57499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
57500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
57501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
57502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
57503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
57504         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
57505         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
57506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
57507         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
57508         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
57509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
57510         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
57511         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
57513 2012-04-25  David S. Miller  <davem@davemloft.net>
57515         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
57516         HWCAP_* values only after the memory barriers have been defined.
57517         (atomic_full_barrier): Define.
57518         (atomic_read_barrier): Define.
57519         (atomic_write_barrier): Define.
57521 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57523         * shlib-versions: Add libgcc_s version information.
57524         * sysdeps/generic/libgcc_s.h: Remove.
57525         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
57526         libgcc_s.h.
57527         * sysdeps/gnu/unwind-resume.c: Likewise.
57528         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
57530 2012-04-25  David S. Miller  <davem@davemloft.net>
57532         * sysdeps/unix/sparc/brk.S: Delete.
57533         * sysdeps/unix/sparc/dl-brk.S: Delete.
57534         * sysdeps/unix/sparc/pipe.S: Delete.
57535         * sysdeps/unix/sparc/sysdep.S: Delete.
57536         * sysdeps/unix/sparc/sysdep.h: Delete.
57537         * sysdeps/unix/sparc/vfork.S: Delete.
57538         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
57539         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
57540         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
57541         (ret_ERRVAL, r0, r1, MOVE): Define.
57542         (JUMPTARGET): Remove.
57543         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
57544         sysdeps/unix/sparc/sysdep.h
57545         (ENTRY, END): Remove.
57546         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57548 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
57550         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
57551         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
57552         -DIS_IN_build.
57554         * timezone/README: Update upstream location and email address for
57555         tzcode and tzdata.
57556         * timezone/zdump.c: Update from tzcode 2012b.
57557         * timezone/zic.c: Likewise.
57559         * configure.in (libc_cv_as_needed): Remove test.
57560         * configure: Regenerated.
57561         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
57562         conditional definition.
57563         [$(have-as-needed) != yes] (no-as-needed): Likewise.
57564         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
57565         * config.make.in (have-as-needed): Remove variable.
57567 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57568             Paul Pluzhnikov  <ppluzhnikov@google.com>
57570         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
57571         strings correctly.
57573 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
57575         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
57576         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
57577         * sysdeps/sh/strlen.S: Likewise.
57579 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
57581         * sysdeps/unix/fork.S: Remove file.
57582         * sysdeps/unix/i386/fork.S: Likewise.
57583         * sysdeps/unix/sparc/fork.S: Likewise.
57585         * sysdeps/unix/system.c: Remove file.
57586         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
57588         * sysdeps/unix/getegid.S: Remove file.
57589         * sysdeps/unix/geteuid.S: Likewise.
57591 2012-04-24  Roland McGrath  <roland@hack.frob.com>
57593         * scripts/check-localplt.awk: New file.
57594         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
57595         of diff.
57596         * scripts/data/localplt-generic.data: Add a comment.
57598         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
57599         NODE when __dir_mkfile failed.
57600         * sysdeps/mach/hurd/symlinkat.c: Likewise.
57601         Reported by Ludovic Courtès <ludo@gnu.org>.
57603 2012-04-24  Andreas Jaeger  <aj@suse.de>
57605         * Makerules (common-clean): Also remove gen-as-const-headers
57606         files.
57608 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
57610         * Makerules (native-compile): Do not change working directory for
57611         build.  Use $(OUTPUT_OPTION) in command.
57612         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
57614 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57616         [BZ #13886]
57617         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
57618         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
57619         * math/libm-test.inc (floor_test): Add more tests.
57620         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
57622 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
57624         * sysdeps/unix/getdents.c: Remove file.
57625         * sysdeps/unix/sysv/getdents.c: Likewise.
57626         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
57628         * sysdeps/unix/syscalls.list (madvise): Add syscall from
57629         sysdeps/unix/mman/syscalls.list.
57630         (mmap): Likewise.
57631         (mprotect): Likewise.
57632         (msync): Likewise.
57633         (munmap): Likewise.
57634         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
57635         * sysdeps/unix/mman/syscalls.list: Remove.
57636         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
57638         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
57639         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
57640         * configure: Regenerated.
57641         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
57642         $(libgcc_s_suffix).
57643         * config.make.in (libgcc_s_suffix): Remove variable.
57645 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
57647         * sysdeps/unix/sysv/gethostname.c: Move to ...
57648         * sysdeps/posix/gethostname.c: ... here.
57650         * sysdeps/unix/execve.S: Remove file.
57652         * sysdeps/unix/_exit.S: Remove file.
57654 2012-04-23  Andreas Jaeger  <aj@suse.de>
57656         [BZ #13739]
57657         * manual/Makefile: Remove make dist support, there's no
57658         need for a stand-alone documentation tar ball.
57659         (TEXI2DVI): Define always, it's not in Makeconfig.
57660         (dist): Removed.
57661         (tar-it): Removed.
57662         (edition): Removed.
57663         (glibc-doc-$(edition).tar): Removed
57664         (%.Z): Removed.
57665         (%.gz): Removed.
57666         (%.uu): Removed.
57667         (ETAGS): Remove, it's in Makeconfig.
57668         (move-if-change): Remove, it's in Makeconfig.
57670 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
57672         [BZ #13970]
57673         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
57674         (strtod, strtof, strtold, strtol, strtoul, strtoq)
57675         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
57676         (strtod_l, strtof_l, strtold_l): Remove __wur.
57677         It is not necessarily an error to ignore strtol's return value.
57678         One can reliably look at the stored endptr to decide whether
57679         the number had valid syntax.
57681 2012-04-21  Andreas Jaeger  <aj@suse.de>
57683         [BZ #13739]
57684         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
57686 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
57688         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
57689         * sysdeps/unix/sysv/Versions: Remove file.
57691 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
57693         [BZ #13927]
57694         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57696 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
57698         [BZ #7064]
57699         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
57700         version from __vm86.
57702 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
57704         * sysdeps/unix/common/lxstat.c: Remove file.
57705         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
57707         * sysdeps/unix/sysv/Makefile: Remove file.
57709         * sysdeps/unix/sysv/direct.h: Remove file.
57711         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
57712         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
57713         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
57714         * sysdeps/unix/sysv/bits/signum.h: Likewise.
57715         * sysdeps/unix/sysv/bits/stat.h: Likewise.
57716         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
57717         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
57719         * sysdeps/unix/sysv/setrlimit.c: Remove file.
57721         * sysdeps/unix/xmknod.c: Remove file.
57722         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
57724         * sysdeps/unix/sysv/settimeofday.c: Remove file.
57726         * sysdeps/unix/sysv/i386/time.S: Remove file.
57728         * sysdeps/unix/fxstat.c: Remove file.
57729         * sysdeps/unix/xstat.c: Likewise.
57730         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
57732         * sysdeps/unix/sysv/sigaction.c: Remove file.
57734         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
57735         (sysdep_headers): Remove variable.
57736         [termio.h not in sysdep_headers] (generated): Likewise.
57737         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
57738         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
57739         * sysdeps/unix/sysv/tcdrain.c: Likewise.
57740         * sysdeps/unix/sysv/tcflow.c: Likewise.
57741         * sysdeps/unix/sysv/tcflush.c: Likewise.
57742         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
57743         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
57744         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
57745         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
57746         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
57748         * sysdeps/unix/siglist.c: Remove file.
57750         * sysdeps/unix/getppid.S: Remove file.
57752         * sysdeps/unix/mkdir.c: Remove file.
57753         * sysdeps/unix/rmdir.c: Likewise.
57755 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
57757         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
57758         ERR_MAX value.
57759         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
57760         errlist-compat value.
57762 2012-04-18  David S. Miller  <davem@davemloft.net>
57764         * sysdeps/generic/memcopy.h (reg_char): Delete.
57765         * debug/strcat_chk.c: Use char, not reg_char.
57766         * debug/strcpy_chk.c: Likewise.
57767         * debug/strncat_chk.c: Likewise.
57768         * debug/strncpy_chk.c: Likewise.
57769         * string/memchr.c: Likewise.
57770         * string/memrchr.c: Likewise.
57771         * string/rawmemchr.c: Likewise.
57772         * string/strcat.c: Likewise.
57773         * string/strchr.c: Likewise.
57774         * string/strchrnul.c: Likewise.
57775         * string/strcmp.c: Likewise.
57776         * string/strcpy.c: Likewise.
57777         * string/strncat.c: Likewise.
57778         * string/strncmp.c: Likewise.
57779         * string/strncpy.c: Likewise.
57781 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
57783         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
57784         __builtin_memcopy is called when src and dest ranges are known to not
57785         overlap.
57787 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
57789         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
57790         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
57791         fwd_align_merge macro call.
57792         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
57793         bwd_align_merge macro call.
57794         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
57796 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
57798         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
57799         bwd_align_merge macros.
57800         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
57801         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
57802         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
57804 2012-04-18  David S. Miller  <davem@davemloft.net>
57806         * sysdeps/sparc/sparc64/memcopy.h: Delete.
57808 2012-04-18  Andreas Jaeger  <aj@suse.de>
57810         [BZ# 6794]
57811         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
57812         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
57813         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
57815         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
57816         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
57817         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
57819         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
57820         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
57821         Adjust for changed ldbl-128 files.
57823         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
57824         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
57825         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
57827 2012-04-17  David S. Miller  <davem@davemloft.net>
57829         * sysdeps/sparc/sparc32/memcopy.h: Delete.
57831 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
57833         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
57834         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
57835         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
57836         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
57837         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
57838         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
57840 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57842         [BZ #6794]
57843         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
57844         * math/libm-test.inc: Add ilogb errno and exception tests.
57845         * math/w_ilogb.c: New file: ilogb wrapper.
57846         * math/w_ilogbf.c: New file: ilogbf wrapper.
57847         * math/w_ilogbl.c: New file: ilogbl wrapper.
57848         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
57849         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
57850         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
57851         exception being thrown with 0.0 as argument.
57852         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
57853         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
57854         exception being thrown with 0.0 as argument.
57855         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
57856         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
57857         exception being thrown with 0.0 as argument.
57858         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
57859         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
57860         exception being thrown with 0.0 as argument.
57861         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
57862         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
57863         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
57864         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
57865         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
57866         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
57867         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
57868         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
57869         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
57871 2012-04-17  Petr Baudis  <pasky@ucw.cz>
57873         * include/sys/uio.h: Change __vector to __iovec to avoid clash
57874         with altivec.
57876 2012-04-16  Marek Polacek  <polacek@redhat.com>
57878         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
57880 2012-04-16  Marek Polacek  <polacek@redhat.com>
57882         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
57883         operands of fdivp instruction.
57885 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
57887         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
57888         * elf/tst-auditmod3b.c: Likewise.
57889         * elf/tst-auditmod4b.c: Likewise.
57890         * elf/tst-auditmod5b.c: Likewise.
57891         * elf/tst-auditmod6b.c: Likewise.
57892         * elf/tst-auditmod6c.c: Likewise.
57893         * elf/tst-auditmod7b.c: Likewise.
57894         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
57895         * sysdeps/x86_64/preconfigure.in: Likewise.
57896         * sysdeps/x86_64/preconfigure: Regenerated.
57898 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
57900         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
57901         __ILP32__.
57903 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
57905         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57906         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
57908 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
57910         [BZ #13973]
57911         * locale/iso-639.def: Fix gl language name. Spotted by
57912         Yaron Shahrabani.
57914 2012-04-12  Roland McGrath  <roland@hack.frob.com>
57916         [BZ #2074]
57917         * libio/libio.h (__io_write_fn): Update comment.
57919 2012-04-12  Petr Baudis  <pasky@ucw.cz>
57921         [BZ #2074]
57922         * stdio.texi (Hook Functions): The user provided writer function
57923         is not allowed to return -1.
57925 2012-04-11  David S. Miller  <davem@davemloft.net>
57927         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57929 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
57931         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
57932         Add a leading slash to rtkaio.
57934 2012-04-11  Jim Meyering  <meyering@redhat.com>
57936         [BZ #11959]
57937         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
57938         It is not necessarily an error to ignore fwrite's return
57939         value.  One can reliably use ferror to test for errors after
57940         the fact.
57942 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
57944         * bits/types.h (__snseconds_t): New type.
57945         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
57947         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
57948         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57949         (__SNSECONDS_T_TYPE): Likewise.
57950         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57951         (__SNSECONDS_T_TYPE): Likewise.
57952         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57953         (__SNSECONDS_T_TYPE): Likewise.
57955 2012-04-10  Andreas Jaeger  <aj@suse.de>
57957         [BZ #2636]
57958         * manual/time.texi (Processor Time): Return type of times is
57959         elapsed real time since an arbitrary point in the past.
57960         (CPU Time): Move CLK_TCK from here...
57961         (Processor Time): ...to here.  Correct description.
57962         * manual/conf.texi (Constants for Sysconf): Correct description of
57963         _SC_CLK_TCK.
57965 2012-04-10  David S. Miller  <davem@davemloft.net>
57967         [BZ #13967]
57968         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
57969         where the is a gap between DT_REL(A) and DT_JMPREL.
57971 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
57973         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
57974         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
57975         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
57977 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57979         * elf/dl-support.c (_dl_inhibit_cache): New variable.
57980         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
57981         (dl_main): Handle --inhibit-cache.
57982         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
57983         _dl_inhibit_cache.
57984         * elf/dl-load.c (_dl_map_object): Use it.
57985         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
57987 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
57989         [BZ #13872]
57990         * sysdeps/i386/fpu/e_powl.S (p78): New object.
57991         (__ieee754_powl): Saturate large exponents rather than testing for
57992         overflow of y*log2(x).
57993         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57994         * math/libm-test.inc (pow_test): Do not permit spurious overflow
57995         exceptions.
57997         [BZ #11521]
57998         * math/s_ctan.c: Include <float.h>.
57999         (__ctan): Avoid internal overflow or cancellation in calculating
58000         denominator.
58001         * math/s_ctanf.c: Likewise.
58002         * math/s_ctanl.c: Likewise.
58003         * math/s_ctanh.c: Likewise.
58004         * math/s_ctanhf.c: Likewise.
58005         * math/s_ctanhl.c: Likewise.
58006         * math/libm-test.inc (ctan_test): Add more tests.
58007         (ctanh_test): Likewise.
58008         * sysdeps/i386/fpu/libm-test-ulps: Update.
58009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58011 2012-04-09  Andreas Jaeger  <aj@suse.de>
58013         [BZ #6894]
58014         * manual/filesys.texi (Directory Entries): Mention that d_namlen
58015         is an optional BSD extension.
58017         [BZ #10254]
58018         * manual/stdio.texi (Opening Streams): Document additional fopen
58019         parameters.
58021 2012-04-09  Roland McGrath  <roland@hack.frob.com>
58023         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
58024         %eax without telling the compiler.
58026 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
58028         [BZ # 13963]
58029         * manual/install.texi: Use sourceware.org.
58031 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
58033         [BZ #13873]
58034         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
58035         (__ieee754_pow): Generate overflow and underflow using huge*huge
58036         and tiny*tiny rather than just returning constant infinity or zero
58037         for large exponents.
58038         * math/libm-test.inc (pow_test): Require overflow exceptions for
58039         applicable cases of large exponents.
58041         [BZ #706]
58042         * sysdeps/i386/fpu/e_pow.S (p10): New object.
58043         (__ieee754_pow): Use iterative multiplication algorithm only for
58044         integer exponents with absolute value below 1024.  Check for odd
58045         integer exponents when using algorithm for real exponents.
58046         * math/libm-test.inc (pow_test): Add more tests.
58047         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58049 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
58051         [BZ #13705]
58052         * math/libm-test.inc (exp_test): Do not allow overflow exception
58053         on underflow test.
58055 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
58057         [BZ #13705]
58058         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
58059         instead of __kernel_standard_f.
58061 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
58063         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
58064         * sysdeps/x86_64/memset_chk.S: Likewise.
58066 2012-04-08  Andreas Jaeger  <aj@suse.de>
58068         [BZ #10153]
58069         * manual/startup.texi (Environment Access): Describe return value
58070         for putenv and setenv.
58072         [BZ #6895]
58073         * manual/filesys.texi (Directory Entries): Add description for
58074         DT_LNK.
58076         [BZ #6890]
58077         * manual/filesys.texi (Directory Entries): Clarify that it's file
58078         system not operating system in the description of DT_UNKNOWN.
58080         [BZ #6578]
58081         * manual/syslog.texi (closelog): Fix reference, it's openlog.
58083 2012-04-08  Stephen Compall  <s11@member.fsf.org>
58085         [BZ #6649]
58086         * manual/llio.texi (Opening and Closing Files): Add cross
58087         reference to explain mode argument.
58089 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
58091         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
58092         * sysdeps/x86_64/memset_chk.S: Likewise.
58094 2012-04-07  David S. Miller  <davem@davemloft.net>
58096         * elf/elf.h (R_SPARC_WDISP10): Define.
58097         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
58098         R_SPARC_SIZE32.
58099         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
58100         R_SPARC_SIZE64 and R_SPARC_H34.
58102 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
58104         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
58105         conditions and remove no longer applicable assertion.
58107 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
58109         * bits/byteswap.h: Include <features.h>.
58110         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
58111         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
58113 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
58115         * bits/byteswap.h (__bswap_16): Removed.
58116         Include <bits/byteswap-16.h> to get __bswap_16.
58117         * sysdeps/i386/bits/byteswap.h: Likewise.
58118         * sysdeps/s390/bits/byteswap.h: Likewise.
58119         * sysdeps/x86_64/bits/byteswap.h: Likewise.
58120         * bits/byteswap-16.h: New file.
58121         * sysdeps/i386/bits/byteswap-16.h: Likewise.
58122         * sysdeps/s390/bits/byteswap-16.h: Likewise.
58123         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
58124         * string/Makefile (headers): Add bits/byteswap-16.h.
58126 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
58128         [BZ #13895]
58129         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
58130         extra indirection.
58131         * nss/Makefile (tests-static, tests): Add tst-nss-static.
58132         * nss/tst-nss-static.c: New.
58134 2012-04-06  Robert Millan  <rmh@gnu.org>
58136         [BZ #6486]
58137         * manual/llio.texi (File Position Primitive): lseek
58138         refers to WHENCE when it really means OFFSET.
58140 2012-04-06  Andreas Jaeger  <aj@suse.de>
58142         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
58143         strncmp declarations.
58145         * abilist/libc.abilist: Add __poll and __ppoll.
58147 2012-04-05  David S. Miller  <davem@davemloft.net>
58149         * scripts/check-local-headers.sh: Accept a host triplet in the
58150         path matched by the exclude regexp.
58152         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
58153         definition.
58154         * sysdeps/powerpc/powerpc32/dl-machine.h
58155         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
58156         * sysdeps/s390/s390-32/dl-machine.h
58157         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
58158         * sysdeps/sparc/sparc32/dl-machine.h
58159         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
58160         * sysdeps/sparc/sparc64/dl-machine.h
58161         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
58163         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
58164         lazy binding.
58165         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
58166         undefined symbol errors.
58168         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
58169         DT_NEEDED entries.
58171 2012-04-05  Michael Matz  <matz@suse.de>
58173         [BZ #13592]
58174         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
58176 2012-04-05  Andreas Jaeger  <aj@suse.de>
58178         [BZ #13908]
58179         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
58180         comment.
58182 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58184         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
58185         which ROUND is no valid rounding mode.
58187 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58189         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
58190         read again.
58191         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
58193 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58195         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
58196         an exception using FPU order intentionally.
58198 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58200         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
58201         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
58202         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
58203         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
58205 2012-04-05  Simon Josefsson  <simon@josefsson.org>
58207         [BZ #12340]
58208         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
58209         EINVAL when BUFLEN is too smal.
58211 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
58213         [BZ #13553]
58214         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
58215         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
58217 2012-04-03  Andreas Jaeger  <aj@suse.de>
58219         [BZ #13938]
58220         * manual/setjmp.texi (System V contexts): Fix sentence.
58222         [BZ #13926]
58223         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
58224         New macro for this case.
58225         [!__GNUC__] (__bswap_64): New inline function for this case.
58226         * sysdeps/x86_64/bits/byteswap.h: Likewise.
58227         * bits/byteswap.h: Likewise.
58228         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
58229         ull, guard with __GLIBC_HAVE_LONG_LONG.
58231         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
58232         __GLIBC_HAVE_LONG_LONG.
58234         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
58235         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
58237 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
58239         [BZ #13691]
58240         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
58241         inptr and inend, rather than using last_ch.
58243 2012-04-02  David S. Miller  <davem@davemloft.net>
58245         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
58246         * stdio-common/printf-parse.h (read_int): Change return type to
58247         'int', return -1 on INT_MAX overflow.
58248         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
58249         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
58250         overflows INT_MAX.  Check for overflow of in-format-string precision
58251         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
58252         SIZE_MAX not INT_MAX for integer overflow test.
58253         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
58254         skip the construct in the format string but do not record anything.
58255         * stdio-common/bug22.c: Adjust to test both width/prevision
58256         INT_MAX overflow as well as total length INT_MAX overflow.  Check
58257         explicitly for proper errno values.
58259 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
58261         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
58262         CHAR_MAX.
58263         * string/test-strcmp.c [! WIDE]: Likewise.
58264         * time/tst-mktime2.c: Likewise for INT_MAX.
58265         * string/test-string.h: #include <sys/param.h> for MIN.
58267         * csu/init-first.c (__libc_init_first): Call __ctype_init.
58268         * sysdeps/i386/init-first.c (init): Likewise.
58269         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
58270         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
58271         * sysdeps/sh/init-first.c (init): Likewise.
58273 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
58275         * po/ru.po: Update from translation team.
58276         * po/vi.po: Likewise.
58278 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
58280         * resolv/nss_dns/dns-host.c: Merge copyright years.
58282 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58284         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
58285         Optimize memcpy with prefetch if
58286         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
58287         src, dst pointers have unequal 16 byte alignments.
58289 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
58291         [BZ #13928]
58292         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
58293         from a CNAME entry and return the minimum ttl for the query.
58294         (gaih_getanswer_slice): Likewise.
58296 2012-03-30  Jeff Law  <law@redhat.com>
58298         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
58299         due to long keys.
58300         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
58301         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
58303         * resolv/nss_dns/dns-host.c: Update copyright year.
58305 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
58307         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
58308         requests to save a system call.  Fix check that all bytes are sent.
58310         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
58311         comments for sendmmsg.
58313 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58315         [BZ #13691]
58316         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
58317         with only 1 character between 0x0041 and 0x01b0.
58318         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
58319         * wcsmbs/tst-mbsnrtowcs.c: New file.
58321 2012-03-29  David S. Miller  <davem@davemloft.net>
58323         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
58324         small copies by hand.
58326 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58328         [BZ #13761]
58329         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
58330         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
58331         group memberships.
58333 2012-03-28  David S. Miller  <davem@davemloft.net>
58335         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
58336         that branches into memcpy.
58337         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
58338         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
58339         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
58340         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
58341         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
58342         bits.
58343         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
58344         implementation too.
58345         * sysdeps/sparc/mempcpy.S: New file.
58347         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
58348         the IFUNC routine in the libc case.
58349         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
58351         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
58352         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
58353         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
58354         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
58355         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
58356         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
58357         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
58358         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
58360         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
58361         loop to 256 bytes instead of 64 bytes and fix test signedness.
58363         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
58364         * sysdeps/sparc/sparc32/Makefile: rather than here...
58365         * sysdeps/sparc/sparc64/Makefile: and here.
58367 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
58369         * malloc/mallocbug.c: Avoid warnings about unused variables.
58371 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
58373         [BZ #13760]
58374         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
58375         in the right place. Discard and retry query if response is
58376         larger than input buffer size.
58378 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
58380         [BZ #369]
58381         [BZ #2678]
58382         [BZ #3866]
58383         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
58384         x for large integer exponent.
58385         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
58386         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
58387         sign of result as needed afterwards.
58388         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
58389         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
58390         result for underflowing pow the same as for overflow.
58391         (__kernel_standard_l): Handle powl overflow and underflow here
58392         rather than calling __kernel_standard.
58393         * math/libm-test.inc (pow_test): Add more tests.
58395         [BZ #3868]
58396         [BZ #13879]
58397         [BZ #13910]
58398         [BZ #13911]
58399         [BZ #13912]
58400         [BZ #13913]
58401         [BZ #13915]
58402         [BZ #13916]
58403         [BZ #13917]
58404         [BZ #13918]
58405         [BZ #13919]
58406         [BZ #13920]
58407         [BZ #13921]
58408         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
58409         * sysdeps/ieee754/k_standard.c: Include <float.h>.
58410         (__kernel_standard_l): New function.
58411         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
58412         __kernel_standard.
58413         * math/w_acosl.c (__acosl): Likewise.
58414         * math/w_asinl.c (__asinl): Likewise.
58415         * math/w_atan2l.c (__atan2l): Likewise.
58416         * math/w_atanhl.c (__atanhl): Likewise.
58417         * math/w_coshl.c (__coshl): Likewise.
58418         * math/w_exp10l.c (__exp10l): Likewise.
58419         * math/w_exp2l.c (__exp2l): Likewise.
58420         * math/w_fmodl.c (__fmodl): Likewise.
58421         * math/w_hypotl.c (__hypotl): Likewise.
58422         * math/w_j0l.c (__j0l, __y0l): Likewise.
58423         * math/w_j1l.c (__j1l, __y1l): Likewise.
58424         * math/w_jnl.c (__jnl, __ynl): Likewise.
58425         * math/w_lgammal.c (__lgammal): Likewise.
58426         * math/w_log10l.c (__log10l): Likewise.
58427         * math/w_log2l.c (__log2l): Likewise.
58428         * math/w_logl.c (__logl): Likewise.
58429         * math/w_powl.c (__powl): Likewise.
58430         * math/w_remainderl.c (__remainderl): Likewise.
58431         * math/w_scalbl.c (sysv_scalbl): Likewise.
58432         * math/w_sinhl.c (__sinhl): Likewise.
58433         * math/w_sqrtl.c (__sqrtl): Likewise.
58434         * math/w_tgammal.c (__tgammal): Likewise.
58435         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
58436         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
58437         * math/libm-test.inc (acos_test): Add more tests.
58438         (acosh_test): Likewise.
58439         (asin_test): Likewise.
58440         (atanh_test): Likewise.
58441         (exp_test): Likewise.
58442         (exp10_test): Likewise.
58443         (exp2_test): Likewise.
58444         (expm1_test): Likewise.
58445         (lgamma_test): Likewise.
58446         (log_test): Likewise.
58447         (log10_test): Likewise.
58448         (log1p_test): Likewise.
58449         (log2_test): Likewise.
58450         (pow_test): Do not allow some spurious overflow exceptions.
58451         (sqrt_test): Add more tests.
58452         (tgamma_test): Likewise.
58453         (y0_test): Likewise.
58454         (y1_test): Likewise.
58455         (yn_test): Likewise.
58457 2012-03-27  Anton Blanchard  <anton@samba.org>
58459         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
58460         MAP_HUGETLB.
58461         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58462         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
58463         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58465 2012-03-27  David S. Miller  <davem@davemloft.net>
58467         * conform/Makefile: Run run-conformtest.sh using $(BASH).
58469         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
58470         have-as-vis3 check.
58472 2012-03-27  Andreas Jaeger  <aj@suse.de>
58474         * sysdeps/x86_64/elf/configure.in: Moved to ...
58475         * sysdeps/x86_64/configure.in: ... here.
58476         * sysdeps/x86_64/elf/start.S: Moved to ...
58477         * sysdeps/x86_64/start.S: ... here.
58478         * sysdeps/x86_64/elf/configure: Delete.
58480         * sysdeps/x86_64/configure.in: Merge contents from
58481         sysdeps/i386/configure.in (without i686 check).
58483         * sysdeps/i386/elf/Versions: Merge into ...
58484         * sysdeps/i386/Versions: ... this.
58485         * sysdeps/i386/elf/Versions: Delete file.
58486         * sysdeps/i386/elf/start.S: Moved to ...
58487         * sysdeps/i386/start.S: ...here.
58488         * sysdeps/i386/elf/configure.in: Merge into...
58489         * sysdeps/i386/configure.in: ...here.
58490         * sysdeps/i386/elf/configure.in: Delete file.
58491         * sysdeps/i386/elf/configure: Delete file.
58493         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
58494         * debug/backtracesyms.c: ... here.
58495         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
58496         * debug/backtracesymsfd.c: ... here.
58497         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
58498         * sysdeps/generic/ifunc-sel.h: ... here.
58500         * sysdeps/unix/i386/start.c: Delete file.
58501         * sysdeps/unix/sparc/start.c: Delete file.
58502         * sysdeps/unix/start.c: Delete file.
58504         * sysdeps/sh/elf/configure.in: Moved to ...
58505         * sysdeps/sh/configure.in: ... here.
58506         * sysdeps/sh/elf/start.S: Moved to ...
58507         * sysdeps/sh/start.S: ... here.
58508         * sysdeps/sh/elf/configure: Delete file.
58510         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
58511         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
58512         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
58513         * sysdeps/powerpc/powerpc64/entry.h: ... here.
58514         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
58515         * sysdeps/powerpc/powerpc64/start.S: here.
58516         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
58517         * sysdeps/powerpc/powerpc64/Makefile: ... this.
58518         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
58519         * sysdeps/powerpc/powerpc64/configure.in: ... this.
58520         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
58522         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
58523         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
58524         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
58525         * sysdeps/powerpc/powerpc32/start.S: ... here.
58526         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
58527         * sysdeps/powerpc/powerpc32/configure.in: ... this.
58528         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
58530         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
58531         * sysdeps/powerpc/ifunc-sel.h: ... here.
58532         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
58533         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
58535         * sysdeps/sparc/elf/configure.in: Moved to ...
58536         * sysdeps/sparc/configure.in: ... here.
58537         * sysdeps/sparc/elf/configure: Delete file.
58538         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
58539         * sysdeps/sparc/sparc32/start.S: ... here.
58540         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
58541         * sysdeps/sparc/sparc64/start.S: ... here.
58542         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
58543         * sysdeps/sparc/sparc32/Makefile: ... this.
58544         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
58545         * sysdeps/sparc/sparc64/Makefile: ... this.
58547         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
58548         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
58549         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
58550         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
58551         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
58552         * sysdeps/s390/s390-32/setjmp.S: ... here.
58553         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
58554         * sysdeps/s390/s390-32/configure.in: ... here.
58555         * sysdeps/s390/s390-32/elf/configure: Delete file.
58556         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
58557         * sysdeps/s390/s390-32/start.S: ... here.
58559         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
58560         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
58561         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
58562         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
58563         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
58564         * sysdeps/s390/s390-64/setjmp.S: ... here.
58565         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
58566         * sysdeps/s390/s390-64/configure.in: ... here
58567         * sysdeps/s390/s390-64/elf/configure: Delete file.
58568         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
58569         * sysdeps/s390/s390-64/start.S: ... here.
58570         * sysdeps/s390/s390-64/elf/configure: Delete.
58572         * configure.in: Remove support for elf directories in sysdeps.
58574         * configure: Regenerated.
58575         * sysdeps/i386/configure: Regenerated.
58576         * sysdeps/powerpc/powerpc32/configure: Regenerated.
58577         * sysdeps/powerpc/powerpc64/configure: Regenerated.
58578         * sysdeps/s390/s390-32/configure: Regenerated.
58579         * sysdeps/s390/s390-64/configure: Regenerated.
58580         * sysdeps/sh/configure: Regenerated.
58581         * sysdeps/sparc/configure: Regenerated.
58582         * sysdeps/x86_64/configure: Regenerated.
58584 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
58586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58588         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
58589         denormal result into account.
58591 2012-03-25  Roland McGrath  <roland@hack.frob.com>
58593         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
58594         Reported by Allan McRae <allan@archlinux.org>.
58596 2012-03-23  Jeff Law  <law@redhat.com>
58598         * nss/getnssent.c (__nss_getent): Fix typo.
58600 2012-03-23  David S. Miller  <davem@davemloft.net>
58602         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58604 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
58606         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
58607         to pad to uint64_t for each field.
58608         (dl_tls_index): Replace unsigned long with uint64_t.
58610 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
58611         Paul Pluzhnikov  <ppluzhnikov@google.com>
58613         [BZ #6528]
58614         * grp/Makefile (otherlibs): Don't set it.
58615         * inet/Makefile (otherlibs): Likewise.
58616         * login/Makefile (otherlibs): Likewise.
58617         * nscd/Makefile (otherlibs): Likewise.
58618         * posix/Makefile (otherlibs): Likewise.
58619         * pwd/Makefile (otherlibs): Likewise.
58620         * rt/Makefile (otherlibs): Likewise.
58621         * sunrpc/Makefile (otherlibs): Likewise.
58622         * nss/Makefile (otherlibs): Likewise.
58623         Add libnss_files to routines and static-only-routines.
58624         ($(objpfx)getent): Remove rule.
58625         * resolv/Makefile: Add libnss_dns and libresolv to routines and
58626         static-only-routines.
58628 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
58630         [BZ #13892]
58631         * math/s_cexp.c: Include <float.h>.
58632         (__cexp): Handle exp result overflowing not necessarily
58633         overflowing both real and imaginary parts of result.
58634         * math/s_cexpf.c: Likewise.
58635         * math/s_cexpl.c: Likewise.
58636         * math/libm-test.inc (cexp_test): Add more tests.
58637         * sysdeps/i386/fpu/libm-test-ulps: Update.
58638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58640 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
58642         * include/link.h (ELFW): New macro.
58643         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
58644         Replace ELF64_R_TYPE with ELFW(R_TYPE).
58646 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
58648         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
58649         with uint64_t.
58651 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
58653         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
58654         declaration.
58655         (struct La_x32_retval): Likewise.
58657 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
58659         * sysdeps/x86_64/preconfigure.in: New file.
58660         * sysdeps/x86_64/preconfigure: New generated file.
58662 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
58664         [BZ #13824]
58665         * math/e_exp2l.c: Include <float.h>.
58666         (__ieee754_exp2l): Handle overflow and underflow cases
58667         separately.  Only pass fractional part of argument to
58668         __ieee754_expl.
58669         * math/libm-test.inc (exp2_test): Add more tests.
58671         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
58672         negating x to take absolute value.
58673         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
58674         Likewise.
58675         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
58676         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
58677         Likewise.
58678         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
58679         computing low part if x was negated.
58680         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
58682 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
58684         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
58685         la_x32_gnu_pltexit.
58686         (pltexit): Cast int_retval to ptrdiff_t.
58687         * elf/tst-auditmod3b.c: Likewise.
58688         * elf/tst-auditmod4b.c: Likewise.
58689         * elf/tst-auditmod5b.c: Likewise.
58690         * elf/tst-auditmod6b.c: Likewise.
58691         * elf/tst-auditmod6c.c: Likewise.
58692         * elf/tst-auditmod7b.c: Likewise.
58694         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
58695         and x32_gnu_pltexit.
58697         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
58698         __ELF_NATIVE_CLASS.
58699         (La_x32_regs): New macro.
58700         (La_x32_retval): Likewise.
58701         (la_x32_gnu_pltenter): New function prototype.
58702         (la_x32_gnu_pltexit): Likewise.
58704 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
58706         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
58707         exponent.
58709         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58711         * configure.in (libc_cv_cc_nofma): Check for option to disable
58712         generation of FMA instructions.
58713         * configure: Regenerate.
58714         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
58715         * sysdeps/ieee754/dbl-64/Makefile: New file.
58716         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
58717         Remove brandred-fma4.
58718         (CFLAGS-brandred-fma4.c): Remove.
58719         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
58720         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
58721         define.
58722         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
58723         define.
58725 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
58727         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
58728         LLONG_MAX != LONG_MAX.
58729         (_itoa_word): Use _ITOA_WORD_TYPE on value.
58730         (_fitoa_word): Likewise.
58731         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
58732         LLONG_MAX != LONG_MAX.
58733         * stdio-common/_itowa.h: Include <_itoa.h>.
58734         (_itowa_word): Use _ITOA_WORD_TYPE on value.
58735         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
58736         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
58737         only if not defined.
58738         (_ITOA_WORD_TYPE): Likewise.
58739         (_itoa_word): Use _ITOA_WORD_TYPE on value.
58740         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
58742 2012-03-21  David S. Miller  <davem@davemloft.net>
58744         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58746 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
58748         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
58749         of x86_64 when setting libc_cv_slibdir, libdir and
58750         libc_cv_localedir.
58751         * sysdeps/unix/sysv/linux/configure: Regenerated.
58753 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
58755         * manual/lang.texi (Old Varargs): Remove section.
58756         (How Variadic): Update menu.
58757         (va_start): Do not mention varargs.h.
58759 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
58760             Joseph Myers  <joseph@codesourcery.com>
58762         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
58763         link test.
58764         * configure: Regenerated.
58766 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
58768         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
58769         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
58770         conformtest.pl
58772 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
58774         * NOTES: Remove.
58775         * Makefile (files-for-dist): Remove NOTES.
58776         (NOTES): Remove rule.
58777         * README: Don't refer to NOTES.
58778         * manual/creature.texi: Don't include macros.texi.
58779         * manual/intro.texi (creature.texi): Remove comment referring to
58780         NOTES.
58782         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
58783         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
58784         * configure: Regenerated.
58785         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
58786         LIBC_TRY_CC_OPTION.
58787         (libc_cv_as_i686): Likewise.
58788         (libc_cv_cc_avx): Likewise.
58789         (libc_cv_cc_sse2avx): Likewise.
58790         (libc_cv_cc_fma4): Likewise.
58791         (libc_cv_cc_novzeroupper): Likewise.
58792         * sysdeps/i386/configure: Regenerated.
58794         [BZ #13883]
58795         * sysdeps/i386/fpu/s_cexp.S: Remove.
58796         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
58797         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
58798         * math/libm-test.inc (cexp_test): Add more tests.
58799         * sysdeps/i386/fpu/libm-test-ulps: Update.
58800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58802 2012-03-21  Allan McRae  <allan@archlinux.org>
58804         * timezone/Makefile: Do not install iso3166.tab and zone.tab
58806 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
58808         [BZ #13871]
58809         * math/w_exp2.c: Do not include <float.h>.
58810         (o_threshold, u_threshold): Remove.
58811         (__exp2): Calculate result before checking finiteness and calling
58812         __kernel_standard.
58813         * math/w_exp2f.c: Likewise.
58814         * math/w_exp2l.c: Likewise.
58815         * math/libm-test.inc (exp2_test): Require overflow exception for
58816         1e6 input.
58818         [BZ #3866]
58819         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
58820         range of signed 64-bit integers before using fistpll.  Remove
58821         checks for whether integers fit in mantissa bits.
58822         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
58823         the range of signed 32-bit integers before using fistpl.  Remove
58824         checks for whether integers fit in mantissa bits.
58825         * sysdeps/i386/fpu/e_powl.S (p64): New object.
58826         (__ieee754_powl): Test for y outside the range of signed 64-bit
58827         integers before using fistpll.  Reduce 64-bit values to 63-bit
58828         ones as needed.
58829         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
58830         divide-by-zero is raised for zero to large negative powers.
58831         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
58832         (__ieee754_powl): Test for y outside the range of signed 64-bit
58833         integers before using fistpll.  Reduce 64-bit values to 63-bit
58834         ones as needed.
58835         * math/libm-test.inc (pow_test): Add more tests.
58837 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
58839         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
58840         <stdio-common/_itoa.h>.
58841         * debug/segfault.c: Likewise.
58842         * elf/dl-cache.c: Likewise.
58843         * elf/dl-minimal.c: Likewise.
58844         * elf/dl-misc.c: Likewise.
58845         * elf/dl-sysdep.c: Likewise.
58846         * elf/dl-version.c: Likewise.
58847         * elf/rtld.c: Likewise.
58848         * hurd/hurdsock.c: Likewise.
58849         * hurd/lookup-retry.c: Likewise.
58850         * malloc/malloc.c: Likewise.
58851         * malloc/mtrace.c: Likewise.
58852         * nscd/nscd_getgr_r.c: Likewise.
58853         * nscd/nscd_getpw_r.c: Likewise.
58854         * nscd/nscd_getserv_r.c: Likewise.
58855         * posix/getopt_init.c: Likewise.
58856         * posix/wordexp.c: Likewise.
58857         * stdio-common/_itoa.c: Likewise.
58858         * stdio-common/printf_fphex.c: Likewise.
58859         * stdio-common/vfprintf.c: Likewise.
58860         * string/_strerror.c: Likewise.
58861         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
58862         * sysdeps/i386/i686/hp-timing.h: Likewise.
58863         * sysdeps/mach/_strerror.c: Likewise.
58864         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
58865         * sysdeps/mach/hurd/sethostid.c: Likewise.
58866         * sysdeps/mach/hurd/xmknodat.c: Likewise.
58867         * sysdeps/mach/xpg-strerror.c: Likewise.
58868         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
58869         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
58870         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
58871         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
58872         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
58873         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
58874         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
58875         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
58876         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
58877         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
58878         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
58879         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
58880         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
58881         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
58882         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
58883         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
58884         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
58885         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
58886         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
58887         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
58888         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
58890         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
58892         * stdio-common/_itoa.h: Moved to ...
58893         * sysdeps/generic/_itoa.h: Here.
58895         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
58897         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
58898         instead of "_itoa.h" and "_itowa.h".
58899         * stdio-common/vfprintf.: Likewise.
58901 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
58903         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
58904         <bits/wordsize.h>.
58905         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
58906         (__signbit): Likwise.
58907         (llrintf): Likwise.
58908         (llrint): Likwise.
58910 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
58912         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
58913         __WORDSIZE != 64.
58915 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
58917         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
58918         OVERFLOW_EXCEPTION_OK.
58919         * math/libm-test.inc ("Philosophy"): Update comment about
58920         exception testing.
58921         (OVERFLOW_EXCEPTION): Define.
58922         (OVERFLOW_EXCEPTION_OK): Likewise.
58923         (INVALID_EXCEPTION_OK): Renumber.
58924         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
58925         (IGNORE_ZERO_INF_SIGN): Likewise.
58926         (test_exceptions): Handle FE_OVERFLOW.
58927         (exp10_test): Expect overflow exceptions.
58928         (exp2_test): Likewise.
58929         (expm1_test): Likewise.
58930         (nextafter_test): Likewise.
58931         (pow_test): Likewise.
58932         (scalbn_test): Likewise.
58933         (scalbln_test): Likewise.
58935 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58937         * sysdeps/x86_64/bits/atomic.h
58938         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
58939         64bit integer.
58940         (atomic_exchange_acq): Likewise.
58941         (__arch_exchange_and_add_body): Likewise.
58942         (__arch_add_body): Likewise.
58943         (atomic_add_negative): Likewise.
58944         (atomic_add_zero): Likewise.
58946 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58948         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
58949         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
58951 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58953         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
58954         Check __x86_64__ instead of __WORDSIZE.
58956 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58958         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
58960 2012-03-19  David S. Miller  <davem@davemloft.net>
58962         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58964         * sysdeps/sparc/fpu/fenv_private.h: New file.
58965         * sysdeps/sparc/fpu/math_private.h: Use it.
58966         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
58967         Remove.
58968         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
58969         (libc_feholdexcept_setroundl): Remove.
58970         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
58971         Remove.
58972         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
58973         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
58975 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58977         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
58978         int64_t instead of long int.
58979         (INSERT_WORDS64): Likwise.
58981 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
58983         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
58984         _Unwind_GetCFA return to _Unwind_Ptr first.
58986 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
58988         [BZ #13629]
58989         * math/s_clog.c: Include <float.h>.
58990         (__clog): Scale large or subnormal inputs.
58991         * math/s_clogf.c: Likewise.
58992         * math/s_clogl.c: Likewise.
58993         * math/s_clog10.c: Include <float.h>.
58994         (M_LOG10_2): Define.
58995         (__clog10): Scale large or subnormal inputs.
58996         * math/s_clog10f.c: Likewise.
58997         * math/s_clog10l.c: Likewise.
58998         * math/libm-test.inc (clog_test): Add more tests.
58999         (clog10_test): Likewise.
59000         * sysdeps/i386/fpu/libm-test-ulps: Update.
59001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59003         [BZ #11451]
59004         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
59005         x and y.
59006         * math/libm-test.inc (atan2_test): Add another test.
59008         * Makerules (common-objdir-compile): Remove.
59009         * sysdeps/unix/Makefile (config-generated): Do not add
59010         $(unix-generated) to variable.
59011         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
59012         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
59013         Remove rule.
59014         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
59015         Likewise.
59016         [generic bits/local_lim.h] (before-compile): Do not append to
59017         variable.
59018         [generic bits/local_lim.h] (common-generated): Likewise.
59019         [generic sys/param.h] (before-compile): Do not append to variable.
59020         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
59021         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
59022         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
59023         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
59024         include.
59025         [generic sys/param.h] (sys/param.h-includes): Remove variable.
59026         [generic sys/param.h] (sys/param.h-includes): Remove rule.
59027         [generic sys/param.h] ($(addprefix
59028         $(common-objpfx),$(sys/param.h-includes))): Likewise.
59029         [generic sys/param.h] (common-generated): Do not append to
59030         variable.
59031         [generic sys/param.h] (sysdep_headers): Likewise.
59032         [generic bits/errno.h] (before-compile): Do not append to
59033         variable.
59034         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
59035         rule.
59036         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
59037         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
59038         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
59039         [generic bits/errno.h] (common-generated): Do not append to
59040         variable.
59041         [generic bits/ioctls.h] (before-compile): Do not append to
59042         variable.
59043         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
59044         rule.
59045         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
59046         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
59047         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
59048         rule.
59049         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
59050         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
59051         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
59052         [generic bits/ioctls.h] (common-generated): Do not append to
59053         variable.
59054         [generic sys/syscall.h] (syscall.h): Remove variable.
59055         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
59056         rule.
59057         [generic sys/syscall.h] (before-compile): Do not append to
59058         variable.
59059         [generic sys/syscall.h] (common-generated): Likewise.
59060         * sysdeps/unix/errnos-tmpl.c: Remove file.
59061         * sysdeps/unix/errnos.awk: Likewise.
59062         * sysdeps/unix/ioctls-tmpl.c: Likewise.
59063         * sysdeps/unix/ioctls.awk: Likewise.
59064         * sysdeps/unix/mk-local_lim.c: Likewise.
59065         * sysdeps/unix/snarf-ioctls: Likewise.
59067 2012-03-19  Richard Henderson  <rth@twiddle.net>
59069         * sysdeps/i386/fpu/fenv_private.h: New file.
59070         * sysdeps/i386/fpu/math_private.h: Use it.
59071         (math_opt_barrier, math_force_eval): Remove.
59072         (libc_feholdexcept_setround_53bit): Remove.
59073         (libc_feupdateenv_53bit): Remove.
59074         * sysdeps/x86_64/fpu/math_private.h: Likewise.
59075         (math_opt_barrier, math_force_eval): Remove.
59076         (libc_feholdexcept): Remove.
59077         (libc_feholdexcept_setround): Remove.
59078         (libc_fetestexcept, libc_fesetenv): Remove.
59079         (libc_feupdateenv_test): Remove.
59080         (libc_feupdateenv, libc_feholdsetround): Remove.
59081         (libc_feresetround): Remove.
59083         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
59084         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
59086         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
59087         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
59088         (libc_feupdateenv_testl): New.
59089         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
59090         (libc_feupdateenv_testf): New.
59091         (libc_feupdateenv): Use libc_feupdateenv_test.
59092         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
59093         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
59095         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
59096         (libc_feholdsetroundf, libc_feholdsetroundl): New.
59097         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
59098         (libc_feresetround_noex): New.
59099         (libc_feresetround_noexf): New.
59100         (libc_feresetround_noexl): New.
59101         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
59102         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
59103         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
59104         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
59105         SET_RESTORE_ROUND.
59106         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
59107         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
59108         (__cos): Likewise.
59109         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
59110         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
59111         SET_RESTORE_ROUND_NOEX.
59112         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
59113         SET_RESTORE_ROUND_NOEXF.
59114         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
59115         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
59116         (libc_feholdsetroundf): New.
59117         (libc_feresetround, libc_feresetroundf): New.
59119         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
59120         (libc_feholdexcept_setround_53bit): Convert from macro to function.
59121         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
59123         * sysdeps/generic/math_private.h: Include <fenv.h>.
59124         (default_libc_feholdexcept): New.
59125         (default_libc_feholdexcept_setround): New.
59126         (default_libc_fesetenv, default_libc_feupdateenv): New.
59127         (libc_feholdexcept): Only define if undefined.
59128         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
59129         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
59130         (libc_feholdexcept_setroundl): Likewise.
59131         (libc_feholdexcept_setround_53bit): Likewise.
59132         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
59133         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
59134         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
59135         (libc_feupdateenv_53bit): Likewise.
59136         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
59137         (libc_feholdexcept): Convert from macro to inline function.
59138         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
59139         (libc_fesetenv, libc_feupdateenv): Likewise.
59141         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
59142         not previously defined.
59143         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
59144         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
59145         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
59146         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
59147         * sysdeps/ieee754/flt-32/math_private.h: New file.
59148         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
59149         math_private.h below SET_FLOAT_WORD.
59150         (__isnan, __isinf_ns, __finite): Remove.
59151         (__isnanf, __isinf_nsf, __finitef): Remove.
59153 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
59155         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59157 2012-03-17  David S. Miller  <davem@davemloft.net>
59159         [BZ #6471]
59160         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
59161         for 2.16.
59163 2012-03-16  David S. Miller  <davem@davemloft.net>
59165         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
59166         warnings.
59168         [BZ #6471]
59169         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
59170         properly.
59171         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
59172         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
59173         sysdep_routines when subdir is sysvipc.
59174         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
59175         __getshmlba helper.
59177         * sysdeps/sparc/fpu/libm-test/ulps: Update.
59179 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
59181         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
59182         [__LP64__].
59184 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
59186         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
59187         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
59188         (__lround): Renamed to ...
59189         (__llround): This.  Replace long int with long long int.
59190         Define lround functions as aliases of llround functions.
59191         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
59193 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
59195         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
59196         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
59197         adresses to uintptr_t.  Replace "long int" and "unsigned long
59198         int" with "greg_t" on va_arg.
59200 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
59202         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
59203         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
59205         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
59206         Move e_machine check before EI_CLASS check.  Handle x32
59207         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
59208         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
59209         SKIP_EM_IA_64 and include
59210         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
59212         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
59213         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
59214         (add_system_dir): New macro.
59216         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
59217         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
59219 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
59221         [BZ #2551]
59222         [BZ #2552]
59223         [BZ #2553]
59224         [BZ #2554]
59225         [BZ #2562]
59226         [BZ #2563]
59227         [BZ #2565]
59228         [BZ #2566]
59229         [BZ #2576]
59230         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
59231         (y0): Likewise.
59232         * math/w_j0f.c (j0f): Likewise.
59233         (y0f): Likewise.
59234         * math/w_j0l.c (__j0l): Likewise.
59235         (__y0l): Likewise.
59236         * math/w_j1.c (j1): Likewise.
59237         (y1): Likewise.
59238         * math/w_j1f.c (j1f): Likewise.
59239         (y1f): Likewise.
59240         * math/w_j1l.c (__j1l): Likewise.
59241         (__y1l): Likewise.
59242         * math/w_jn.c (jn): Likewise.
59243         (yn): Likewise.
59244         * math/w_jnf.c (jnf): Likewise.
59245         (ynf): Likewise.
59246         * math/w_jnl.c (__jnl): Likewise.
59247         (__ynl): Likewise.
59248         * math/libm-test.inc (j0_test): Add more tests.
59249         (j1_test): Likewise.
59250         (jn_test): Likewise.  Add trailing semicolon to existing test.
59251         (y0_test): Likewise.
59252         (y1_test): Likewise.
59253         * sysdeps/i386/fpu/libm-test-ulps: Update.
59254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59256         [BZ #13851]
59257         [BZ #13854]
59258         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
59259         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
59260         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
59261         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
59262         (__tanl): Set errno for infinite argument.
59263         * sysdeps/i386/fpu/mptan.c: Remove.
59264         * sysdeps/i386/fpu/s_tan.S: Likewise.
59265         * sysdeps/i386/fpu/s_tanl.S: Likewise.
59266         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
59267         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
59268         * math/libm-test.inc (tan_test): Add more tests and enable more
59269         tests for double and long double.
59270         * sysdeps/i386/fpu/libm-test-ulps: Update.
59271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59273 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
59275         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
59276         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
59278 2012-03-16  Roland McGrath  <roland@hack.frob.com>
59280         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
59281         * configure.in: Use it for both main tree and add-ons.
59282         * configure: Regenerated.
59284 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
59286         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
59288 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
59290         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
59291         in comment.
59293         [BZ #13851]
59294         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
59295         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
59296         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
59297         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
59298         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
59299         infinite argument.
59300         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
59301         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
59302         != 0 for prec == 2.
59303         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
59304         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
59305         * sysdeps/i386/fpu/s_cosl.S: Likewise.
59306         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
59307         * sysdeps/i386/fpu/s_sinl.S: Likewise.
59308         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
59309         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
59310         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
59311         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
59312         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
59313         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
59314         * math/libm-test.inc (cos_test): Add more tests and enable more
59315         tests for long double.
59316         (sin_test): Likewise.
59317         (sincos_test): Likewise.
59318         * sysdeps/i386/fpu/libm-test-ulps: Update.
59319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59321 2012-03-16  David S. Miller  <davem@davemloft.net>
59323         * sysdeps/sparc/fpu/math_private.h: New file.
59325 2012-03-15  David S. Miller  <davem@davemloft.net>
59327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
59328         file.
59329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
59330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
59331         file.
59332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
59333         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
59334         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
59335         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
59336         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
59337         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
59338         sysdep routines.
59339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
59341         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
59342         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
59344         * sysdeps/sparc/sparc-ifunc.h: New file.
59345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
59346         sparc-ifunc.h
59347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
59348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
59349         Likewise.
59350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
59351         Likewise.
59352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
59353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
59354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
59355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
59356         Likewise.
59357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
59358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
59359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
59360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
59361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
59362         Likewise.
59363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
59364         Likewise.
59365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
59366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
59367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
59368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
59369         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
59370         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
59371         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
59372         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
59373         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
59374         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
59375         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
59376         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
59377         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
59378         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
59379         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
59380         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
59381         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
59382         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
59383         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
59384         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
59385         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
59386         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
59387         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
59388         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
59390 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
59392         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
59393         scaling.
59394         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59396 2012-03-15  Andreas Jaeger  <aj@suse.de>
59398         [BZ #13852]
59399         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
59400         ieee754/flt-32 implementation for sin, cos and sincos.
59401         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
59402         * sysdeps/i386/fpu/s_cosf.S: Likewise.
59403         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
59404         * sysdeps/i386/fpu/s_sinf.S: Likewise.
59405         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
59406         ieee754/flt-32 implementation for tan.
59408         * math/libm-test.inc (cos_test): Enable some large input tests for
59409         float as well
59410         (sin_test): Likewise.
59411         (sincos_test): Likewise.
59412         (tan_test): Add tests for large input.
59414         * sysdeps/i386/fpu/libm-test-ulps: Update.
59416 2012-03-15  Andreas Jaeger  <aj@suse.de>
59418         [BZ #13658]
59419         * math/libm-test.inc (cos_test): Add more test cases.
59420         (sin_test): Likewise.
59421         (sincos_test): Likewise.
59423 2012-03-15  Andreas Jaeger  <aj@suse.de>
59425         [BZ #13837]
59426         * math/libm-test.inc (cos_test): Add a test case for large input
59427         value.
59428         (sin_test): Likewise.
59429         (sincos_test): Likewise.
59431 2012-03-15  Andreas Jaeger  <aj@suse.de>
59432             Joseph Myers  <joseph@codesourcery.com>
59434         [BZ #13658]
59435         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
59436         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
59437         * sysdeps/i386/fpu/branred.c: Likewise.
59438         * sysdeps/i386/fpu/dosincos.c: Likewise.
59439         * sysdeps/i386/fpu/mpa.c: Likewise.
59440         * sysdeps/i386/fpu/s_cos.S: Likewise.
59441         * sysdeps/i386/fpu/s_sin.S: Likewise.
59442         * sysdeps/i386/fpu/s_sincos.S: Likewise.
59443         * sysdeps/i386/fpu/sincos32.c: Likewise.
59445         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
59446         Define.
59447         (libc_feupdateenv_53bit): Define.
59448         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
59449         Define.
59450         (libc_feupdateenv_53bit): Define.
59452         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
59453         53 bit (without extend i386 double precision).
59455         * math/libm-test.inc (sincos_test): Add tests for large input.
59456         (sin): Likewise.
59457         (cos): Likewise.
59459         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
59461 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
59463         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59465 2012-03-15  David S. Miller  <davem@davemloft.net>
59467         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
59468         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
59469         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
59470         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
59471         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
59472         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
59473         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
59474         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
59475         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
59476         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
59477         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
59478         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
59479         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
59480         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
59481         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
59482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
59483         file.
59484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
59485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
59486         file.
59487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
59488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
59489         file.
59490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
59491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
59492         file.
59493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
59494         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
59495         fmin/fmax sysdep routines.
59496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
59498 2012-03-14  David S. Miller  <davem@davemloft.net>
59500         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
59501         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
59502         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
59503         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
59504         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
59505         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
59506         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
59507         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
59508         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
59509         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
59510         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
59511         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
59512         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
59513         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
59514         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
59515         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
59516         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
59517         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
59518         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
59519         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
59520         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
59521         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
59522         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
59523         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
59524         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
59525         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
59526         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
59527         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
59528         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
59529         routines.
59530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
59531         file.
59532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
59533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
59534         file.
59535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
59536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
59537         file.
59538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
59539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
59540         file.
59541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
59542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
59543         file.
59544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
59545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
59546         file.
59547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
59548         file.
59549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
59550         file.
59551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
59552         file.
59553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
59554         New file.
59555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
59556         file.
59557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
59558         file.
59559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
59560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
59561         file.
59562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
59563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
59564         file.
59565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
59566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
59567         file.
59568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
59569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
59570         VIS3 routines.
59572         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
59573         New file.
59575         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59577         * sysdeps/sparc/configure.in: New file.
59578         * sysdeps/sparc/configure: Generate.
59579         * configure.in (libc_cv_sparc_as_vis3): Substitute.
59580         * configure: Regenerate.
59581         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
59582         * config.make.in (have-as-vis3): New.
59583         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
59584         available use -Av9d instead of -Av9a.
59585         * sysdeps/sparc/sparc64/Makefile: Likewise.
59586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
59587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
59588         New file.
59589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
59590         file.
59591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
59592         New file.
59593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
59594         file.
59595         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
59596         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
59597         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
59598         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
59599         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
59601         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
59602         fzeros/fnegs to load 0x80000000 into a float register instead of
59603         using the stack.
59604         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
59606 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
59608         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59609         bits/syscall.h.
59610         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
59611         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
59612         ($(inst_includedir)/bits/syscall.h): Remove rule.
59613         ($(objpfx)bits/syscall.d): Include instead of
59614         $(objpfx)syscall-list.d.
59615         (generated): Change syscall-list.h and syscall-list.d to
59616         bits/syscall.h and bits/syscall.d.
59618 2012-03-14  Roland McGrath  <roland@hack.frob.com>
59620         [BZ #13846]
59621         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
59623 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
59625         [BZ #13841]
59626         * math/s_csqrt.c: Include <float.h>.
59627         (__csqrt): Scale large or subnormal inputs.
59628         * math/s_csqrtf.c: Likewise.
59629         * math/s_csqrtl.c: Likewise.
59630         * math/libm-test.inc (csqrt_test): Add more tests.
59631         * sysdeps/i386/fpu/libm-test-ulps: Update.
59632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59634         [BZ #13840]
59635         * math/libm-test.inc (hypot_test): Add more tests.
59637 2012-03-13  David S. Miller  <davem@davemloft.net>
59639         [BZ #13840]
59640         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
59641         double-precision for the calculation instead of scaling.
59643 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
59645         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
59646         manipulate bits before adding and subtracting TWO52[sx].
59647         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
59648         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
59649         Likewise.
59650         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
59652 2012-03-13  David S. Miller  <davem@davemloft.net>
59654         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
59655         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
59656         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
59657         rtld-global-offsets.h
59658         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59660         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
59661         large parameters.
59663         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
59665         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
59666         'err' in the ifdef scope in which it is actually used.
59668         * nss/nss_db/db-init.c: Include string.h
59670 2012-03-12  David S. Miller  <davem@davemloft.net>
59672         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
59673         masking out of the most significant byte of random value used.
59674         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59675         Fix coding style in previous change.
59677         * sysdeps/unix/sysv/linux/kernel-features.h
59678         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
59679         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
59680         expression.
59681         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
59682         later.
59684 2012-03-11  David S. Miller  <davem@davemloft.net>
59686         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
59687         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
59688         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
59689         for 'resultvar' otherwise things get truncated on 64-bit.
59691         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59692         Fix masking out of the most significant byte of random value used.
59694         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59696 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
59698         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59700 2012-03-09  David S. Miller  <davem@davemloft.net>
59702         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
59703         variables with appropriate CPP guards.
59704         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
59705         from the frame pointer, not the stack pointer.  Correct layout
59706         comments.  Fix test on resulting framesize and the management of
59707         the outregs buffer for pltexit.  Preserve floating point return
59708         values across _dl_call_pltexit call.
59709         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
59710         framesize and the management of the outregs buffer for pltexit.
59711         Preserve floating point return values across _dl_call_pltexit
59712         call.
59713         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
59714         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
59715         (la_sparc64_gnu_pltexit): New functions.
59716         (print_exit): Fix format string for return register value.
59718 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
59720         * sunrpc/Makefile (others): Add rpcgen.
59721         ($(objpfx)rpcgen): Remove special build rule and dependency on
59722         libc.
59723         * sunrpc/rpcgen.c: New file.
59725 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
59727         [BZ #13673]
59728         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
59729         * stdio-common/bug-vfprintf-nargs.c: Likewise.
59730         * sysdeps/i386/crti.S: Likewise.
59731         * sysdeps/i386/crtn.S: Likewise.
59732         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
59733         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
59734         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
59735         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
59736         * sysdeps/sh/crti.S: Likewise.
59737         * sysdeps/sh/crtn.S: Likewise.
59738         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
59740         [BZ #13673]
59741         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
59742         with URL.
59743         * locale/programs/locfile-kw.gperf: Likewise.
59744         * locale/programs/charmap-kw.h: Regenerated.
59745         * locale/programs/locfile-kw.h: Likewise.
59747         [BZ #13673]
59748         * intl/plural.y: Replace FSF snail mail address with URL.
59749         * intl/plural.c: Regenerated.
59751 2012-03-09  Richard Henderson  <rth@twiddle.net>
59753         * include/math_private.h: Remove file.
59754         * math/math_private.h: Move file ...
59755         * sysdeps/generic/math_private.h: ... here.
59757         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
59758         * sysdeps/powerpc/fpu/math_private.h: Likewise.
59759         * sysdeps/x86_64/fpu/math_private.h: Likewise.
59761         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
59762         and <math_private.h>.
59763         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
59764         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
59765         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
59766         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
59767         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
59768         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
59769         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
59770         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59771         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
59772         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59773         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59774         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
59775         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
59776         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59777         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
59778         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
59779         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59780         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
59781         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
59782         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
59783         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59784         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
59785         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
59786         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59787         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
59788         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59789         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
59790         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59791         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59792         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
59793         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
59794         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59795         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
59796         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
59797         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
59798         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
59799         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59800         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
59801         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
59802         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59803         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
59804         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
59805         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
59806         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
59807         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
59808         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
59809         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
59810         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
59811         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59812         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
59813         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
59814         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
59815         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
59816         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
59817         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
59818         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
59819         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59820         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
59821         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
59822         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
59823         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59824         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
59825         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59826         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
59827         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
59828         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59829         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59830         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59831         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
59832         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
59833         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
59834         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59835         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
59836         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59837         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
59838         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
59839         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
59840         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
59841         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
59842         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
59843         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
59844         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
59845         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
59846         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
59847         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59848         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
59849         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
59850         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
59851         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
59852         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
59853         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
59854         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
59855         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59856         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
59857         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
59858         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
59859         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59860         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
59861         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59862         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
59863         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
59864         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
59865         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
59866         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
59867         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
59868         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
59869         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
59870         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
59871         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
59872         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59873         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
59874         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
59875         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
59876         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
59877         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
59878         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59879         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
59880         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
59881         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
59882         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
59883         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
59884         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
59885         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59886         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
59887         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
59888         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
59889         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
59890         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
59891         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
59892         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
59893         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
59894         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
59895         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
59896         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
59897         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
59898         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
59899         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
59900         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
59901         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
59902         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
59903         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59904         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
59905         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
59906         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
59907         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
59908         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
59909         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
59910         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
59911         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
59912         * sysdeps/ieee754/k_standard.c: Likewise.
59913         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
59914         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
59915         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
59916         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
59917         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
59918         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
59919         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
59920         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
59921         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
59922         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
59923         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59924         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
59925         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
59926         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
59927         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
59928         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
59929         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
59930         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
59931         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
59932         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
59933         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
59934         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
59935         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
59936         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
59937         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
59938         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
59939         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
59940         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
59941         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
59942         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
59943         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
59944         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
59945         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
59946         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
59947         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
59948         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
59949         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
59950         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
59951         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
59952         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
59953         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
59954         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
59955         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
59956         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
59957         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
59958         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
59959         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
59960         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
59961         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
59962         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
59963         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
59964         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
59965         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
59966         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
59967         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
59968         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
59969         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
59970         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
59971         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
59972         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
59973         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
59974         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
59975         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
59976         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
59977         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59978         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59979         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
59980         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
59981         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
59982         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
59983         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
59984         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59985         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
59986         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
59987         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
59988         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
59989         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
59990         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
59991         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
59992         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
59993         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
59994         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
59995         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
59996         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
59997         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
59998         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
59999         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
60000         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
60001         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
60002         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
60003         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
60004         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
60005         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
60006         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
60007         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
60008         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
60009         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
60010         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
60011         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
60012         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
60013         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
60014         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
60015         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
60016         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
60017         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
60018         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
60019         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
60020         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
60021         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
60022         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
60023         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
60024         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
60025         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
60026         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
60027         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
60028         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60029         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
60030         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
60031         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60032         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
60033         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60034         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
60035         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60036         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
60037         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
60038         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
60039         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
60040         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
60041         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
60042         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
60043         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
60044         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
60045         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
60046         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
60047         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
60048         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
60049         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
60050         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
60051         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
60052         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
60053         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
60054         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
60055         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
60056         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
60057         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
60058         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
60059         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
60060         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
60061         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
60062         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
60063         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
60064         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
60065         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
60066         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
60067         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
60068         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
60069         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
60070         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
60071         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
60072         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
60073         * sysdeps/ieee754/s_lib_version.c: Likewise.
60074         * sysdeps/ieee754/s_matherr.c: Likewise.
60075         * sysdeps/ieee754/s_signgam.c: Likewise.
60076         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
60077         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60078         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
60079         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
60080         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
60081         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
60082         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
60083         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
60084         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
60085         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
60086         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
60087         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
60088         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
60089         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
60090         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
60091         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
60092         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
60093         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
60094         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
60095         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
60096         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
60098 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
60100         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
60101         * sunrpc/rpc_main.c: Likewise.
60102         * sunrpc/rpc_svcout.c: Likewise.
60104 2012-03-09  David S. Miller  <davem@davemloft.net>
60106         * include/math_private.h: New file.
60108 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
60110         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
60111         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
60112         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
60113         from <bits/socket_type.h>.
60114         (enum __socket_type): Don't define here.
60115         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
60116         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60117         bits/socket_type.h.
60119         [BZ #13566]
60120         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
60121         checking __USE_GNU.
60123         * Makerules ($(inst_includedir)/%.h): New rule.
60124         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
60125         (install-others): Remove variable setting.
60126         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
60128 2012-03-08  Richard Henderson  <rth@twiddle.net>
60130         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
60131         from macro to inline function; merge with the
60132         !__LIBC_INTERNAL_MATH_INLINES version.
60133         (__ieee754_sqrtf): Likewise.
60135         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
60136         to inline function.
60137         (__rintf, __floor, __floorf): Likewise.
60139         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
60140         macro to inline function.
60141         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
60143         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
60144         not <math/math_private.h>.
60146 2012-03-08  David S. Miller  <davem@davemloft.net>
60148         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
60149         copyright year.
60150         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
60152 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
60154         * resolv/gai_misc.c (handle_requests): Fix struct timespec
60155         normalization.
60156         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
60157         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
60159 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
60161         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
60162         be defined individually, they must be defined as a block.  Define
60163         S for printing a string instead of hidint the different by using a
60164         macro for adding the 'l'.
60165         * stdio-common/tst-fphex-wide.c: Adjust.
60167 2012-03-07  Marek Polacek  <polacek@redhat.com>
60169         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
60171 2012-03-08  Marek Polacek  <polacek@redhat.com>
60173         [BZ #13806]
60174         * stdio-common/Makefile (tests): Add tst-fphex-wide.
60175         * stdio-common/tst-fphex.c: Define a few macros to make the
60176         test reusable.  Use them.
60177         * stdio-common/tst-fphex-wide.c: New file.
60179 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
60181         [BZ #6911]
60182         * manual/macros.texi (gnusystems): New macro.
60183         (nongnusystems): Likewise.
60184         (gnulinuxhurdsystems): Likewise.
60185         (gnuhurdsystems): Likewise..
60186         (gnulinuxsystems): Likewise.
60187         * manual/charset.texi: Use new macros or @theglibc{} to refer to
60188         variants of the GNU system, not "GNU system".
60189         * manual/conf.texi: Likewise.
60190         * manual/errno.texi: Likewise.  Update example of errno macro
60191         expansion.
60192         * manual/filesys.texi: Likewise.
60193         (getumask): Document as specific to GNU/Hurd.
60194         * manual/install.texi: Likewise.  Reword some references to
60195         GNU/Linux.
60196         * manual/intro.texi: Likewise.
60197         * manual/io.texi: Likewise.
60198         (File Name Portability): Detail which constraints are inapplicable
60199         to all GNU systems and which are only inapplicable to GNU/Hurd.
60200         * manual/job.texi: Likewise.
60201         * manual/llio.texi: Likewise.
60202         (O_NOCTTY): Document as present on GNU/Linux.
60203         * manual/maint.texi: Likewise.
60204         * manual/memory.texi: Likewise.
60205         * manual/pattern.texi: Likewise.
60206         * manual/pipe.texi: Likewise.
60207         * manual/process.texi: Likewise.
60208         * manual/resource.texi: Likewise.
60209         (RUSAGE_CHILDREN): Remove statement about specifying a particular
60210         child on GNU/Hurd.
60211         * manual/setjmp.texi: Likewise.
60212         * manual/signal.texi: Likewise.
60213         * manual/startup.texi: Likewise.
60214         * manual/stdio.texi: Likewise.
60215         * manual/terminal.texi: Likewise.
60216         (ONLCR): Document as POSIX.
60217         (OXTABS): Document availability on GNU/Linux as XTABS.
60218         (ONOEOT): Document availability separately from other bits.
60219         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
60220         * manual/time.texi: Likewise.
60221         * manual/users.texi: Likewise.
60222         * INSTALL: Regenerated.
60223         * sysdeps/gnu/errlist.c: Regenerated.
60225         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
60226         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
60227         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
60228         puts.
60229         * configure: Regenerated.
60231 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
60233         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
60234         default includes instead of AC_HEADER_CHECK.
60235         * sysdeps/i386/configure: Regenerated.
60237         [BZ #10716]
60238         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
60239         * math/s_cacoshf.c (__cacoshf): Likewise.
60240         * math/s_cacoshl.c (__cacoshl): Likewise.
60241         * math/s_casinh.c (__casinh): Set signs of result from argument.
60242         * math/s_casinhf.c (__casinhf): Likewise.
60243         * math/s_casinhl.c (__casinhl): Likewise.
60244         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
60245         (casinh_test): Add more tests.
60246         * sysdeps/i386/fpu/libm-test-ulps: Update.
60247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60249 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
60251         * po/zh_TW.po: Update from translation team.
60253         * login/Makefile (distribute): Remove variable.
60254         * catgets/Makefile: Likewise.
60255         * mach/Makefile: Likewise.
60256         * malloc/Makefile: Likewise.
60257         * misc/Makefile: Likewise.
60258         * iconv/Makefile: Likewise.
60259         * nscd/Makefile: Likewise.
60260         * hurd/Makefile: Likewise.
60261         * manual/Makefile: Likewise.
60262         * locale/Makefile: Likewise.
60263         * intl/Makefile: Likewise.
60264         * conform/Makefile: Likewise.
60265         * nss/Makefile: Likewise.
60266         * time/Makefile: Likewise.
60267         * soft-fp/Makefile: Likewise.
60268         * dirent/Makefile: Likewise.
60269         * gmon/Makefile: Likewise.
60270         * po/Makefile: Likewise.
60271         * rt/Makefile: Likewise.
60272         * socket/Makefile: Likewise.
60273         * math/Makefile: Likewise.
60274         * signal/Makefile: Likewise.
60275         * debug/Makefile: Likewise.
60276         * elf/Makefile: Likewise.
60277         * timezone/Makefile: Likewise.
60278         * stdlib/Makefile: Likewise.
60279         * iconvdata/Makefile: Likewise.
60280         * sunrpc/Makefile: Likewise.
60281         * io/Makefile: Likewise.
60282         * argp/Makefile: Likewise.
60283         * inet/Makefile: Likewise.
60284         * hesiod/Makefile: Likewise.
60285         * grp/Makefile: Likewise.
60286         * csu/Makefile: Likewise.
60287         * wctype/Makefile: Likewise.
60288         * crypt/Makefile: Likewise.
60289         * libio/Makefile: Likewise.
60290         * string/Makefile: Likewise.
60291         * nis/Makefile: Likewise.
60292         * resolv/Makefile: Likewise.
60293         * stdio-common/Makefile: Likewise.
60294         * wcsmbs/Makefile: Likewise.
60295         * dlfcn/Makefile: Likewise.
60296         * posix/Makefile: Likewise.
60298         [BZ #6959]
60299         * timezone/Makefile: Don't install timezone files, just the programs
60300         and scripts.
60302 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
60304         * nss/databases.def: Add missing gshadow entry.
60306         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
60308 2012-03-06  Marek Polacek  <polacek@redhat.com>
60310         [BZ #13726]
60311         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
60312         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
60313         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
60314         * stdio-common/tst-long-dbl-fphex.c: New file.
60316 2012-03-06  David S. Miller  <davem@davemloft.net>
60318         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60319         (set_obp_int): New function.
60320         (get_obp_int): New function.
60321         (__get_clockfreq_via_dev_openprom): Likewise.
60322         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
60323         Avoid unused variable warnings on 'val' and use builtin_expect.
60324         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
60325         __builtin_expect.
60326         (INLINE_CLONE_SYSCALL): Likewise.
60328 2012-03-05  David S. Miller  <davem@davemloft.net>
60330         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60332 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
60334         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60336         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
60337         only for |x| >= 40.
60338         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
60340 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
60342         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
60343         Replace gettimeofday with __vdso_gettimeofday.
60345         * sysdeps/unix/sysv/linux/x86_64/init-first.c
60346         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
60347         __vdso_clock_gettime and __vdso_getcpu.
60349         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
60350         time with __vdso_time.
60352 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
60354         * manual/lang.texi (size_t): Note types to which size_t may be
60355         equivalent with the GNU C Library, but do not describe when
60356         differences between them are significant.
60358 2012-03-05  Andreas Jaeger  <aj@suse.de>
60360         * sysdeps/i386/fpu/libm-test-ulps: Update.
60362 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
60364         [BZ #3976]
60365         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
60366         (__ieee754_pow): Save and restore rounding mode and use
60367         round-to-nearest for main computations.
60368         * math/libm-test.inc (pow_test_tonearest): New function.
60369         (pow_test_towardzero): Likewise.
60370         (pow_test_downward): Likewise.
60371         (pow_test_upward): Likewise.
60372         (main): Call the new functions.
60373         * sysdeps/i386/fpu/libm-test-ulps: Update.
60374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60376         [BZ #3976]
60377         * math/libm-test.inc (cosh_test_tonearest): New function.
60378         (cosh_test_towardzero): Likewise.
60379         (cosh_test_downward): Likewise.
60380         (cosh_test_upward): Likewise.
60381         (sinh_test_tonearest): Likewise.
60382         (sinh_test_towardzero): Likewise.
60383         (sinh_test_downward): Likewise.
60384         (sinh_test_upward): Likewise.
60385         (main): Call the new functions.
60386         * sysdeps/i386/fpu/libm-test-ulps: Update.
60387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60389 2012-03-05  Tom de Vries  <tom@codesourcery.com>
60391         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
60392         default stack guard is set in last bytes.
60393         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
60395 2012-03-05  Kees Cook  <keescook@chromium.org>
60397         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
60399         [BZ #13656]
60400         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
60401         possibly allocate from heap instead of stack.
60402         * stdio-common/bug-vfprintf-nargs.c: New file.
60403         * stdio-common/Makefile (tests): Add nargs overflow test.
60405 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
60407         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60409 2012-03-03  Marek Polacek  <polacek@redhat.com>
60411         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
60412         * math/math_private.h: Likewise.
60413         * stdlib/tst-strtod.c: Likewise.
60414         * sysdeps/i386/i486/bits/atomic.h: Likewise.
60415         * sysdeps/x86_64/bits/atomic.h: Likewise.
60417 2012-03-02  David S. Miller  <davem@davemloft.net>
60419         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
60420         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
60421         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
60422         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
60423         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
60424         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
60425         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
60426         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
60428 2012-03-02  Roland McGrath  <roland@hack.frob.com>
60430         [BZ #13792]
60431         * manual/examples/README: New file, says the example source files
60432         can be used under GPL>=2.
60433         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
60434         line containing just "*/".
60435         * manual/examples/add.c: Add copyright header (GPL>=2).
60436         * manual/examples/argp-ex1.c: Likewise.
60437         * manual/examples/argp-ex2.c: Likewise.
60438         * manual/examples/argp-ex3.c: Likewise.
60439         * manual/examples/argp-ex4.c: Likewise.
60440         * manual/examples/atexit.c: Likewise.
60441         * manual/examples/db.c: Likewise.
60442         * manual/examples/dir.c: Likewise.
60443         * manual/examples/dir2.c: Likewise.
60444         * manual/examples/execinfo.c: Likewise.
60445         * manual/examples/filecli.c: Likewise.
60446         * manual/examples/filesrv.c: Likewise.
60447         * manual/examples/fmtmsgexpl.c: Likewise.
60448         * manual/examples/genpass.c: Likewise.
60449         * manual/examples/inetcli.c: Likewise.
60450         * manual/examples/inetsrv.c: Likewise.
60451         * manual/examples/isockad.c: Likewise.
60452         * manual/examples/longopt.c: Likewise.
60453         * manual/examples/memopen.c: Likewise.
60454         * manual/examples/memstrm.c: Likewise.
60455         * manual/examples/mkfsock.c: Likewise.
60456         * manual/examples/mkisock.c: Likewise.
60457         * manual/examples/mygetpass.c: Likewise.
60458         * manual/examples/pipe.c: Likewise.
60459         * manual/examples/popen.c: Likewise.
60460         * manual/examples/rprintf.c: Likewise.
60461         * manual/examples/search.c: Likewise.
60462         * manual/examples/select.c: Likewise.
60463         * manual/examples/setjmp.c: Likewise.
60464         * manual/examples/sigh1.c: Likewise.
60465         * manual/examples/sigusr.c: Likewise.
60466         * manual/examples/stpcpy.c: Likewise.
60467         * manual/examples/strdupa.c: Likewise.
60468         * manual/examples/strftim.c: Likewise.
60469         * manual/examples/strncat.c: Likewise.
60470         * manual/examples/subopt.c: Likewise.
60471         * manual/examples/swapcontext.c: Likewise.
60472         * manual/examples/termios.c: Likewise.
60473         * manual/examples/testopt.c: Likewise.
60474         * manual/examples/testpass.c: Likewise.
60475         * manual/examples/timeval_subtract.c: Likewise.
60477         [BZ #13792]
60478         * manual/time.texi (Elapsed Time): Move timeval_subtract example
60479         function to ...
60480         * manual/timeval_subtract.c.texi: ... here, new file.
60482 2012-03-02  David S. Miller  <davem@davemloft.net>
60484         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
60486 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
60488         [BZ #3976]
60489         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
60490         (__sin): Save and restore rounding mode and use round-to-nearest
60491         for all computations.
60492         (__cos): Save and restore rounding mode and use round-to-nearest
60493         for all computations.
60494         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
60495         <fenv.h>.
60496         (tan): Save and restore rounding mode and use round-to-nearest for
60497         all computations.
60498         * math/libm-test.inc (cos_test_tonearest): New function.
60499         (cos_test_towardzero): Likewise.
60500         (cos_test_downward): Likewise.
60501         (cos_test_upward): Likewise.
60502         (sin_test_tonearest): Likewise.
60503         (sin_test_towardzero): Likewise.
60504         (sin_test_downward): Likewise.
60505         (sin_test_upward): Likewise.
60506         (tan_test_tonearest): Likewise.
60507         (tan_test_towardzero): Likewise.
60508         (tan_test_downward): Likewise.
60509         (tan_test_upward): Likewise.
60510         (main): Call the new functions.
60511         * sysdeps/i386/fpu/libm-test-ulps: Update.
60512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60514         [BZ #10135]
60515         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
60516         small n, then large n, before computing and testing k+n.
60517         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
60518         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
60519         Likewise.
60520         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
60521         Likewise.
60522         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
60523         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
60524         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
60525         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
60526         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
60527         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
60528         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
60529         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
60530         * math/libm-test.inc (scalbn_test): Add more tests.
60531         (scalbln_test): Likewise.
60533         * manual/filesys.texi (mode_t): Describe constraints on size and
60534         signedness, not exact equivalence to a particular type.
60535         (ino_t): Likewise.
60536         (ino64_t): Likewise.
60537         (dev_t): Likewise.
60538         (nlink_t): Likewise.
60539         (blkcnt_t): Likewise.
60540         (blkcnt64_t): Likewise.
60541         * manual/llio.texi (off_t): Likewise.
60543         [BZ #3976]
60544         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
60545         (__ieee754_exp): Save and restore rounding mode and use
60546         round-to-nearest for all computations.
60547         * math/libm-test.inc (exp_test_tonearest): New function.
60548         (exp_test_towardzero): Likewise.
60549         (exp_test_downward): Likewise.
60550         (exp_test_upward): Likewise.
60551         (main): Call the new functions.
60552         * sysdeps/i386/fpu/libm-test-ulps: Update.
60553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60555 2012-03-01  Chris Demetriou  <cgd@google.com>
60557         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
60558         have predictable order.
60560 2012-03-01  David S. Miller  <davem@davemloft.net>
60562         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
60564         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
60565         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
60566         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
60567         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
60569         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
60570         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
60571         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
60572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
60573         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
60574         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
60575         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
60576         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
60577         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
60579         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60581         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
60582         * sysdeps/sparc/fpu/libm-test-ulps: to here.
60583         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
60585         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
60586         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
60587         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
60588         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
60589         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
60590         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
60591         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
60592         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
60593         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
60594         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
60595         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
60596         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
60597         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
60598         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
60599         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
60600         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60601         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
60602         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
60603         * sysdeps/sparc/elf/configure: Regenerated.
60605 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
60607         * configure.in (AS, LD): Require binutils 2.20 or later.
60608         * configure: Regenerated.
60609         * manual/install.texi (Tools for Compilation): Give binutils 2.20
60610         as required minimum version.
60611         * INSTALL: Regenerated.
60613         [BZ #2541]
60614         [BZ #4108]
60615         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
60616         before squaring exponent.
60617         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
60618         bottom long double and 27 bits of top long double before squaring
60619         exponent.
60620         * math/libm-test.inc (erfc_test): Add more tests.
60621         * sysdeps/i386/fpu/libm-test-ulps: Update.
60622         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60625 2012-03-01  Kai Tietz  <ktietz@redhat.com>
60627         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
60628         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
60629         containing bit-fields.
60630         * soft-fp/extended.h (_FP_UNION_E): Likewise.
60631         * soft-fp/single.h (_FP_UNION_S): Likewise.
60632         * soft-fp/double.h (_FP_UNION_D): Likewise.
60634 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
60636         [BZ #13786]
60637         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
60638         not include ../strcmp.S.
60639         [USE_AS_STRNCASECMP_L]: Likewise.
60640         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
60641         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
60642         * sysdeps/i386/i686/multiarch/strncase_l-c.c
60643         (__strncasecmp_l_ia32): Define as alias to
60644         __strncasecmp_l_nonascii.
60646         [BZ #5794]
60647         * math/libm-test.inc (expm1_test): Add test for bug 5794.
60648         * sysdeps/i386/fpu/libm-test-ulps: Update.
60649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60651         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
60652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60654 2012-02-29  Jeff Law  <law@redhat.com>
60656         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
60657         out of bounds read.
60659 2012-02-29  Marek Polacek  <polacek@redhat.com>
60661         [BZ #13706]
60662         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
60663         * elf/Makefile: Add rules to run tst-unused-dep.out.
60665 2012-02-28  David S. Miller  <davem@davemloft.net>
60667         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
60668         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
60669         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
60670         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
60671         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
60672         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
60674 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
60676         * math/libm-test.inc (llround_test): Move one test from
60677         lround_test.  Use TEST_f_L in moved test.
60678         (lround_test): Move misplaced test to llround_test.  Add testcase
60679         from bug 2561.
60681 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
60683         * sysdeps/x86_64/fpu/e_expf.S: New file.
60684         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
60686 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
60688         [BZ #13637]
60689         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
60690         of remain_len that may cause incomplete multi-byte character and
60691         false match.
60692         * posix/bug-regex33.c: New file.
60693         * posix/Makefile (tests): Add bug-regex33.
60695 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
60697         * manual/macros.texi: New file.
60698         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
60699         * manual/libc.texinfo: Include macros.texi.
60700         * manual/creatute.texi: Likewise.
60701         * manual/install.texi: Likewise.
60702         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
60703         @glibcadj{} in references to the GNU C Library.
60704         * manual/charset.texi: Likewise.
60705         * manual/conf.texi: Likewise.
60706         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
60707         when not using those macros.
60708         * manual/creature.texi: Likewise.
60709         * manual/crypt.texi: Likewise.
60710         * manual/errno.texi: Likewise.
60711         * manual/filesys.texi: Likewise.
60712         * manual/header.texi: Likewise.
60713         * manual/install.texi: Likewise.
60714         * manual/intro.texi: Likewise.
60715         * manual/io.texi: Likewise.
60716         * manual/job.texi: Likewise.
60717         * manual/lang.texi: Likewise.
60718         * manual/libc.texiinfo: Likewise.
60719         * manual/llio.texi: Likewise.
60720         * manual/locale.texi: Likewise.
60721         * manual/maint.texi: Likewise.
60722         * manual/math.texi: Likewise.
60723         * manual/memory.texi: Likewise.
60724         * manual/message.texi: Likewise.
60725         * manual/nss.texi: Likewise.
60726         * manual/pattern.texi: Likewise.
60727         * manual/process.texi: Likewise.
60728         * manual/resource.texi: Likewise.
60729         * manual/search.texi: Likewise.
60730         * manual/setjmp.texi: Likewise.
60731         * manual/signal.texi: Likewise.
60732         * manual/socket.texi: Likewise.
60733         * manual/startup.texi: Likewise.
60734         * manual/stdio.texi: Likewise.
60735         * manual/string.texi: Likewise.
60736         * manual/sysinfo.texi: Likewise.
60737         * manual/syslog.texi: Likewise.
60738         * manual/terminal.texi: Likewise.
60739         * manual/time.texi: Likewise.
60740         * manual/users.texi: Likewise.
60741         * INSTALL: Regenerated.
60742         * NOTES: Regenerated.
60743         * sysdeps/gnu/errlist.c: Regenerated.
60745 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
60747         * include/dirent.h: Include <dirstream.h> before
60748         <dirent/dirent.h>.
60750 2012-02-28  David S. Miller  <davem@davemloft.net>
60752         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
60753         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
60754         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
60755         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
60757 2012-02-27  David S. Miller  <davem@davemloft.net>
60759         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
60760         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
60761         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
60762         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
60764         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
60765         frame pointer instead of stack pointer relative arg slot.
60766         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
60767         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
60768         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
60770 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
60772         [BZ #3992]
60773         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
60775 2012-02-27  David S. Miller  <davem@davemloft.net>
60777         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
60778         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
60779         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
60780         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
60781         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
60782         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
60783         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
60784         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
60786 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
60788         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
60789         later.  Allow versions 5-9.
60790         * configure: Regenerated.
60791         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
60792         required minimum version and 4.6 as recommended version.  Do not
60793         mention bugs in GCC 2.7 and 2.8.
60794         * INSTALL: Regenerated.
60796 2012-02-27  David S. Miller  <davem@davemloft.net>
60798         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
60799         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
60800         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
60801         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
60802         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
60803         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
60804         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
60805         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
60807         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
60808         manipulate bits before adding and subtracting TWO112[sx].
60809         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
60811 2012-02-27  Roland McGrath  <roland@hack.frob.com>
60813         [BZ #13775]
60814         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
60815         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
60816         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
60817         being in POSIX, because they are in 1003.1-2008.
60819         * rt/tst-aio.c: Include <fcntl.h>.
60820         * rt/tst-aio7.c: Likewise.
60821         * rt/tst-aio64.c: Likewise.
60823         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
60825 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
60827         * manual/install.texi (--with-headers): Describe headers as
60828         interface headers, not private headers.
60829         (Specific advice for GNU/Linux systems): Describe use of headers
60830         from "make headers_install", not private headers from older
60831         kernels.
60832         * INSTALL: Regenerated.
60833         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
60834         Change to 2.6.19.
60835         * sysdeps/unix/sysv/linux/configure: Regenerated.
60837         * manual/llio.texi (fclean): Remove documentation.
60839         * manual/Makefile (libc-texi-generated): New variable.  Include
60840         version.texi.
60841         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
60842         $(libc-texi-generated), not duplicated list of files.
60843         (version.texi, stamp-version): New rules.
60844         (realclean): Remove $(libc-texi-generated), not individual files
60845         from that list.  Do not remove dir-add.texinfo.
60846         * manual/libc.texinfo: Comment out uses of edition numbers and
60847         references to printed manual.  Remove last-updated dates.
60848         (EDITION): Comment out.
60849         (ISBN): Likewise.
60850         (VERSION, UPDATED): Remove.
60851         (version.texi): Include.
60853 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
60855         * sysdeps/posix/spawni.c: Include <signal.h>.
60856         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
60857         * sysdeps/pthread/aio_fsync.c: Likewise.
60859 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
60861         * conform/Makefile (tests): Run only when not cross-compiling and
60862         when fast-check is not defined.
60864         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
60865         * conform/data/limits.h-data: Fixes for POSIX2008.
60866         * conform/run-conformtest.sh: Run all tests.
60867         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
60868         headers.
60869         * include/bits/dlfcn.h: Likewise.
60870         * include/langinfo.h: Likewise.
60871         * include/monetary.h: Likewise.
60872         * include/sys/poll.h: Likewise.
60874         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
60875         for __USE_GNU.
60876         * posix/spawn.h: Define __need_sigset_t.
60877         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
60878         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
60879         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
60880         to get sigevent_t only.
60881         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
60882         only for __USE_GNU.
60883         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60884         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
60885         process_vm_writev only for __USE_GNU.
60886         * termios/termios.h: Declare tcgetsid also for POSIX2008.
60888         * conform/Makefile: For now ignore errors from run-conformtest.
60889         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
60890         POSIX to avoid namespace pollution.  Don't prepend headers.
60891         * conform/data/aio.h-data: Fixes for POSIX testing.
60892         * conform/data/fcntl.h-data: Likewise.
60893         * conform/data/glob.h-data: Likewise.
60894         * conform/data/grp.h-data: Likewise.
60895         * conform/data/pthread.h-data: Likewise.
60896         * conform/data/pwd.h-data: Likewise.
60897         * conform/data/signal.h-data: Likewise.
60898         * conform/data/spawn.h-data: Likewise.
60899         * conform/data/stdio.h-data: Likewise.
60900         * conform/data/stdlib.h-data: Likewise.
60901         * conform/data/stropts.h-data: Likewise.
60902         * conform/data/sys/mman.h-data: Likewise.
60903         * conform/data/sys/stat.h-data: Likewise.
60904         * conform/data/sys/types.h-data: Likewise.
60905         * conform/data/sys/wait.h-data: Likewise.
60906         * conform/data/time.h-data: Likewise.
60907         * conform/data/unistd.h-data: Likewise.
60908         * conform/data/utime.h-data: Likewise.
60910         * io/sys/stat.h: fchmod was always in POSIX.
60911         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
60912         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
60913         * rt/aio.h: Define __need_timespec before including <time.h>.
60914         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
60915         struct.  Add forward declaration of pthread_attr_t and use it in
60916         sigevent.
60917         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
60918         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60919         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
60920         always remove CLK_TCK definition.
60922 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
60924         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
60926 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
60928         * conform/run-conformtest.sh: New file.
60929         * conform/Makefile: Run run-conformtest for tests.
60930         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
60931         support.
60933         * conform/data/uchar.h-data: New file.
60934         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
60935         * conform/data/arpa/inet.h-data: Likewise.
60936         * conform/data/assert.h-data: Likewise.
60937         * conform/data/complex.h-data: Likewise.
60938         * conform/data/cpio.h-data: Likewise.
60939         * conform/data/ctype.h-data: Likewise.
60940         * conform/data/dirent.h-data: Likewise.
60941         * conform/data/dlfcn.h-data: Likewise.
60942         * conform/data/errno.h-data: Likewise.
60943         * conform/data/fcntl.h-data: Likewise.
60944         * conform/data/float.h-data: Likewise.
60945         * conform/data/fmtmsg.h-data: Likewise.
60946         * conform/data/fnmatch.h-data: Likewise.
60947         * conform/data/ftw.h-data: Likewise.
60948         * conform/data/glob.h-data: Likewise.
60949         * conform/data/grp.h-data: Likewise.
60950         * conform/data/iconv.h-data: Likewise.
60951         * conform/data/inttypes.h-data: Likewise.
60952         * conform/data/langinfo.h-data: Likewise.
60953         * conform/data/libgen.h-data: Likewise.
60954         * conform/data/limits.h-data: Likewise.
60955         * conform/data/locale.h-data: Likewise.
60956         * conform/data/math.h-data: Likewise.
60957         * conform/data/monetary.h-data: Likewise.
60958         * conform/data/mqueue.h-data: Likewise.
60959         * conform/data/ndbm.h-data: Likewise.
60960         * conform/data/net/if.h-data: Likewise.
60961         * conform/data/netdb.h-data: Likewise.
60962         * conform/data/netinet/in.h-data: Likewise.
60963         * conform/data/nl_types.h-data: Likewise.
60964         * conform/data/poll.h-data: Likewise.
60965         * conform/data/pthread.h-data: Likewise.
60966         * conform/data/pwd.h-data: Likewise.
60967         * conform/data/regex.h-data: Likewise.
60968         * conform/data/sched.h-data: Likewise.
60969         * conform/data/search.h-data: Likewise.
60970         * conform/data/semaphore.h-data: Likewise.
60971         * conform/data/setjmp.h-data: Likewise.
60972         * conform/data/signal.h-data: Likewise.
60973         * conform/data/spawn.h-data: Likewise.
60974         * conform/data/stdarg.h-data: Likewise.
60975         * conform/data/stdio.h-data: Likewise.
60976         * conform/data/stdlib.h-data: Likewise.
60977         * conform/data/string.h-data: Likewise.
60978         * conform/data/strings.h-data: Likewise.
60979         * conform/data/stropts.h-data: Likewise.
60980         * conform/data/sys/ipc.h-data: Likewise.
60981         * conform/data/sys/mman.h-data: Likewise.
60982         * conform/data/sys/msg.h-data: Likewise.
60983         * conform/data/sys/resource.h-data: Likewise.
60984         * conform/data/sys/select.h-data: Likewise.
60985         * conform/data/sys/sem.h-data: Likewise.
60986         * conform/data/sys/shm.h-data: Likewise.
60987         * conform/data/sys/socket.h-data: Likewise.
60988         * conform/data/sys/stat.h-data: Likewise.
60989         * conform/data/sys/statvfs.h-data: Likewise.
60990         * conform/data/sys/time.h-data: Likewise.
60991         * conform/data/sys/timeb.h-data: Likewise.
60992         * conform/data/sys/times.h-data: Likewise.
60993         * conform/data/sys/types.h-data: Likewise.
60994         * conform/data/sys/uio.h-data: Likewise.
60995         * conform/data/sys/un.h-data: Likewise.
60996         * conform/data/sys/utsname.h-data: Likewise.
60997         * conform/data/sys/wait.h-data: Likewise.
60998         * conform/data/syslog.h-data: Likewise.
60999         * conform/data/tar.h-data: Likewise.
61000         * conform/data/termios.h-data: Likewise.
61001         * conform/data/utime.h-data: Likewise.
61002         * conform/data/utmpx.h-data: Likewise.
61003         * conform/data/varargs.h-data: Likewise.
61004         * conform/data/wchar.h-data: Likewise.
61005         * conform/data/wctype.h-data: Likewise.
61006         * conform/data/wordexp.h-data: Likewise.
61008         * include/stropts.h: New file.
61009         * include/uchar.h: New file.
61010         * include/aio.h: Changes to allow conformtest.pl to use the headers.
61011         * include/assert.h: Likewise.
61012         * include/ctype.h: Likewise.
61013         * include/dirent.h: Likewise.
61014         * include/dlfcn.h: Likewise.
61015         * include/fcntl.h: Likewise.
61016         * include/fnmatch.h: Likewise.
61017         * include/glob.h: Likewise.
61018         * include/grp.h: Likewise.
61019         * include/libio.h: Likewise.
61020         * include/locale.h: Likewise.
61021         * include/math.h: Likewise.
61022         * include/net/if.h: Likewise.
61023         * include/netdb.h: Likewise.
61024         * include/netinet/in.h: Likewise.
61025         * include/pthread.h: Likewise.
61026         * include/pwd.h: Likewise.
61027         * include/regex.h: Likewise.
61028         * include/sched.h: Likewise.
61029         * include/search.h: Likewise.
61030         * include/setjmp.h: Likewise.
61031         * include/signal.h: Likewise.
61032         * include/stdio.h: Likewise.
61033         * include/stdlib.h: Likewise.
61034         * include/string.h: Likewise.
61035         * include/sys/cdefs.h: Likewise.
61036         * include/sys/mman.h: Likewise.
61037         * include/sys/msg.h: Likewise.
61038         * include/sys/resource.h: Likewise.
61039         * include/sys/select.h: Likewise.
61040         * include/sys/socket.h: Likewise.
61041         * include/sys/stat.h: Likewise.
61042         * include/sys/statvfs.h: Likewise.
61043         * include/sys/time.h: Likewise.
61044         * include/sys/times.h: Likewise.
61045         * include/sys/uio.h: Likewise.
61046         * include/sys/utsname.h: Likewise.
61047         * include/sys/wait.h: Likewise.
61048         * include/termios.h: Likewise.
61049         * include/time.h: Likewise.
61050         * include/ulimit.h: Likewise.
61051         * include/unistd.h: Likewise.
61052         * include/utime.h: Likewise.
61053         * include/wchar.h: Likewise.
61054         * include/wctype.h: Likewise.
61055         * include/wordexp.h: Likewise.
61057         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
61059         * time/time.h: TIME_UTC must be a macro.
61060         Make timespec_get available for ISO C11 only as well.
61062 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
61064         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
61065         Reported by Peng Haitao <penght@cn.fujitsu.com>.
61067 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
61069         * configure.in: Use -o not -a in test for unsupported multi-arch.
61071 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
61073         * manual/texinfo.tex: Update to version 2012-01-19.16.
61075 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
61077         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
61079 2012-02-24  Roland McGrath  <roland@hack.frob.com>
61081         [BZ #13738]
61082         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
61083         * manual/fdl-1.3.texi: New file.
61084         * manual/fdl-1.1.texi: File removed.
61086         [BZ #13738]
61087         * manual/libc.texinfo (FDL_VERSION): New @set.
61088         Use it for mention of FDL in cover text.
61089         (Documentation License): Use it in @include file name.
61091 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
61092             Roland McGrath  <roland@hack.frob.com>
61094         [BZ #5461]
61095         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
61096         (not LONG_LONG_MAX and LONG_LONG_MIN.
61097         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
61098         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
61099         name.
61100         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
61102 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
61104         [BZ #2547]
61105         [BZ #11365]
61106         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
61107         manipulate bits before adding and subtracting TWO23[sx].
61108         * math/libm-test.inc (nearbyint_test): Add more tests.
61110 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
61112         [BZ #2548]
61113         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
61114         bits before adding and subtracting TWO23[sx].
61115         * math/libm-test.inc (rint_test): Add more tests.
61116         (rint_test_tonearest): Likewise.
61117         (rint_test_towardzero): Likewise.
61118         (rint_test_downward): Likewise.
61119         (rint_test_upward: Likewise.
61121 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
61123         [BZ #10110]
61124         * include/stdc-predef.h: New file.  Extracted from features.h.
61125         * include/features.h: Include stdc-predef.h.
61126         * Makefile (headers): Add stdc-predef.h.
61127         * CONFORMANCE (Compiler limitations): Update.
61129 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
61131         * manual/libc.texinfo (VERSION, UPDATED): Revert.
61133 2012-02-21  David S. Miller  <davem@davemloft.net>
61135         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
61136         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
61138 2012-02-20  David S. Miller  <davem@davemloft.net>
61140         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
61141         using a normal save/restore sequence, rather than allocating a
61142         dummy stack frame just to store a frame pointer and restore.
61143         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
61145 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
61147         * manual/install.texi: Fix stray word in line-wrapped comment.
61149 2012-02-20  David S. Miller  <davem@davemloft.net>
61151         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
61152         both binutils and gcc support GOTDATA.
61154         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
61155         "rd %pc" in the PIC register setup sequences.
61157         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
61158         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
61159         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
61160         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
61161         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
61162         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
61163         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61164         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
61165         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
61166         (SYSCALL_ERROR_HANDLER): Likewise.
61167         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
61168         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
61169         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
61170         (SYSCALL_ERROR_HANDLER): Likewise.
61172         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
61173         (HAVE_GCC_GOTDATA): New.
61174         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
61175         relocation support in both binutils and gcc.
61176         * sysdeps/sparc/elf/configure: Regenerate.
61178         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
61179         * sysdeps/sparc/sparc32/elf/configure: Delete.
61180         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
61181         * sysdeps/sparc/sparc64/elf/configure: Delete.
61182         * sysdeps/sparc/elf/configure.in: New file.
61183         * sysdeps/sparc/elf/configure: Generate.
61185         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
61186         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
61187         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
61188         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
61189         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
61191 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
61193         * manual/install.texi: Do not mention specific glibc version
61194         numbers.
61195         * manual/libc.texinfo (VERSION, UPDATED): Update.
61196         (@copying): Use @copyright{} and range of years.
61198 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
61200         [BZ #13695]
61201         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
61202         [crti.S not in sysdirs] (generated): Do not append.
61203         [crti.S not in sysdirs] (omit-deps): Likewise.
61204         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
61205         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
61206         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
61207         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
61208         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
61209         Likewise.
61210         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
61211         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
61212         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
61213         * csu/defs.awk: Remove file.
61214         * sysdeps/generic/initfini.c: Likewise.
61215         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
61216         variable.
61217         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
61218         Likewise.
61220 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
61222         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
61223         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
61224         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
61225         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
61226         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
61227         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
61228         <bits/epoll.h>.
61229         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
61230         (__EPOLL_PACKED): Define to empty if not defined by
61231         <bits/epoll.h>.
61232         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
61233         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61234         bits/epoll.h.
61236 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
61238         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
61239         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
61240         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
61241         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
61242         <bits/timerfd.h>.
61243         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
61244         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61245         bits/timerfd.h.
61247 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
61249         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
61250         in C locale.
61251         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61252         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
61253         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
61254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61256 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
61258         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61259         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
61261 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
61263         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
61264         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
61265         defined.
61266         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
61267         Likewise.
61268         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
61269         entry for 2.16.
61271 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
61273         * math/w_acos.c: Use non-signaling floating-point comparisons.
61274         * math/w_acosf.c: Likewise.
61275         * math/w_acosh.c: Likewise.
61276         * math/w_acoshf.c: Likewise.
61277         * math/w_acoshl.c: Likewise.
61278         * math/w_acosl.c: Likewise.
61279         * math/w_asin.c: Likewise.
61280         * math/w_asinf.c: Likewise.
61281         * math/w_asinl.c: Likewise.
61282         * math/w_atanh.c: Likewise.
61283         * math/w_atanhf.c: Likewise.
61284         * math/w_atanhl.c: Likewise.
61285         * math/w_exp2.c: Likewise.
61286         * math/w_exp2f.c: Likewise.
61287         * math/w_exp2l.c: Likewise.
61288         * math/w_j0.c: Likewise.
61289         * math/w_j0f.c: Likewise.
61290         * math/w_j0l.c: Likewise.
61291         * math/w_j1.c: Likewise.
61292         * math/w_j1f.c: Likewise.
61293         * math/w_j1l.c: Likewise.
61294         * math/w_jn.c: Likewise.
61295         * math/w_jnf.c: Likewise.
61296         * math/w_log.c: Likewise.
61297         * math/w_log10.c: Likewise.
61298         * math/w_log10f.c: Likewise.
61299         * math/w_log10l.c: Likewise.
61300         * math/w_log2.c: Likewise.
61301         * math/w_log2f.c: Likewise.
61302         * math/w_log2l.c: Likewise.
61303         * math/w_logf.c: Likewise.
61304         * math/w_logl.c: Likewise.
61305         * math/w_sqrt.c: Likewise.
61306         * math/w_sqrtf.c: Likewise.
61307         * math/w_sqrtl.c: Likewise.
61308         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
61309         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
61310         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
61311         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
61312         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
61314 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
61316         [BZ #9739]
61317         * manual/string.texi (strnlen): Use correct parameter name in
61318         equivalent expression.
61320 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
61322         [BZ #11174]
61323         * manual/users.texi (seteuid): Consistently use neweuid for
61324         argument name.
61326 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
61328         [BZ #13704]
61329         * manual/nss.texi (Services in the NSS configuration): Correct
61330         list of services in example configuration file.
61332 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
61334         [BZ #11322]
61335         * manual/arith.texi: Remove statements about negative zero
61336         behaving identically to zero.
61338 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
61340         [BZ #5993]
61341         * manual/install.texi: Do not document upgrading from libc5.
61343 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
61345         [BZ #4596]
61346         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
61348 2012-02-18  David S. Miller  <davem@davemloft.net>
61350         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
61351         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
61352         %o7 across the call.
61353         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
61354         instead.
61355         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
61356         SETUP_PIC_REG_LEAF.
61357         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61358         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
61359         * sysdeps/sparc/crtn.S: Likewise.
61361 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
61363         * aout/Makefile: Remove.
61365 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
61367         [BZ #13058]
61368         * manual/examples/argp-ex1.c (main): Format definition in GNU
61369         style.
61370         * manual/examples/argp-ex2.c (main): Likewise.
61371         * manual/examples/argp-ex3.c (main): Likewise.
61372         * manual/examples/argp-ex4.c (main): Likewise.
61373         * manual/examples/longopt.c (main): Use new-style prototype
61374         definition.
61375         * manual/examples/strncat.c (main): Specify return type and use
61376         (void) for arguments.
61377         * manual/examples/subopt.c (main): Use char **argv argument.
61379 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
61381         [BZ #5077]
61382         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
61383         rounding modes.
61385 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
61387         [BZ #6907]
61388         * manual/string.texi (strchr): Change when strchrnul is
61389         recommended.
61391 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
61393         [BZ #174]
61394         * manual/locale.texi (setlocale): Document LOCPATH.
61396 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
61398         [BZ #10210]
61399         * manual/process.texi (execle): Move @dots{} before last argument.
61401 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
61403         [BZ #12047]
61404         * manual/charset.texi (Generic Charset Conversion): Fix typo
61405         (LC_TYPE -> LC_CTYPE).
61407 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
61409         [BZ #5805]
61410         * manual/arith.texi (scalbn): Use @var{} on parameter names.
61411         (scalbnf): Likewise.
61412         (scalbnl): Likewise.
61413         (scalbln): Likewise.
61414         (scalblnf): Likewise.
61415         (scalblnl): Likewise.
61416         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
61417         (vwarnx): Likewise.
61418         (verr): Likewise.
61419         (verrx): Likewise.
61420         * manual/filesys.texi (telldir): Use braces around return type.
61421         * manual/llio.texi (mmap): Add space after comma.
61422         (mmap64): Likewise.
61423         * manual/math.texi (jn): Use @var{} on parameter names.
61424         (jnf): Likewise.
61425         (jnl): Likewise.
61426         (yn): Likewise.
61427         (ynf): Likewise.
61428         (ynl): Likewise.
61429         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
61430         line.
61431         * manual/resource.texi (ulimit): Use @dots{} instead of literal
61432         "...".
61433         (sched_get_priority_min): Remove semicolon on @deftypefun line.
61434         (sched_get_priority_max): Likewise.
61435         * manual/signal.texi (sigvec): Add space after comma.
61436         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
61437         names.
61438         (if_indextoname): Likewise.
61439         (if_freenameindex): Likewise.
61440         (sendto): Use ',' instead of '.' in prototype.
61441         * manual/startup.texi (syscall): Use @dots{} instead of literal
61442         "...".
61443         * manual/stdio.texi (__fpending): Separate initial words of
61444         paragraph from @deftypefun line.
61445         * manual/syslog.texi (syslog): Use @dots{} instead of literal
61446         "...".
61447         (vsyslog): Use @var{} on parameter names.
61448         * manual/terminal.texi (stty): Use @var{} on parameter names.
61449         * manual/users.texi (getutmp): Use @var{} on parameter names.
61450         (getutmpx): Likewise.
61452 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
61454         [BZ #6884]
61455         * manual/stdio.texi (fopen): Fix typos in description of
61456         ",ccs=STRING".
61458 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
61460         [BZ #4026]
61461         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
61462         get clock_id definition.
61464 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
61466         [BZ #4822]
61467         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
61468         (madvise): Cast every argument to void on its own.
61470 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
61472         [BZ #9902]
61473         * manual/startup.texi (Exit Status): Fix typo.
61475 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
61477         [BZ #10140]
61478         * manual/examples/argp-ex1.c: Include <stdlib.h>.
61479         * manual/examples/argp-ex2.c: Likewise.
61480         * manual/examples/argp-ex3.c: Likewise.
61482 2012-02-16  Richard Henderson  <rth@redhat.com>
61484         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
61485         * sysdeps/s390/s390-32/initfini.c: Remove.
61486         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
61487         * sysdeps/s390/s390-64/initfini.c: Remove.
61489 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61491         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
61492         compiler output for sysdeps/generic/initfini.c.
61493         * sysdeps/sh/elf/initfini.c: Remove file.
61495 2012-02-16  David S. Miller  <davem@davemloft.net>
61497         [BZ #11494]
61498         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
61500         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
61501         * sysdeps/sparc/crti.S: New file.
61502         * sysdeps/sparc/crtn.S: New file.
61503         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
61504         * sysdeps/sparc/sparc64/Makefile: Likewise.
61506 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
61508         [BZ #3335]
61509         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
61511 2012-02-15  Roland McGrath  <roland@hack.frob.com>
61513         [BZ #4822]
61514         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
61516         * mach/devstream.c (cookie_io_functions_t): Macro removed.
61517         (write, read, close): Likewise.
61518         Patch by Aurelien Jarno <aurelien@aurel32.net>.
61520 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
61522         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
61523         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
61524         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
61525         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
61526         <bits/signalfd.h>.
61527         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
61528         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61529         bits/signalfd.h.
61531 2012-02-14  Marek Polacek  <polacek@redhat.com>
61533         * sysdeps/x86_64/crti.S: New file.
61534         * sysdeps/x86_64/crtn.S: New file.
61535         * sysdeps/x86_64/elf/initfini.c: Remove file.
61537 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
61539         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
61540         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
61541         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
61542         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
61543         <bits/inotify.h>.
61544         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
61545         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61546         bits/inotify.h.
61548 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
61550         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
61551         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
61552         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
61553         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
61554         <bits/eventfd.h>.
61555         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
61556         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61557         bits/eventfd.h.
61559 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
61561         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
61562         __feraiseexcept instead of feraiseexcept.
61564         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
61565         nanosleep invocations.
61566         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
61567         strings, and add error checking for a nanosleep invocations.
61569 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
61571         Replace FSF snail mail address with URLs, as per GNU coding standards.
61572         Most of the snail mail addresses were wrong anyway, and omitting
61573         them makes the source code easier to maintain.  Almost all of the
61574         changes are to license notices and to locale LC_IDENTIFICATION
61575         addresses, except for this one:
61576         * manual/libc.texinfo: In "Published by", give the FSF's URL,
61577         not its snail mail address.
61579 2012-02-09  Richard Henderson  <rth@twiddle.net>
61581         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
61582         of kernel-features.h.
61584         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
61586 2012-02-08  Marek Polacek  <polacek@redhat.com>
61588         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
61589         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
61590         * sysdeps/gnu/_G_config.h: Likewise.
61591         * sysdeps/generic/_G_config.h: Likewise.
61593 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
61595         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
61596         tests.
61597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61599         * sysdeps/powerpc/powerpc32/crti.S: New file.
61600         * sysdeps/powerpc/powerpc32/crtn.S: New file.
61601         * sysdeps/powerpc/powerpc64/crti.S: New file.
61602         * sysdeps/powerpc/powerpc64/crtn.S: New file.
61604         * Makeconfig (have-initfini): Don't set.
61605         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
61606         * configure.in (nopic_initfini): Don't substitute.
61607         * config.h.in (HAVE_INITFINI): Don't #undef.
61608         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
61609         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
61611 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
61613         Support crti.S and crtn.S provided directly by architectures.
61614         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
61615         [crti.S in sysdirs] (omit-deps): Likewise.
61616         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
61617         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
61618         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
61619         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
61620         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
61621         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
61622         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
61623         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
61624         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
61625         compiler output for sysdeps/generic/initfini.c.
61626         * sysdeps/i386/elf/Makefile: Remove file.
61627         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
61629 2012-02-07  Marek Polacek  <polacek@redhat.com>
61631         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
61632         * sysdeps/gnu/_G_config.h: Likewise.
61633         * sysdeps/mach/hurd/_G_config.h: Likewise.
61635 2012-02-07  Marek Polacek  <polacek@redhat.com>
61637         * math/Makefile (tests): Add tst-CMPLX2.
61638         * math/tst-CMPLX2.c: New file.
61640 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
61642         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61644         * math/libm-test.inc (jn_test): Add missing L suffix.
61646 2012-02-06  Marek Polacek  <polacek@redhat.com>
61648         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
61649         * sysdeps/i386/fpu/e_powf.S: Likewise.
61650         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
61651         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
61652         * sysdeps/i386/fpu/e_acosh.S: Likewise.
61653         * sysdeps/i386/fpu/e_pow.S: Likewise.
61654         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
61655         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
61656         * sysdeps/i386/fpu/s_expm1.S: Likewise.
61657         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
61658         * sysdeps/i386/fpu/e_log2.S: Likewise.
61659         * sysdeps/i386/fpu/e_log2l.S: Likewise.
61660         * sysdeps/i386/fpu/e_scalb.S: Likewise.
61661         * sysdeps/i386/fpu/e_powl.S: Likewise.
61662         * sysdeps/i386/fpu/s_log1p.S: Likewise.
61663         * sysdeps/i386/fpu/e_log10f.S: Likewise.
61664         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
61665         * sysdeps/i386/fpu/e_logl.S: Likewise.
61666         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
61667         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
61668         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
61669         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
61670         * sysdeps/i386/fpu/e_log2f.S: Likewise.
61671         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
61672         * sysdeps/i386/fpu/e_log.S: Likewise.
61673         * sysdeps/i386/fpu/s_cexp.S: Likewise.
61674         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
61675         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
61676         * sysdeps/i386/fpu/e_logf.S: Likewise.
61677         * sysdeps/i386/fpu/e_log10l.S: Likewise.
61678         * sysdeps/i386/fpu/e_atanh.S: Likewise.
61679         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
61680         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
61681         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
61682         * sysdeps/i386/fpu/e_log10.S: Likewise.
61683         * sysdeps/i386/fpu/s_frexp.S: Likewise.
61684         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
61685         * sysdeps/i386/fpu/s_asinh.S: Likewise.
61686         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
61687         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
61688         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
61689         * sysdeps/i386/asm-syntax.h: Likewise.
61690         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
61691         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61692         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
61693         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
61694         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
61695         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
61696         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
61697         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
61698         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
61699         * sysdeps/powerpc/sysdep.h: Likewise.
61700         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
61701         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
61703 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
61705         [BZ #411]
61706         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
61708 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
61710         * sysdeps/i386/sysdep.h: Include <features.h>.
61711         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
61712         version.
61714 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
61716         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
61717         Define.
61718         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
61719         LOAD_PIC_REG_STR.
61721 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
61723         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
61724         (SETUP_PIC_REG): Use GET_PC_THUNK.
61725         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
61726         macro.
61728 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
61730         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
61731         for non-PIC compilation.
61732         (SETUP_PIC_REG): Add .p2align directive.
61733         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
61734         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
61735         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
61736         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
61737         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
61738         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
61739         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
61740         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
61741         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
61742         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
61743         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
61744         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
61745         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
61746         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
61747         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
61748         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
61749         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
61750         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
61751         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
61752         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
61753         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
61754         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
61755         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
61756         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
61757         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
61758         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
61759         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
61760         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
61761         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
61762         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
61763         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
61764         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
61765         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
61766         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
61767         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
61768         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
61769         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
61770         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
61771         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
61772         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
61773         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
61775 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
61777         * math/tst-CMPLX.c: Include <stdio.h>.
61779 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
61781         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
61782         float.
61783         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
61784         * sysdeps/sparc/bits/mathdef.h: Likewise.
61786 2012-01-31  Marek Polacek  <polacek@redhat.com>
61788         * libio/libio.h: Don't define _PARAMS.
61789         * locale/programs/config.h: Don't define PARAMS.
61790         * stdlib/strtol_l.c: Likewise.
61791         (__strtol_l): Remove PARAMS from the prototype.
61793 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
61795         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
61796         names.  Just use the correct names.  Remove unnecessary wrapper
61797         functions.
61798         * malloc/arena.c: Likewise.
61799         * malloc/hooks.c: Likewise.
61801         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
61802         ARENA_TEST says not to.  Simplify test for creation of a new arena.
61803         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
61805 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
61807         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
61808         into tail calls.
61809         (update_get_addr): New function.
61810         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
61811         GET_ADDR_MODULE parameter.
61813 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
61815         * crypt/cert.c: Remove __STDC__ conditionals.
61816         * crypt/crypt-entry.c: Likewise.
61817         * crypt/crypt_util.c: Likewise.
61818         * libio/filedoalloc.c: Likewise.
61819         * libio/fileops.c: Likewise.
61820         * libio/genops.c: Likewise.
61821         * libio/iofclose.c: Likewise.
61822         * libio/iofdopen.c: Likewise.
61823         * libio/iofopen.c: Likewise.
61824         * libio/iofopen64.c: Likewise.
61825         * libio/iogetdelim.c: Likewise.
61826         * libio/iopopen.c: Likewise.
61827         * libio/obprintf.c: Likewise.
61828         * libio/oldfileops.c: Likewise.
61829         * libio/oldiofclose.c: Likewise.
61830         * libio/oldiofdopen.c: Likewise.
61831         * libio/oldiofopen.c: Likewise.
61832         * libio/oldiopopen.c: Likewise.
61833         * libio/wfiledoalloc.c: Likewise.
61834         * libio/wgenops.c: Likewise.
61835         * locale/programs/xmalloc.c: Likewise.
61836         * misc/syslog.c: Likewise.
61837         * stdio-common/xbug.c: Likewise.
61838         * string/memchr.c: Likewise.
61839         * string/memcmp.c: Likewise.
61840         * string/memrchr.c: Likewise.
61841         * string/rawmemchr.c: Likewise.
61842         * sysdeps/posix/getcwd.c: Likewise.
61843         * time/strftime_l.c: Likewise.
61845 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
61847         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
61848         * config.make.in (config-cflags-sse2avx): Define.
61849         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
61850         Fix typo.
61852 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
61854         * scripts/config.guess: Update from upstream config git repository.
61855         * scripts/config.sub: Likewise.
61857 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
61859         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
61860         (EM_NUM): Update.
61861         (R_TILEPRO_*, R_TILEGX_*): New macros.
61863         * scripts/firstversions.awk: Fix bug in version range handling.
61865         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
61867         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
61869         * include/sys/epoll.h: New file.
61870         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
61871         libc_hidden_def.
61873 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
61875         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
61876         Avoid unnecessary __WORDSIZE == 64 test.
61877         (fmaxf): Use VEX format if possible.
61878         (fmax): Likewise.
61879         (fminf): Likewise.
61880         (fmin): Likewise.
61882         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
61883         * math/math_private.h: Remove libc_fegetround* and
61884         libc_fesetround*.
61885         * sysdeps/i386/configure.in: Check for -msse2avx.
61886         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
61887         also if SSE2AVX is defined.
61888         Remove libc_fegetround* and libc_fesetround*.
61889         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
61890         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
61891         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
61892         of HAS_YMM_USABLE.
61893         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
61894         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
61895         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
61896         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
61897         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
61899         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
61901 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61903         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
61904         size is not set.
61905         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61907 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
61909         [BZ #13618]
61910         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
61911         relocation.
61912         * Makeconfig (libm): Define.
61913         * elf/Makefile: Add rules to build and run tst-relsort1.
61914         * elf/tst-relsort1.c: New file.
61915         * elf/tst-relsort1mod1.c: New file.
61916         * elf/tst-relsort1mod2.c: New file.
61918 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
61920         * math/s_ldexp.c: Remove __STDC__ conditionals.
61921         * math/s_ldexpf.c: Likewise.
61922         * math/s_ldexpl.c: Likewise.
61923         * math/s_nextafter.c: Likewise.
61924         * math/s_nexttowardf.c: Likewise.
61925         * math/s_significand.c: Likewise.
61926         * math/s_significandf.c: Likewise.
61927         * math/s_significandl.c: Likewise.
61928         * math/w_jnl.c: Likewise.
61929         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
61930         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
61931         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
61932         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
61933         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
61934         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61935         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
61936         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
61937         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61938         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
61939         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
61940         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61941         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
61942         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
61943         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
61944         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
61945         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
61946         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
61947         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
61948         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
61949         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
61950         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
61951         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
61952         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
61953         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
61954         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
61955         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
61956         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
61957         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
61958         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
61959         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
61960         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
61961         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
61962         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
61963         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
61964         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
61965         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
61966         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
61967         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
61968         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
61969         * sysdeps/ieee754/k_standard.c: Likewise.
61970         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
61971         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
61972         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
61973         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
61974         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
61975         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
61976         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
61977         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
61978         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
61979         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
61980         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
61981         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
61982         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
61983         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
61984         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
61985         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
61986         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
61987         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
61988         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
61989         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
61990         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
61991         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
61992         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
61993         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
61994         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
61995         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
61996         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61997         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61998         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61999         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
62000         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
62001         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
62002         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
62003         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
62004         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
62005         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
62006         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
62007         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
62008         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
62009         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
62010         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
62011         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
62012         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
62013         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
62014         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
62015         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
62016         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
62017         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
62018         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
62019         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
62020         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
62021         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
62022         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
62023         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
62024         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
62025         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
62026         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
62027         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
62028         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
62029         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
62030         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
62031         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
62032         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
62033         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
62034         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
62035         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
62036         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
62037         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
62038         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
62039         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
62040         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
62041         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
62042         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
62043         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
62044         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
62045         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
62046         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
62047         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
62048         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
62049         * sysdeps/ieee754/s_matherr.c: Likewise.
62050         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
62051         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
62052         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
62053         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
62055 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
62057         * crypt/md5.h: Remove __STDC__ conditionals.
62058         * libio/libioP.h: Likewise.
62059         * locale/programs/config.h: Likewise.
62060         * sysdeps/generic/sysdep.h: Likewise.
62061         * sysdeps/i386/asm-syntax.h: Likewise.
62062         * sysdeps/s390/asm-syntax.h: Likewise.
62063         * sysdeps/unix/sysdep.h: Likewise.
62064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
62065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
62067 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
62069         * libio/libio.h: Remove __STDC__ conditionals.
62070         * malloc/obstack.h: Likewise.
62071         * math/complex.h: Likewise.
62072         * math/math.h: Likewise.
62073         * sysdeps/generic/_G_config.h: Likewise.
62074         * sysdeps/gnu/_G_config.h: Likewise.
62075         * sysdeps/mach/hurd/_G_config.h: Likewise.
62076         * sysdeps/powerpc/bits/mathdef.h: Likewise.
62077         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
62078         * sysdeps/sparc/bits/mathdef.h: Likewise.
62080 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
62082         [BZ #13583]
62083         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
62084         Clean up HAS_* macros.
62085         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
62086         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
62087         possible.
62088         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
62089         HAS_AVX.
62090         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
62091         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
62092         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
62093         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
62094         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
62096 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
62098         * elf/tst-unique3.cc (gets): Remove declaration.
62099         * elf/tst-unique3lib.cc (gets): Likewise.
62100         * elf/tst-unique3lib2.cc (gets): Likewise.
62101         * elf/tst-unique4.cc (gets): Likewise.
62103 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
62105         * include/stdio.h: Add C++ protection.  Add gets declarations and
62106         definitions.
62107         * debug/tst-chk1.c: Don't declare gets here.
62108         * stdio-common/tst-gets.c: Likewise.
62110 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
62112         * posix/glob: Remove directory.
62114 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
62116         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
62118 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
62120         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
62121         of the non-standard EPFNOSUPPORT.
62123 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62125         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
62126         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
62127         ANYWHERE set to 1 only on KERN_NO_SPACE error.
62129 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
62131         * wcsmbs/uchar.h: Test __STDC_VERSION__.
62133 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
62135         * nscd/aicache.c (addhstaiX): Do not cache negative results of
62136         transient errors.
62137         * nscd/grpcache.c (cache_addgr): Likewise.
62138         * nscd/hstcache.c (cache_addhst): Likewise.
62139         * nscd/initgrcache.c (addinitgroupsX): Likewise.
62140         * nscd/pwdcache.c (cache_addpw): Likewise.
62141         * nscd/servicescache.c (cache_addserv): Likewise.
62143 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
62145         * malloc/malloc.c: Various cleanups.
62146         * malloc/hooks.c: Likewise.
62148         * stdlib/Makefile (tests): Add bug-fmtmsg1.
62149         * stdlib/bug-fmtmsg1.c: New file.
62151         * stdlib/fmtmsg.c (init): Add missing unlock.
62152         Patch by Peng Haitao <penght@cn.fujitsu.com>.
62154 2012-01-12  Marek Polacek  <polacek@redhat.com>
62156         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
62157         and _GNU_SOURCE.
62159 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
62161         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
62162         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
62163         macro to ensure uniqueness of label name.
62164         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
62165         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
62167 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
62169         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
62171         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
62172         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
62173         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
62174         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
62176 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
62178         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
62180         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
62181         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
62182         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
62184         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
62186         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
62187         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
62188         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
62189         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
62191         * math/bits/math-finite.h: Add ldexp support.
62193 2012-01-10  Marek Polacek  <polacek@redhat.com>
62195         * locale/programs/localedef.h (show_archive_content): Add noreturn
62196         attribute.
62198 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
62200         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
62202 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
62204         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
62206         * io/Makefile (headers): Add bits/poll2.h.
62208 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
62210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
62211         typo #include statement.
62213 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
62215         * include/sys/cdefs.h: Define __attribute_alloc_size.
62216         * catgets/gencat.c: Add alloc_size attribute and apply consistently
62217         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
62218         * elf/pldd.c: Likewise.
62219         * iconv/iconv_charmap.c: Likewise.
62220         * iconv/iconvconfig.c: Likewise.
62221         * iconv/strtab.c: Likewise.
62222         * locale/programs/locale.c: Likewise.
62223         * locale/programs/localedef.h: Likewise.
62224         * locale/programs/simple-hash.c: Likewise.
62225         * nscd/nscd.h: Likewise.
62226         * nss/makedb.c: Likewise.
62227         * sysdeps/generic/ldconfig.h: Likewise.
62228         * locale/programs/localedef.c: Remove xmalloc prototype.
62229         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
62231 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
62233         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
62234         appropriate.
62236 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
62238         * math/Makefile (tests): Add tst-CMPLX.
62239         * math/tst-CMPLX.c: New file.
62241         * math/complex.h (CMPLXL): Fix typo.
62243         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
62244         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
62245         GLIBC_2.16.
62246         * debug/tst-chk1.c: Add poll and ppoll tests.
62247         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
62248         * include/sys/poll.h: Add hidden proto for ppoll.
62249         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
62250         * sysdeps/mach/hurd/ppoll.c: Likewise.
62251         * io/ppoll.c: Likewise.
62252         * debug/poll_chk.c: New file.
62253         * debug/ppoll_chk.c: New file.
62254         * include/bits/poll2.h: New file.
62255         * io/bits/poll2.h: New file.
62257         [BZ #1350]
62258         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
62260         * configure.in: static is always set to yes.  Remove.
62261         * config.make.in: Don't set build-static.
62262         * Makeconfig: Remove use of build-static.
62263         * dlfcn/Makefile: Likewise.
62264         * elf/Makefile: Likewise.
62265         * math/Makefile: Likewise.
62266         * misc/Makefile: Likewise.
62267         * nptl/Makefile: Likewise.
62268         * sysdeps/mach/hurd/Makefile: Likewise.
62270         * configure.in: PWD_P is not used anymore.
62271         * config.make.in: Remove PWD_P entry.
62273         * configure.in: Remove last remnants of RANLIB.
62274         No need to check for signed size_t anymore.
62275         Don't set libc_commonpagesize and libc_relro_required here for Alpha
62276         and IA-64.
62277         Remove __builtin_expect test because we require at least gcc 3.4.
62278         * aclocal.m4: Likewise.
62280         * wcsmbs/mbrtoc16.c: Implement using towc function.
62281         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
62282         * wcsmbs/wcsmbsload.c: Likewise.
62283         * iconv/gconv_simple.c: Likewise.
62284         * iconv/gconv_int.h: Likewise.
62285         * iconv/gconv_builtin.h: Likewise.
62286         * iconv/iconv_prog.c: Remove CHAR16 handling.
62288         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
62290         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
62292         * configure.in: Remove --with-elf and --enable-bounded options.
62293         Dont set base_machine for ia64.  More non-ELF conditions removed.
62294         Remove testing and setting of leading underscore information.
62295         * config.make.in (build-bounded): Set to no.
62296         * config.h.in: Remove NO_UNDERSCORES entry.
62297         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
62298         them.
62299         * csu/start.c: Remove !NO_UNDERSCORE code.
62300         * locale/localeinfo.h: Likewise.
62301         * sysdeps/generic/machine-gmon.h: Likewise.
62302         * sysdeps/generic/sysdep.h: Likewise.
62303         * sysdeps/i386/sysdep.h: Likewise.
62304         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
62305         * sysdeps/mach/sysdep.h: Likewise.
62306         * sysdeps/s390/s390-32/sysdep.h: Likewise.
62307         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62308         * sysdeps/sh/sysdep.h: Likewise.
62309         * sysdeps/sparc/sparc32/alloca.S: Likewise.
62310         * sysdeps/unix/i386/sysdep.S: Likewise.
62311         * sysdeps/unix/sparc/start.c: Likewise.
62312         * sysdeps/unix/sparc/sysdep.S: Likewise.
62313         * sysdeps/unix/sparc/sysdep.h: Likewise.
62314         * sysdeps/unix/start.c: Likewise.
62315         * sysdeps/unix/x86_64/sysdep.S: Likewise.
62316         * sysdeps/x86_64/sysdep.h: Likewise.
62318 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
62320         [BZ #13553]
62321         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
62322         for non-gcc.
62323         * argp/argp-fmtstream.h: Use const instead __const.
62324         * argp/argp.h: Likewise.
62325         * assert/assert.h: Likewise.
62326         * bits/fenv.h: Likewise.
62327         * bits/sched.h: Likewise.
62328         * bits/sigset.h: Likewise.
62329         * bits/sigthread.h: Likewise.
62330         * catgets/nl_types.h: Likewise.
62331         * conform/data/pthread.h-data: Likewise.
62332         * crypt/crypt-private.h: Likewise.
62333         * crypt/crypt.h: Likewise.
62334         * crypt/crypt_util.c: Likewise.
62335         * ctype/ctype.h: Likewise.
62336         * debug/execinfo.h: Likewise.
62337         * debug/mbsnrtowcs_chk.c: Likewise.
62338         * debug/mbsrtowcs_chk.c: Likewise.
62339         * debug/wcsnrtombs_chk.c: Likewise.
62340         * debug/wcsrtombs_chk.c: Likewise.
62341         * debug/wcstombs_chk.c: Likewise.
62342         * dirent/dirent.h: Likewise.
62343         * dlfcn/dlfcn.h: Likewise.
62344         * elf/neededtest4.c: Likewise.
62345         * grp/grp.h: Likewise.
62346         * gshadow/gshadow.h: Likewise.
62347         * iconv/gconv.h: Likewise.
62348         * iconv/gconv_int.h: Likewise.
62349         * iconv/gconv_simple.c: Likewise.
62350         * iconv/iconv.h: Likewise.
62351         * iconv/loop.c: Likewise.
62352         * iconv/skeleton.c: Likewise.
62353         * include/aio.h: Likewise.
62354         * include/aliases.h: Likewise.
62355         * include/argz.h: Likewise.
62356         * include/arpa/inet.h: Likewise.
62357         * include/assert.h: Likewise.
62358         * include/dirent.h: Likewise.
62359         * include/dlfcn.h: Likewise.
62360         * include/execinfo.h: Likewise.
62361         * include/fcntl.h: Likewise.
62362         * include/fenv.h: Likewise.
62363         * include/glob.h: Likewise.
62364         * include/grp.h: Likewise.
62365         * include/libintl.h: Likewise.
62366         * include/mntent.h: Likewise.
62367         * include/netdb.h: Likewise.
62368         * include/pwd.h: Likewise.
62369         * include/rpc/netdb.h: Likewise.
62370         * include/sched.h: Likewise.
62371         * include/search.h: Likewise.
62372         * include/shadow.h: Likewise.
62373         * include/signal.h: Likewise.
62374         * include/stdio.h: Likewise.
62375         * include/stdlib.h: Likewise.
62376         * include/string.h: Likewise.
62377         * include/sys/socket.h: Likewise.
62378         * include/sys/stat.h: Likewise.
62379         * include/sys/statfs.h: Likewise.
62380         * include/sys/statvfs.h: Likewise.
62381         * include/sys/syslog.h: Likewise.
62382         * include/sys/time.h: Likewise.
62383         * include/sys/uio.h: Likewise.
62384         * include/time.h: Likewise.
62385         * include/unistd.h: Likewise.
62386         * include/utmp.h: Likewise.
62387         * include/wchar.h: Likewise.
62388         * include/wctype.h: Likewise.
62389         * inet/aliases.h: Likewise.
62390         * inet/arpa/inet.h: Likewise.
62391         * inet/netinet/ether.h: Likewise.
62392         * inet/netinet/in.h: Likewise.
62393         * intl/libintl.h: Likewise.
62394         * io/bits/fcntl2.h: Likewise.
62395         * io/fcntl.h: Likewise.
62396         * io/ftw.h: Likewise.
62397         * io/sys/poll.h: Likewise.
62398         * io/sys/stat.h: Likewise.
62399         * io/sys/statfs.h: Likewise.
62400         * io/sys/statvfs.h: Likewise.
62401         * io/utime.h: Likewise.
62402         * libio/bits/stdio.h: Likewise.
62403         * libio/bits/stdio2.h: Likewise.
62404         * libio/libio.h: Likewise.
62405         * libio/libioP.h: Likewise.
62406         * libio/stdio.h: Likewise.
62407         * locale/lc-ctype.c: Likewise.
62408         * locale/locale.h: Likewise.
62409         * login/utmp.h: Likewise.
62410         * malloc/arena.c: Likewise.
62411         * malloc/malloc.c: Likewise.
62412         * malloc/malloc.h: Likewise.
62413         * malloc/mcheck.c: Likewise.
62414         * malloc/mtrace.c: Likewise.
62415         * math/bits/mathcalls.h: Likewise.
62416         * math/fenv.h: Likewise.
62417         * math/math_private.h: Likewise.
62418         * misc/bits/error.h: Likewise.
62419         * misc/bits/syslog.h: Likewise.
62420         * misc/err.h: Likewise.
62421         * misc/error.h: Likewise.
62422         * misc/fstab.h: Likewise.
62423         * misc/mntent.h: Likewise.
62424         * misc/regexp.h: Likewise.
62425         * misc/search.h: Likewise.
62426         * misc/sgtty.h: Likewise.
62427         * misc/sys/mman.h: Likewise.
62428         * misc/sys/syslog.h: Likewise.
62429         * misc/sys/uio.h: Likewise.
62430         * misc/sys/xattr.h: Likewise.
62431         * misc/ttyent.h: Likewise.
62432         * nis/rpcsvc/ypclnt.h: Likewise.
62433         * nss/nss.h: Likewise.
62434         * posix/bits/unistd.h: Likewise.
62435         * posix/fnmatch.h: Likewise.
62436         * posix/glob.h: Likewise.
62437         * posix/sched.h: Likewise.
62438         * posix/spawn.h: Likewise.
62439         * posix/sys/wait.h: Likewise.
62440         * posix/unistd.h: Likewise.
62441         * posix/wordexp.h: Likewise.
62442         * pwd/pwd.h: Likewise.
62443         * resolv/netdb.h: Likewise.
62444         * resource/sys/resource.h: Likewise.
62445         * rt/aio.h: Likewise.
62446         * rt/bits/mqueue2.h: Likewise.
62447         * rt/mqueue.h: Likewise.
62448         * shadow/shadow.h: Likewise.
62449         * signal/signal.h: Likewise.
62450         * socket/send.c: Likewise.
62451         * socket/sendto.c: Likewise.
62452         * socket/sys/socket.h: Likewise.
62453         * stdio-common/printf.h: Likewise.
62454         * stdlib/bits/stdlib.h: Likewise.
62455         * stdlib/fmtmsg.h: Likewise.
62456         * stdlib/monetary.h: Likewise.
62457         * stdlib/stdlib.h: Likewise.
62458         * stdlib/ucontext.h: Likewise.
62459         * streams/stropts.h: Likewise.
62460         * string/argz.h: Likewise.
62461         * string/bits/string2.h: Likewise.
62462         * string/string.h: Likewise.
62463         * string/strings.h: Likewise.
62464         * sunrpc/rpc/auth.h: Likewise.
62465         * sunrpc/rpc/auth_des.h: Likewise.
62466         * sunrpc/rpc/clnt.h: Likewise.
62467         * sunrpc/rpc/netdb.h: Likewise.
62468         * sunrpc/rpc/pmap_clnt.h: Likewise.
62469         * sunrpc/rpc/xdr.h: Likewise.
62470         * sysdeps/generic/inttypes.h: Likewise.
62471         * sysdeps/generic/net/if.h: Likewise.
62472         * sysdeps/generic/sys/swap.h: Likewise.
62473         * sysdeps/gnu/net/if.h: Likewise.
62474         * sysdeps/gnu/utmpx.h: Likewise.
62475         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
62476         * sysdeps/i386/i486/bits/string.h: Likewise.
62477         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
62478         * sysdeps/s390/bits/string.h: Likewise.
62479         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
62480         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
62481         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
62482         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
62483         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
62484         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
62485         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
62486         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
62487         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
62488         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
62489         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
62490         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
62491         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
62492         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
62493         * sysdeps/unix/sysv/linux/readv.c: Likewise.
62494         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
62495         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
62496         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62497         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
62498         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
62499         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
62500         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
62501         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
62502         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
62503         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
62504         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
62505         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
62506         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
62507         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
62508         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
62509         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
62510         * sysvipc/sys/ipc.h: Likewise.
62511         * sysvipc/sys/msg.h: Likewise.
62512         * sysvipc/sys/sem.h: Likewise.
62513         * sysvipc/sys/shm.h: Likewise.
62514         * termios/termios.h: Likewise.
62515         * time/sys/time.h: Likewise.
62516         * time/time.h: Likewise.
62517         * wcsmbs/bits/wchar2.h: Likewise.
62518         * wcsmbs/uchar.h: Likewise.
62519         * wcsmbs/wchar.h: Likewise.
62520         * wctype/wctype.h: Likewise.
62522         [BZ #13551]
62523         * Makeconfig: Remove all but ELF support including AIX support.
62524         * Makerules: Likewise.
62525         * config.h.in: Likewise.
62526         * config.make.in: Likewise.
62527         * configure: Likewise.
62528         * configure.in: Likewise.
62529         * csu/Makefile: Likewise.
62530         * csu/version.c: Likewise.
62531         * debug/Makefile: Likewise.
62532         * dlfcn/Makefile: Likewise.
62533         * elf/Makefile: Likewise.
62534         * extra-lib.mk: Likewise.
62535         * iconv/Makefile: Likewise.
62536         * include/libc-symbols.h: Likewise.
62537         * include/shlib-compat.h: Likewise.
62538         * resolv/Makefile: Likewise.
62539         * resolv/res_libc.c: Likewise.
62540         * rt/Makefile: Likewise.
62541         * sysdeps/i386/asm-syntax.h: Likewise.
62542         * sysdeps/i386/sysdep.h: Likewise.
62543         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
62544         * sysdeps/mach/sysdep.h: Likewise.
62545         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
62546         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
62547         * sysdeps/s390/asm-syntax.h: Likewise.
62548         * sysdeps/s390/s390-32/sysdep.h: Likewise.
62549         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62550         * sysdeps/sh/sysdep.h: Likewise.
62551         * sysdeps/unix/sparc/sysdep.h: Likewise.
62552         * sysdeps/wordsize-32/divdi3.c: Likewise.
62553         * sysdeps/x86_64/sysdep.h: Likewise.
62555         * argp/Versions: Remove _argp_unlock_xxx.
62557         [BZ #13559]
62558         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
62559         * abilist/libBrokenLocale.abilist: Likewise.
62560         * abilist/libanl.abilist: Likewise.
62561         * abilist/libc.abilist: Likewise.
62562         * abilist/libcrypt.abilist: Likewise.
62563         * abilist/libdl.abilist: Likewise.
62564         * abilist/libm.abilist: Likewise.
62565         * abilist/libnsl.abilist: Likewise.
62566         * abilist/libpthread.abilist: Likewise.
62567         * abilist/libresolv.abilist: Likewise.
62568         * abilist/librt.abilist: Likewise.
62569         * abilist/libthread_db.abilist: Likewise.
62570         * abilist/libutil.abilist: Likewise.
62571         * abilist/libnss_db.abilist: New file.
62573         * scripts/abilist.awk: Add support for indirect functions.
62575         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
62577         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
62579         * shlib-versions: Remove entries for ports architectures.
62581         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
62582         files in ports.
62583         * elf/stackguard-macros.h: Remove support for IA-64.
62584         * elf/tst-auditmod1.c: Likewise.
62585         * sysdeps/generic/ldsodefs.h: Likewise.
62587         * sysdeps/unix/sysv/linux/configure.in: Ports should define
62588         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
62589         configure files.
62591         [BZ #13552]
62592         * configure.in: Remove --enable-omitfp support.
62593         * FAQ.in: Adjust.
62594         * config.make.in: Likewise.
62595         * Makeconfig: Likewise.
62596         * manual/install.texi: Likewise.
62598         In case anyone cares, the IA-64 architecture could move to ports.
62599         * sysdeps/ia64/*: Removed.
62600         * sysdeps/unix/sysv/linux/ia64/*: Removed.
62601         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
62603         [BZ #13555]
62604         * configure.in: Remove entries for unsupported architectures.
62606         [BZ #13533]
62607         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
62608         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
62609         routines.
62610         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
62611         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
62612         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
62613         fall back to using wcrtomb.
62614         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
62615         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
62616         renaming.
62617         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
62618         * wcsmbs/tst-c16c32-1.c: New file.
62620         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
62621         local variable.
62623         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
62625         * elf/tst-unique3.cc: Add explicit declaration of gets.
62626         * elf/tst-unique3lib.cc: Likewise.
62627         * elf/tst-unique3lib2.cc: Likewise.
62628         * elf/tst-unique4.cc: Likewise.
62630         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
62632 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
62634         [BZ #13566]
62635         * assert/assert.h (static_assert): Don't define for C++.
62636         * libio/stdio.h (gets): Do declare for C++ <= C++11.
62637         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
62639 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
62641         * iconv/loop.c (single loop): Fix assertion in storing of
62642         remaining bytes.
62644         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
62646 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
62648         * posix/getconf.c: Update copyright year.
62649         * nss/getent.c: Likewise.
62650         * nss/makedb.c: Likewise.
62651         * iconv/iconvconfig.c: Likewise.
62652         * iconv/iconv_prog.c: Likewise.
62653         * elf/ldconfig.c: Likewise.
62654         * elf/pldd.c: Likewise.
62655         * elf/sotruss.ksh: Likewise.
62656         * catgets/gencat.c: Likewise.
62657         * csu/version.c: Likewise.
62658         * elf/ldd.bash.in: Likewise.
62659         * elf/sprof.c (print_version): Likewise.
62660         * locale/programs/locale.c: Likewise.
62661         * locale/programs/localedef.c: Likewise.
62662         * login/programs/pt_chown.c: Likewise.
62663         * nscd/nscd.c (print_version): Likewise.
62664         * debug/xtrace.sh: Likewise.
62665         * malloc/memusage.sh: Likewise.
62666         * malloc/mtrace.pl: Likewise.
62667         * debug/catchsegv.sh: Likewise.
62669 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
62671         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
62672         pure attribute.
62674 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
62676         [BZ #13533]
62677         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
62678         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
62679         transformations.
62680         * iconv/gconv_int.h: Likewise.
62681         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
62682         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
62683         from libc for GLIBC_2.16.
62684         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
62685         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
62686         * wcsmbs/uchar.h: Really define mbstate_t.
62687         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
62688         * wcsmbs/c16rtomb.c: New file.
62689         * wcsmbs/mbrtoc16.c: New file.
62690         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
62691         for C/POSIX locale.
62692         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
62693         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
62695         * wcsmbs/wchar.h: Add missing __restrict.
62697 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
62699         [BZ #13532]
62700         * time/Makefile (routines): Add timespec_get.
62701         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
62702         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
62703         timespec for ISO C11.
62704         * time/timespec_get.c: New file.
62705         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
62706         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
62708         [BZ #13531]
62709         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
62710         * stdlib/stdlib.h: Declare aligned_alloc.
62711         * Versions.def: Add GLIBC_2.16 for libc.
62712         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
62714         [BZ 13527]
62715         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
62716         ISO C11.
62718         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
62719         code.
62721         [BZ #13528]
62722         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
62724         [BZ #13529]
62725         * assert/assert.h (static_assert): Define.
62727         * version.h: Update for 2.16 development version.
62729         [BZ #13526]
62730         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
62731         _ISOC11_SOURCE.
62733         * version.h (RELEASE): Bump for 2.15 release.
62734         * include/features.h (__GLIBC_MINOR__): Bump to 15.
62736         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
62737         Patch by Marek Polacek <mpolacek@redhat.com>.
62739         * bits/byteswap.h: Protect long long constants with __extension__.
62740         * sysdeps/i386/bits/byteswap.h: Likewise.
62741         * sysdeps/ia64/bits/byteswap.h: Likewise.
62742         * sysdeps/s390/bits/byteswap.h: Likewise.
62743         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62745 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62747         [BZ #13540]
62748         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
62749         destination buffer.
62750         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
62752 2011-12-23  Marek Polacek  <polacek@redhat.com>
62754         * elf/dl-addr.c (determine_info): Add inline keyword.
62755         * elf/tst-auditmod4b.c (check_avx): Likewise.
62756         * elf/tst-auditmod6b.c (check_avx): Likewise.
62757         * elf/tst-auditmod6c.c (check_avx): Likewise.
62758         * elf/tst-auditmod7b.c (check_avx): Likewise.
62760 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
62762         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
62763         !__SSE_MATH__.
62765 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62767         [BZ #13540]
62768         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
62769         processing for last bytes.
62771 2011-08-06  Bruno Haible  <bruno@clisp.org>
62773         [BZ #13061]
62774         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
62775         U+0385, not to U+1FEE.
62777         [BZ #13062]
62778         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
62779         entry for U+00A5 U+0301.
62781 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
62783         [BZ #13166]
62784         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
62785         buffer for the output is too small.
62787         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
62788         optimization.
62790         [BZ #13185]
62791         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
62792         SSE flags if possible.
62794 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62796         [BZ #13540]
62797         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
62798         processing for last bytes.
62800 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
62802         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
62803         (syscall-list-default-options, syscall-list-default-condition)
62804         (syscall-list-includes): Define.
62805         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
62806         list of ABIs and options and #if conditions for each ABI.  Do not
62807         handle common syscalls between ABIs specially.
62808         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
62809         Remove.
62810         (syscall-list-variants, syscall-list-32bit-options)
62811         (syscall-list-32bit-condition, syscall-list-64bit-options)
62812         (syscall-list-64bit-condition): Define.
62813         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
62814         (syscall-list-variants, syscall-list-32bit-options)
62815         (syscall-list-32bit-condition, syscall-list-64bit-options)
62816         (syscall-list-64bit-condition): Define.
62817         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
62818         Remove.
62819         (syscall-list-variants, syscall-list-32bit-options)
62820         (syscall-list-32bit-condition, syscall-list-64bit-options)
62821         (syscall-list-64bit-condition): Define.
62822         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
62823         Remove.
62824         (syscall-list-variants, syscall-list-32bit-options)
62825         (syscall-list-32bit-condition, syscall-list-64bit-options)
62826         (syscall-list-64bit-condition): Define.
62828 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
62830         * locale/iso-639.def: Add brx entry.
62832         [BZ #13328]
62833         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
62834         Proposed by Mariusz_Cukr <marcukr@op.pl>.
62836         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
62837         __feraiseexcept_renamed.
62839 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
62841         [BZ #13538]
62842         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
62843         EPOLLET with unsigned values.
62844         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
62845         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
62847         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
62848         to large cancellation.
62849         * math/s_cacoshf.c: Likewise.
62850         * math/s_cacoshl.c: Likewise.
62852 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
62854         [BZ #13305]
62855         [BZ #12786]
62856         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
62857         * math/s_cacoshf.c: Likewise.
62858         * math/s_cacoshl.c: Likewise.
62860 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
62862         [BZ #13439]
62863         * iconv/gconv.h: Define __GCONV_SWAP.
62864         * iconvdata/unicode.c: The swap bit must be stored in __flags.
62865         * iconvdata/utf-16.c: Likewise.
62866         * iconvdata/utf-32.c: Likewise.
62868 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
62870         [BZ #13524]
62871         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
62872         numerator after shifting it by one limb.
62874 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
62876         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
62877         under [__USE_EXTERN_INLINES].
62879 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
62881         [BZ #13446]
62882         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
62884 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62886         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
62887         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
62888         optimized code.
62889         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
62890         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
62891         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
62892         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
62893         for strncasecmp/strncasecmp_l compilation.
62894         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
62895         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
62897 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
62899         [BZ #13484]
62900         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
62901         of __asm__.
62903 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
62905         [BZ #13506]
62906         * time/tzfile.c (__tzfile_read): Check values from file header.
62908 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
62910         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
62911         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
62912         * powerpc/powerpc32/dl-start.S: Likewise.
62913         * powerpc/powerpc32/elf/start.S: Likewise.
62914         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
62915         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
62916         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
62917         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
62918         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
62919         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
62920         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
62921         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
62922         * powerpc/powerpc32/fpu/s_round.S: Likewise.
62923         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
62924         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
62925         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
62926         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
62927         * powerpc/powerpc32/memset.S: Likewise.
62928         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
62929         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
62930         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
62931         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
62932         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
62933         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
62934         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
62935         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
62936         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
62937         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
62938         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
62939         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
62940         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
62942 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62944         * math/libm-test.inc: Added more nearbyint tests.
62945         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
62946         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
62947         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
62948         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
62950 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
62952         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
62953         FD_CLOEXEC.
62955 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62957         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
62958         Add wcscpy-ssse3 wcscpy-c.
62959         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
62960         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
62961         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
62962         * sysdeps/x86_64/wcschr.S: New file.
62963         * sysdeps/x86_64/wcsrchr.S: New file.
62964         * string/test-strcmp.c: Remove checking of wcscmp function for
62965         wrong alignments.
62966         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
62967         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
62968         wcsrchr-sse2 wcsrchr-c.
62969         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
62970         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
62971         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
62972         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
62973         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
62974         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
62975         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
62976         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
62977         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
62978         * wcsmbc/wcschr.c (WCSCHR): New macro.
62980 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62982         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
62983         * wcsmbs/test-wcsrchr.c: New file.
62984         * string/test-strrchr.c: Add wcsrchr support.
62985         (WIDE): New macro.
62986         * wcsmbs/test-wcscpy.c: New file.
62987         * string/test-strcpy.c: Add wcscpy support.
62988         (WIDE): New macro.
62990 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
62992         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
62993         the inner loop.
62995 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
62997         [BZ #13472]
62998         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
63000 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
63002         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
63003         Minor optimizations.
63005         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
63006         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
63007         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
63009 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
63011         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
63012         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
63013         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
63014         for gcc to avoid warnings.
63015         * inet/Makefile (tests): Add tst-checks.
63016         * inet/tst-checks.c: New file.
63018         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
63019         warning.
63021         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
63022         __wmemcmp_sse2.
63024         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
63025         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
63027         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
63029 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
63031         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
63032         problem.
63034         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
63036 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
63038         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
63039         conditional on GCC version.
63040         (__arch_compare_and_exchange_val_8_acq)
63041         (__arch_compare_and_exchange_val_16_acq)
63042         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
63043         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
63044         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
63046 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
63048         * sysdeps/sh/backtrace.c: New file.
63050 2011-12-02  Andreas Schwab  <schwab@redhat.com>
63052         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
63053         parenthesis.
63055 2011-12-01  Andreas Schwab  <schwab@redhat.com>
63057         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
63058         falling back to utime.
63060 2011-11-30  Andreas Schwab  <schwab@redhat.com>
63062         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
63063         expectations for float.
63065 2011-11-29  Andreas Schwab  <schwab@redhat.com>
63067         * locale/weight.h (findidx): Add parameter len.
63068         * locale/weightwc.h (findidx): Likewise.
63069         * posix/fnmatch_loop.c (FCT): Adjust caller.
63070         * posix/regcomp.c (build_equiv_class): Likewise.
63071         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
63072         * posix/regexec.c (check_node_accept_bytes): Likewise.
63073         * string/strcoll_l.c (STRCOLL): Likewise.
63074         * string/strxfrm_l.c (STRXFRM): Likewise.
63076 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
63078         * Makefile.in: Remove CVSOPT handling.
63079         * configure.in: Remove use of AC_REVISION.
63080         * iconvdata/Makefile (distribute): No need to filter out CVS.
63081         * scripts/list-sources.sh: Remove CVS, subversion and monotone
63082         handling.
63084 2011-11-16  Andreas Schwab  <schwab@redhat.com>
63086         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
63087         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
63088         [USE_AS_STRNCASECMP_L]: Likewise.
63089         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
63090         NO_TLS_DIRECT_SEG_REFS.
63091         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
63092         Fix argument offsets for non-PIC.
63093         [USE_AS_STRNCASECMP_L]: Likewise.
63094         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
63095         NO_TLS_DIRECT_SEG_REFS.
63097 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
63099         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
63100         O_CLOEXEC.
63101         * locale/loadlocale.c (_nl_load_locale): Likewise.
63103 2011-11-15  Andreas Schwab  <schwab@redhat.com>
63105         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
63106         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
63107         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
63108         (SYSCALL_GETTIME): Set errno on error.
63110         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
63111         count references to noai6ai_cached.
63113 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
63115         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
63117         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
63118         FD_CLOEXEC for /proc/self/maps.
63120         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
63121         FD_CLOEXEC for /proc/meminfo.
63123         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
63124         gai.conf.
63126         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
63127         FD_CLOEXEC for given file.
63129         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
63131         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
63132         FD_CLOEXEC for /etc/hosts.
63133         (_gethtent): Likewise.
63135         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
63137         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
63138         cancellation and set FD_CLOEXEC for /etc/netgroup.
63140         * nss/nss_files/files-key.c (search): Don't allow cancellation when
63141         reading /etc/publickey.
63143         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
63144         allow cancellation when reading /etc/group.
63146         * nss/nss_files/files-alias.c (internal_setent): Don't allow
63147         cancellation.
63148         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
63150         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
63151         when using data file.
63153         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
63155         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
63156         (write_nis_obj): Use "c" and "e" in fopen.
63158         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
63160         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
63162         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
63164         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
63166         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
63167         locale.alias.
63169         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
63171         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
63173         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
63175         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
63176         file parsing and set FD_CLOEXEC.
63178 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
63180         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
63182 2011-11-14  Andreas Schwab  <schwab@redhat.com>
63184         * malloc/arena.c (arena_get2): Don't call reused_arena when
63185         _int_new_arena failed.
63187 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
63189         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
63190         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
63191         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
63192         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
63193         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
63194         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
63195         to compile strcasecmp and strncasecmp.
63196         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
63197         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
63199         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
63201 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
63203         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
63204         locale-defines.sym to gen-as-const-headers.
63205         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
63206         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
63207         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
63208         to compile strcasecmp and strncasecmp.
63209         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
63210         strcasecmp_l and strncasecmp_l.
63211         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
63212         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
63213         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
63214         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
63215         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
63216         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
63217         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
63218         * sysdeps/i386/i686/multiarch/strncase.S: New file.
63219         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
63220         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
63221         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
63223 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
63225         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
63226         result of SYSDEP_GETTIME_CPU to retval.
63227         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
63228         parameter list to macro.  Remove trailing semicolon.  Adjust users.
63230         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
63231         variable.
63233         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
63234         mantissa words.
63235         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
63237         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
63238         from unused variable.
63240         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
63241         DWARF definitions.
63242         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
63243         for assembling.
63245         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
63246         over namespaces.
63248         * sunrpc/rpc_prot.c (rejected): Fix case value.
63250         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
63251         unsigned long long int to avoid warnings in shift.
63253         * posix/regex_internal.c (re_string_reconstruct): Actually use result
63254         of use of trans.
63255         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
63256         variable tmp.
63258         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
63259         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
63260         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
63262         * nis/nis_table.c (nis_list): Use variable of correct type for
63263         result of __follow_path call.
63265 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63267         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
63268         of math functions ceil, trunc, floor, round, and sqrt, when
63269         avaliable on the platform.
63270         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
63271         name clash.
63272         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
63273         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
63274         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
63276 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
63278         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
63279         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
63281 2011-11-11  Roland McGrath  <roland@hack.frob.com>
63283         * include/unistd.h: Fix __readlink return type.
63284         Reported by Chris Metcalf <cmetcalf@tilera.com>.
63286 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
63288         * stdlib/ucontext.h: Undo last change for makecontext.
63290 2011-11-11  Andreas Schwab  <schwab@redhat.com>
63292         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
63294         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
63295         * setjmp/setjmp.h: Mark functions as non-leaf.
63296         * setjmp/bits/setjmp2.h: Likewise.
63297         * stdlib/ucontext.h: Likewise.
63299 2011-11-10  Andreas Schwab  <schwab@redhat.com>
63301         * malloc/arena.c (_int_new_arena): Don't increment narenas.
63302         (reused_arena): Don't check arena limit.
63303         (arena_get2): Atomically check arena limit.
63305 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
63307         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
63308         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
63310         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
63311         instructions.
63313 2011-11-07  Andreas Schwab  <schwab@redhat.com>
63315         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
63316         handler when locking.
63318         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
63319         Fix size of allocated buffer.
63321 2011-11-04  Andreas Schwab  <schwab@redhat.com>
63323         [BZ #10103]
63324         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
63325         declarations for long double functions.
63326         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
63328         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
63330 2011-11-03  Andreas Schwab  <schwab@redhat.com>
63332         * nscd/nscd.c (main): Don't start AVC thread until credentials are
63333         installed.
63335         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
63336         is disabled.
63338 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63340         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
63342 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
63344         * include/alloca.h (stackinfo_alloca_round): Define.
63345         (extend_alloca): Use it.
63346         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
63347         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
63348         here.
63350         * scripts/check-local-headers.sh: Ignore libaudit.h.
63352         * nscd/Makefile (extra-objs): Make recursively expanded.
63354 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
63356         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
63357         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
63359         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
63360         * posix/tst-rfc3484-2.c: Likewise.
63361         * posix/tst-rfc3484-3.c: Likewise.
63363         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
63364         process_vm_writev.
63365         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
63366         process_vm_writev.
63367         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
63368         process_vm_writev from libc using GLIBC_2.15 version.
63370         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
63372 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
63374         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
63375         stack usage.
63377 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
63379         [BZ #13367]
63380         * nss/getent.c (initgroups_keys): Show error message in case no group
63381         names are given.
63383         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
63384         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
63385         __bump_nl_timestamp.
63386         * nscd/connections (nscd_init): When host database is served open
63387         netlink socket and request notification about configuration changes.
63388         (main_loop_poll): Track netlink file descriptor and bump timestamp
63389         in case data becomes available.
63390         (main_loop_epoll): Likewise.
63391         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
63392         (database_pers_head): Add extra_data fileds.
63393         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
63394         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
63395         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
63396         Adjust caller.
63397         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
63398         in6ai data, call __free_in6ai.
63399         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
63400         Add -DHAVE_NETLINK.
63401         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
63402         interface information.  Reuse previous data if netlink timestamp
63403         is not changed.
63404         (__bump_nl_timestamp): New function.
63405         (__free_in6ai): New function.
63407 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
63409         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
63410         close_not_cancel_no_status here.
63411         (__check_pf): Reorganize code a bit to not call close twice if OOM.
63413 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
63415         [BZ #13276]
63416         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
63417         return value.
63419         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
63420         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
63421         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
63423 2011-07-03  Andreas Jaeger  <aj@suse.de>
63425         [BZ #10709]
63426         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
63427         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
63428         * math/libm-test.inc (sin_test): Add test case.
63430 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
63432         [BZ #13337]
63433         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
63434         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
63436         * elf/chroot_canon.c (chroot_canon): Cleanups.
63438         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
63440         [BZ #13335]
63441         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
63442         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
63444         * string/test-strchr.c: Make usable for strchrnul testing.
63445         * string/test-strchrnul.c: New file.
63446         * string/Makefile (strop-tests): Add strchrnul.
63448         * po/it.po: Update from translation team.
63449         * po/es.po: Likewise.
63451 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
63453         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
63454         the three constants needed as parameters.  Drop the others.
63455         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
63456         __m128i_strloadu_tolower.
63457         Create and initialize variable zero and use it in all the places
63458         where _mm_setzero_si128 was used.
63460         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
63461         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
63462         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
63463         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
63464         anymore.
63465         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
63466         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
63467         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
63468         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
63469         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
63470         __mpranred, __mptan.
63471         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
63472         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
63473         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
63474         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
63475         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
63476         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
63477         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
63478         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
63479         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
63481 2011-10-28  Andreas Schwab  <schwab@redhat.com>
63483         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
63484         redefine if SHARED.
63485         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
63487         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
63488         wide char related routines to wcsmbs subdir.
63490 2011-10-27  Andreas Schwab  <schwab@redhat.com>
63492         [BZ #13344]
63493         * misc/sys/cdefs.h (__THROWNL): Define.
63494         * posix/unistd.h: Use __THREADNL instead of __THREAD
63495         for memory synchronization functions.
63497 2011-10-26  Roland McGrath  <roland@hack.frob.com>
63499         [BZ #13349]
63500         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
63501         doesn't exist.
63502         * manual/stdio.texi (Obstack Streams): Node removed.
63504 2011-10-26  Andreas Schwab  <schwab@redhat.com>
63506         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
63507         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
63508         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
63510         * math/math_private.h (math_force_eval): Allow non-addressable
63511         arguments.
63512         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
63514 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
63516         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
63517         file is not needed.
63519         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
63520         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
63521         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
63522         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
63523         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
63524         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
63525         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
63526         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
63527         Add AVX variants.
63528         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
63529         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
63530         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
63531         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
63532         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
63533         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
63534         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
63535         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
63536         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
63537         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
63538         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
63539         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
63540         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
63541         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
63542         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
63543         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
63544         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
63545         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
63546         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
63548         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
63549         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
63551         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
63552         place.  Use VEX encoding when compiling for AVX.
63554 2011-10-25  Andreas Schwab  <schwab@redhat.com>
63556         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
63557         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
63559         * string/test-strchr.c (do_test): Don't generate NUL bytes.
63561 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
63563         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
63564         useless if() expression.
63565         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
63566         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
63567         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63568         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63569         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63570         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
63571         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
63572         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63573         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
63574         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63575         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
63576         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
63577         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
63578         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
63579         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
63580         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
63581         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
63582         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
63583         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
63585         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
63587 2011-10-25  Andreas Schwab  <schwab@redhat.com>
63589         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
63590         condition.
63591         * elf/dl-fini.c (_dl_sort_fini): Likewise.
63593 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
63595         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
63596         .text section.  Avoid duplicate constants.
63597         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
63598         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63599         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
63600         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63601         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63602         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63603         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63604         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63605         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
63606         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
63607         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
63608         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
63609         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
63610         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
63611         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
63612         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
63613         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
63614         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
63615         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
63616         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63617         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
63618         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
63619         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
63620         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
63621         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
63622         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
63623         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
63624         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
63625         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
63626         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
63627         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
63628         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
63629         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
63630         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
63631         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
63632         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
63633         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
63634         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
63635         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
63636         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
63637         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
63638         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
63639         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
63640         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
63641         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
63643 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
63645         * sysdeps/x86_64/dla.h: Move to ...
63646         * sysdeps/x86_64/fpu/dla.h: ...here.
63647         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
63648         situations.  Use __builtin_fma only for gcc 4.6 and up.
63650         * config.make.in: Add have-mfma4 entry.
63651         * configure.in: Substitute libc_cv_cc_fma4.
63652         * math/Makefile (dbl-only-routines): Add sincostab.
63653         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
63654         Use __sincostab not sincos.
63655         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
63656         name is a macro.
63657         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63658         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63659         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63660         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
63661         using __copysign.
63662         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
63663         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
63664         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
63665         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
63666         and __inv.
63667         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
63668         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
63669         __copysign.
63670         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
63671         define aliases when function name is a macro.
63672         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
63673         sysdeps/ieee754/dbl-64/sincos.tbl.
63674         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
63675         fma4-enabled routines.
63676         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
63677         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
63678         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
63679         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
63680         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
63681         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
63682         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
63683         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
63684         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
63685         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
63686         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
63687         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
63688         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
63689         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
63690         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
63691         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
63692         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
63693         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
63694         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
63695         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
63696         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
63697         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
63698         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
63699         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
63700         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
63701         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
63702         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
63703         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
63704         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
63705         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
63707         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
63708         rename.
63709         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63710         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63711         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63712         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63713         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63714         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63715         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63716         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63718 2011-10-24  Andreas Schwab  <schwab@redhat.com>
63720         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
63722 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
63724         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
63726         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
63727         prediction.
63728         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
63730         * string/strnlen.c: Don't define STRNLEN, reverse logic.
63731         Remove unused variable magic_bits.
63732         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
63734         * string/strnlen.c: Define and use STRNLEN macro.
63735         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
63736         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
63737         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
63738         * wcsmbs/wcslen.c: Define and use WCSLEN.
63739         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
63740         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
63741         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
63742         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
63743         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
63744         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
63745         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
63747 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63749         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63750         strnlen-sse2-no-bsf.
63751         Rename strlen-no-bsf to strlen-sse2-no-bsf.
63752         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
63753         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
63754         Add strnlen support.
63755         (USE_AS_STRNLEN): New macro.
63756         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
63757         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
63758         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
63759         * sysdeps/x86_64/wcslen.S: New file.
63761 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
63763         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
63764         XMM-moves are used for copying on small sizes.
63766 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63768         * wcsmbs/Makefile (strop-tests): Add wcschr.
63769         * wcsmbs/test-wcschr.c: New file.
63770         * string/test-strchr.c: Update.
63771         Add wcschr support.
63772         (WIDE): New macro.
63774 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63776         * wcsmbs/Makefile (strop-tests): Add wcslen.
63777         * wcsmbs/test-wcslen.c: New file.
63778         * string/test-strlen.c: Update.
63779         Add wcslen support.
63780         (WIDE): New macro.
63782 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
63784         * po/it.po: Update from translation team.
63786 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63788         * sysdeps/x86_64/wcscmp.S: Update.
63789         Fix wrong comparison semantics.
63790         wcscmp shall use signed comparison not unsigned.
63791         Don't use substraction to avoid overflow bug.
63792         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
63793         * wcsmbc/wcscmp.c: Likewise.
63794         * string/test-strcmp.c: Likewise.
63795         Add new tests to check cases with negative values.
63797 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
63799         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
63800         * sysdeps/x86_64/dla.h: ...here.  New file.
63801         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
63802         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63803         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63804         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63805         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63806         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
63807         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63808         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63809         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63811 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
63813         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
63814         __ynl_finite aliases.
63816 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
63818         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63820         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
63821         define DLA_FMA.
63822         [DLA_FMA] (EMULV): Use DLA_FMA.
63823         [DLA_FMA] (MUL12): Use EMULV.
63824         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
63825         that are not needed.
63826         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63827         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63828         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63829         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63830         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63831         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63832         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63834 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
63836         * math/s_nan.c: Undef __nan.
63837         * math/s_nanf.c: Undef __nanf.
63838         * math/s_nanl.c: Undef __nanl.
63839         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
63840         "math_private.h".
63842 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
63844         * math/s_catan.c: Add branch predictions.
63845         * math/s_catanf.c: Likewise.
63846         * math/s_catanh.c: Likewise.
63847         * math/s_catanhf.c: Likewise.
63848         * math/s_catanhl.c: Likewise.
63849         * math/s_catanl.c: Likewise.
63850         * math/s_cexp.c: Likewise.
63851         * math/s_cexpf.c: Likewise.
63852         * math/s_cexpl.c: Likewise.
63853         * math/s_clog.c: Likewise.
63854         * math/s_clog10.c: Likewise.
63855         * math/s_clog10f.c: Likewise.
63856         * math/s_clog10l.c: Likewise.
63857         * math/s_clogf.c: Likewise.
63858         * math/s_clogl.c: Likewise.
63859         * math/s_csqrt.c: Likewise.
63860         * math/s_csqrtf.c: Likewise.
63861         * math/s_csqrtl.c: Likewise.
63862         * math/s_ctanf.c: Likewise.
63863         * math/s_ctanh.c: Likewise.
63864         * math/s_ctanhf.c: Likewise.
63865         * math/s_ctanhl.c: Likewise.
63866         * math/s_ctanl.c: Likewise.
63868         * math/math_private.h: Define __nan, __nanf, __nanl.
63869         * math/s_cacosh.c: Include <math_private.h>.
63870         * math/s_cacoshl.c: Likewise.
63871         * math/s_casinh.c: Likewise.
63872         * math/s_casinhf.c: Likewise.
63873         * math/s_casinhl.c: Likewise.
63874         * math/s_ccos.c: Rely entire on ccosh.
63875         * math/s_ccosf.c: Rely entire on ccoshf.
63876         * math/s_ccosl.c: Rely entirely on ccoshl.
63877         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
63878         Remove tests for FE_INVALID.
63879         * math/s_ccoshf.c: Likewise.
63880         * math/s_ccoshl.c: Likewise.
63881         * math/s_csin.c: Likewise.
63882         * math/s_csinf.c: Likewise.
63883         * math/s_csinh.c Likewise.
63884         * math/s_csinhf.c: Likewise.
63885         * math/s_csinhl.c: Likewise.
63886         * math/s_csinl.c: Likewise.
63887         * math/s_ctan.c: Likewise.
63888         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
63889         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
63890         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
63892 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
63894         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
63895         compilation problems.
63897         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
63898         __builtin_expect.
63900 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
63902         * sysdeps/i386/configure.in: Test for -mfma4 option.
63903         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
63904         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
63905         COMMON_CPUID_INDEX_80000001.
63906         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
63907         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
63908         use it if FMA3 is not supported.
63909         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
63911         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
63912         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
63914 2011-10-20  Andreas Schwab  <schwab@redhat.com>
63916         [BZ #12892]
63917         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
63918         it would create a cycle with a link time dependency.
63920 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
63922         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
63923         instruction.
63924         * string/Makefile (strop-tests): Add rawmemchr.
63925         * string/test-rawmemchr.c: New file.
63927         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
63928         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
63929         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
63930         when compiling str{,n}casecmp and when AVX is available.  Hook up
63931         new optimized code in initializers.
63933 2011-10-19  Andreas Schwab  <schwab@redhat.com>
63935         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
63936         __feraiseexcept instead of feraiseexcept.
63938 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
63940         * math/math_private.h: Define defaults for libc_fetestexcept and
63941         libc_feupdateenv.
63942         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
63943         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
63944         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
63945         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
63946         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
63947         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
63948         libc_fetestexcept and libc_feupdateenv.
63950         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
63951         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
63952         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
63953         * sysdeps/x86_64/fpu/math_private.h: Define special version of
63954         libc_feholdexcept_setround.
63956         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
63957         Add s_nearbyint-c and s_nearbyintf-c.
63958         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
63959         nearbyintf inlines.
63960         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
63961         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
63962         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
63963         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
63965         * math/math_private.h: Define defaults for libc_fegetround,
63966         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
63967         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
63968         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
63969         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
63970         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
63971         standard functions.
63972         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
63973         Remove comments and hacks for old compiler versions.
63974         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
63975         libc_fegetround, libc_fesetround, libc_feholdexcept, and
63976         libc_feholdexceptl.
63978 2011-10-18  Andreas Schwab  <schwab@redhat.com>
63980         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
63981         (__feraiseexcept_renamed): Add __NTH.
63982         (feraiseexcept): Add __NTH.  Rename local variables to fix
63983         namespace violations.
63985 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
63987         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
63989         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
63991         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
63992         recently added interfaces.
63993         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
63995         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
63996         about macro parameter expansion.
63998         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
63999         __NO_MATH_INLINES is defined.  Cleanups.
64001         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
64002         and __floorf is target has SSE4.1.
64003         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
64004         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
64005         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
64006         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
64008         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
64009         name.
64010         (floorf): Likewise.
64012         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
64014 2011-10-17  Andreas Schwab  <schwab@redhat.com>
64016         * misc/sys/cdefs.h: Fix last change.
64018         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
64019         database lookup.
64021 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
64023         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
64025         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
64026         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
64027         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
64028         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
64029         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
64030         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
64031         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
64032         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
64033         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
64034         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
64035         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
64036         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
64037         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
64038         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
64039         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
64040         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
64041         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
64042         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
64043         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
64044         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
64045         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
64046         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
64048         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
64049         ceil, ceilf, floor, floorf.
64051         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
64052         Perform IRELATIVE relocations last.
64054         * elf/do-rel.h: Add another parameter nrelative, replacing the
64055         local variable with the same name.  Change name of the function
64056         to end in Rel or Rela (uppercase).
64057         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
64058         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
64059         elf_dynamic_do_##reloc function.
64061 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
64063         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
64064         is sufficient, at least on modern CPUs.
64066         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
64068         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
64069         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
64071         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
64072         __expl_finite.
64073         * math/bits/math-finite.h: Add entries for exp.
64074         * math/e_expl.c: Add __*_finite alias.
64075         * sysdeps/i386/fpu/e_exp.S: Likewise.
64076         * sysdeps/i386/fpu/e_expf.S: Likewise.
64077         * sysdeps/i386/fpu/e_expl.c: Likewise.
64078         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64079         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
64080         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
64081         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
64082         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
64083         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
64084         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
64086         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
64087         is sufficient, at least on modern CPUs.
64089         * ctype/ctype-info.c (__ctype_init): Define.
64090         * include/ctype.h (__ctype_init): Declare.
64091         (__ctype_b_loc): The variable is always initialized.
64092         (__ctype_toupper_loc): Likewise.
64093         (__ctype_tolower_loc): Likewise.
64094         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
64095         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
64097 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
64099         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
64101         * configure.in: Also look in $cxxmachine/include for C++ system
64102         headers.
64104 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64106         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
64107         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
64108         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
64109         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
64110         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
64111         (USE_AS_WMEMCMP): New macro.
64112         Fixing indents.
64113         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
64114         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
64115         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
64116         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
64117         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64118         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
64119         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
64120         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
64121         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
64122         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
64123         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
64124         (USE_AS_WMEMCMP): New macro.
64125         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
64126         * sysdeps/string/test-memcmp.c: Update.
64127         Fix simple_wmemcmp.
64128         Add new tests.
64129         * wcsmbs/wmemcmp.c: Update.
64130         (WMEMCMP): New macro.
64131         Fix overflow bug.
64133 2011-10-12  Andreas Jaeger  <aj@suse.de>
64135         [BZ #13268]
64136         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
64138 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
64140         * libio/iofwide.c (do_length): Avoid warning.
64142         * ctype/ctype.h (__isctype_f): Add missing __THROW.
64144 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
64146         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
64148         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
64149         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
64150         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
64151         * sysdeps/i386/i686/fpu/e_log.S: New file.
64152         * sysdeps/i386/i686/fpu/e_logf.S: New file.
64153         * sysdeps/i386/i686/fpu/e_logl.S: New file.
64155         * ctype/ctype.h: Add support for inlined isXXX functions when
64156         compiling C++ code.
64158 2011-10-14  Andreas Schwab  <schwab@redhat.com>
64160         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64162         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
64164 2011-10-13  Roland McGrath  <roland@hack.frob.com>
64166         [BZ #13291]
64167         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
64169 2011-10-13  Andreas Schwab  <schwab@redhat.com>
64171         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
64172         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
64173         feraiseexcept.
64175         * sysdeps/x86_64/memrchr.S: Check for zero size.
64177         * string/stratcliff.c: Add memrchr tests.
64179 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64181         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64182         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
64183         rawmemchr-sse2 rawmemchr-sse2-bsf.
64184         * sysdeps/i386/i686/multiarch/memchr.S: New file.
64185         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
64186         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
64187         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
64188         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
64189         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
64190         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
64191         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
64192         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
64193         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
64194         * string/memrchr.c (MEMRCHR): New macro.
64196 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
64198         Add integration with gcc's -ffinite-math-only and optimize wrapper
64199         functions in libm.
64200         * Versions.def: Define GLIBC_2.15 version for libm.
64201         * math/Makefile (headers): Add bits/math-finite.h.
64202         * math/bits/math-finite.h: New file.
64203         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
64204         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
64205         * math/e_acoshl.c: Add __*_finite alias.
64206         * math/e_acosl.c: Likewise.
64207         * math/e_asinl.c: Likewise.
64208         * math/e_atan2l.c: Likewise.
64209         * math/e_atanhl.c: Likewise.
64210         * math/e_coshl.c: Likewise.
64211         * math/e_exp10.c: Likewise.
64212         * math/e_exp10f.c: Likewise.
64213         * math/e_exp10l.c: Likewise.
64214         * math/e_exp2l.c: Likewise.
64215         * math/e_fmodl.c: Likewise.
64216         * math/e_gammal_r.c: Likewise.
64217         * math/e_hypotl.c: Likewise.
64218         * math/e_j0l.c: Likewise.
64219         * math/e_j1l.c: Likewise.
64220         * math/e_jnl.c: Likewise.
64221         * math/e_lgammal_r.c: Likewise.
64222         * math/e_log10l.c: Likewise.
64223         * math/e_log2l.c: Likewise.
64224         * math/e_logl.c: Likewise.
64225         * math/e_powl.c: Likewise.
64226         * math/e_sinhl.c: Likewise.
64227         * math/e_sqrtl.c: Likewise.
64228         * math/e_scalb.c: Completely rewritten and optimized.
64229         * math/e_scalbf.c: Likewise.
64230         * math/e_scalbl.c: Likewise.
64231         * math/w_acos.c: Likewise.
64232         * math/w_acosf.c: Likewise.
64233         * math/w_acosl.c: Likewise.
64234         * math/w_acosh.c: Likewise.
64235         * math/w_acoshf.c: Likewise.
64236         * math/w_acoshl.c: Likewise.
64237         * math/w_asin.c: Likewise.
64238         * math/w_asinf.c: Likewise.
64239         * math/w_asinl.c: Likewise.
64240         * math/w_atan2.c: Likewise.
64241         * math/w_atan2f.c: Likewise.
64242         * math/w_atan2l.c: Likewise.
64243         * math/w_atanh.c: Likewise.
64244         * math/w_atanhf.c: Likewise.
64245         * math/w_atanhl.c: Likewise.
64246         * math/w_exp10.c: Likewise.
64247         * math/w_exp10f.c: Likewise.
64248         * math/w_exp10l.c: Likewise.
64249         * math/w_fmod.c: Likewise.
64250         * math/w_fmodf.c: Likewise.
64251         * math/w_fmodl.c: Likewise.
64252         * math/w_j0.c: Likewise.
64253         * math/w_j0f.c: Likewise.
64254         * math/w_j0l.c: Likewise.
64255         * math/w_j1.c: Likewise.
64256         * math/w_j1f.c: Likewise.
64257         * math/w_j1l.c: Likewise.
64258         * math/w_jn.c: Likewise.
64259         * math/w_jnf.c: Likewise.
64260         * math/w_log.c: Likewise.
64261         * math/w_logf.c: Likewise.
64262         * math/w_logl.c: Likewise.
64263         * math/w_log10.c: Likewise.
64264         * math/w_log10f.c: Likewise.
64265         * math/w_log10l.c: Likewise.
64266         * math/w_log2.c: Likewise.
64267         * math/w_log2f.c: Likewise.
64268         * math/w_log2l.c: Likewise.
64269         * math/w_pow.c: Likewise.
64270         * math/w_powf.c: Likewise.
64271         * math/w_powl.c: Likewise.
64272         * math/w_remainder.c: Likewise.
64273         * math/w_remainderf.c: Likewise.
64274         * math/w_remainderl.c: Likewise.
64275         * math/w_scalb.c: Likewise.
64276         * math/w_scalbf.c: Likewise.
64277         * math/w_scalbl.c: Likewise.
64278         * math/w_sqrt.c: Likewise.
64279         * math/w_sqrtf.c: Likewise.
64280         * math/w_sqrtl.c: Likewise.
64281         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
64282         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
64283         used.
64284         * math/math_private.h: Declare __kernel_standard_f.
64285         * math/w_cosh.c: Remove cruft and optimize a bit.
64286         * math/w_coshf.c: Likewise.
64287         * math/w_coshl.c: Likewise.
64288         * math/w_exp2.c: Likewise.
64289         * math/w_exp2f.c: Likewise.
64290         * math/w_exp2l.c: Likewise.
64291         * math/w_hypot.c: Likewise.
64292         * math/w_hypotf.c: Likewise.
64293         * math/w_hypotl.c: Likewise.
64294         * math/w_lgamma.c: Likewise.
64295         * math/w_lgamma_r.c: Likewise.
64296         * math/w_lgammaf.c: Likewise.
64297         * math/w_lgammaf_r.c: Likewise.
64298         * math/w_lgammal.c: Likewise.
64299         * math/w_lgammal_r.c: Likewise.
64300         * math/w_sinh.c: Likewise.
64301         * math/w_sinhf.c: Likewise.
64302         * math/w_sinhl.c: Likewise.
64303         * math/w_tgamma.c: Likewise.
64304         * math/w_tgammaf.c: Likewise.
64305         * math/w_tgammal.c: Likewise.
64306         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
64307         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64308         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
64309         Minor optimizations.  Pretty printing.  Remove cruft.
64310         * sysdeps/i386/fpu/e_acosf.S: Likewise.
64311         * sysdeps/i386/fpu/e_acosh.S: Likewise.
64312         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
64313         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
64314         * sysdeps/i386/fpu/e_acosl.c: Likewise.
64315         * sysdeps/i386/fpu/e_asin.S: Likewise.
64316         * sysdeps/i386/fpu/e_asinf.S: Likewise.
64317         * sysdeps/i386/fpu/e_atan2.S: Likewise.
64318         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
64319         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
64320         * sysdeps/i386/fpu/e_atanh.S: Likewise.
64321         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
64322         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
64323         * sysdeps/i386/fpu/e_exp10.S: Likewise.
64324         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
64325         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
64326         * sysdeps/i386/fpu/e_exp2.S: Likewise.
64327         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
64328         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
64329         * sysdeps/i386/fpu/e_fmod.S: Likewise.
64330         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
64331         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
64332         * sysdeps/i386/fpu/e_hypot.S: Likewise.
64333         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
64334         * sysdeps/i386/fpu/e_log.S: Likewise.
64335         * sysdeps/i386/fpu/e_log10.S: Likewise.
64336         * sysdeps/i386/fpu/e_log10f.S: Likewise.
64337         * sysdeps/i386/fpu/e_log10l.S: Likewise.
64338         * sysdeps/i386/fpu/e_log2.S: Likewise.
64339         * sysdeps/i386/fpu/e_log2f.S: Likewise.
64340         * sysdeps/i386/fpu/e_log2l.S: Likewise.
64341         * sysdeps/i386/fpu/e_logf.S: Likewise.
64342         * sysdeps/i386/fpu/e_logl.S: Likewise.
64343         * sysdeps/i386/fpu/e_pow.S: Likewise.
64344         * sysdeps/i386/fpu/e_powf.S: Likewise.
64345         * sysdeps/i386/fpu/e_powl.S: Likewise.
64346         * sysdeps/i386/fpu/e_remainder.S: Likewise.
64347         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
64348         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
64349         * sysdeps/i386/fpu/e_scalb.S: Likewise.
64350         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
64351         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
64352         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
64353         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
64354         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
64355         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
64356         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
64357         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64358         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
64359         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
64360         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
64361         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
64362         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
64363         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
64364         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
64365         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
64366         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
64367         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64368         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
64369         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
64370         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64371         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
64372         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
64373         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
64374         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64375         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
64376         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
64377         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
64378         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
64379         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
64380         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
64381         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
64382         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
64383         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
64384         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
64385         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
64386         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
64387         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
64388         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
64389         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
64390         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
64391         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
64392         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
64393         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
64394         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
64395         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
64396         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
64397         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
64398         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
64399         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
64400         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
64401         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
64402         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
64403         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
64404         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
64405         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
64406         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
64407         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
64408         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
64409         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
64410         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
64411         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
64412         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
64413         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
64414         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
64415         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
64416         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
64417         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
64418         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
64419         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
64420         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
64421         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
64422         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
64423         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
64424         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
64425         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
64426         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
64427         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
64428         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
64429         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
64430         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
64431         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
64432         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
64433         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
64434         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
64435         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
64436         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
64437         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
64438         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
64439         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
64440         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
64441         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
64442         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
64443         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
64444         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
64445         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
64446         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
64447         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
64448         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
64449         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
64450         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
64451         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
64452         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
64453         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
64454         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
64455         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
64456         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
64457         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
64458         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
64459         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
64460         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
64461         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
64462         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64463         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
64464         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
64465         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
64466         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
64467         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
64468         (__isnanf): Likewise.
64469         (__isinf_ns): Likewise.
64470         (__isinf_nsf): Likewise.
64471         (__finite): Likewise.
64472         (__finitef): Likewise.
64473         (__ieee754_sqrt): Define as macro.
64474         (__ieee754_sqrtf): Define as macro.
64475         (__ieee754_sqrtl): Define as macro.
64476         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
64477         inlined copy.
64478         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
64479         __FINITE_MATH_ONLY__ consistent.
64480         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
64482 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
64484         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
64485         of rawmemchr.
64487         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
64489 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
64491         * po/ja.po: Update from translation team.
64493 2011-10-08  Roland McGrath  <roland@hack.frob.com>
64495         * locale/programs/locarchive.c (prepare_address_space): New function.
64496         (create_archive, enlarge_archive, open_archive): Use it.
64498         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
64499         inside [SHARED], where it is used.
64501         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
64503         * nss/getent.c (netgroup_keys): Remove unused variable.
64504         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
64506 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
64508         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
64509         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
64510         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
64511         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
64512         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
64513         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
64514         * math/Makefile (libm-calls): Add s_isinf_ns.
64515         * math/divtc3.c: Use __isinf_nsl instead of isinf.
64516         * math/multc3.c: Likewise.
64517         * math/s_casin.c: Likewise.
64518         * math/s_casinf.c: Likewise.
64519         * math/s_casinl.c: Likewise.
64520         * math/s_ccos.c: Likewise.
64521         * math/s_ccosf.c: Likewise.
64522         * math/s_ccosl.c: Likewise.
64523         * math/s_ctan.c: Likewise.
64524         * math/s_ctanf.c: Likewise.
64525         * math/s_ctanh.c: Likewise.
64526         * math/s_ctanhf.c: Likewise.
64527         * math/s_ctanhl.c: Likewise.
64528         * math/s_ctanl.c: Likewise.
64529         * math/w_fmod.c: Likewise.
64530         * math/w_fmodf.c: Likewise.
64531         * math/w_fmodl.c: Likewise.
64532         * math/w_remainder.c: Likewise.
64533         * math/w_remainderf.c: Likewise.
64534         * math/w_remainderl.c: Likewise.
64535         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
64536         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
64537         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
64538         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
64539         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
64540         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
64541         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
64542         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
64544         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
64545         of the number.
64546         * stdio-common/printf_fphex.c: Likewise.
64547         * stdio-common/printf_size.c: Likewise.
64549         * math/e_exp10.c: Include math_private.h using <...> not "...".
64550         * math/e_exp10f.c: Likewise.
64551         * math/e_exp10l.c: Likewise.
64552         * math/e_exp2l.c: Likewise.
64553         * math/e_j0l.c: Likewise.
64554         * math/e_j1l.c: Likewise.
64555         * math/e_jnl.c: Likewise.
64556         * math/e_lgammal_r.c: Likewise.
64557         * math/e_rem_pio2l.c: Likewise.
64558         * math/e_scalb.c: Likewise.
64559         * math/e_scalbf.c: Likewise.
64560         * math/e_scalbl.c: Likewise.
64561         * math/k_cosl.c: Likewise.
64562         * math/k_sinl.c: Likewise.
64563         * math/k_tanl.c: Likewise.
64564         * math/s_cacoshf.c: Likewise.
64565         * math/s_catan.c: Likewise.
64566         * math/s_catanf.c: Likewise.
64567         * math/s_catanh.c: Likewise.
64568         * math/s_catanhf.c: Likewise.
64569         * math/s_catanhl.c: Likewise.
64570         * math/s_catanl.c: Likewise.
64571         * math/s_ccosh.c: Likewise.
64572         * math/s_ccoshf.c: Likewise.
64573         * math/s_ccoshl.c: Likewise.
64574         * math/s_cexp.c: Likewise.
64575         * math/s_cexpf.c: Likewise.
64576         * math/s_cexpl.c: Likewise.
64577         * math/s_clog.c: Likewise.
64578         * math/s_clog10.c: Likewise.
64579         * math/s_clog10f.c: Likewise.
64580         * math/s_clog10l.c: Likewise.
64581         * math/s_clogf.c: Likewise.
64582         * math/s_clogl.c: Likewise.
64583         * math/s_csin.c: Likewise.
64584         * math/s_csinf.c: Likewise.
64585         * math/s_csinh.c: Likewise.
64586         * math/s_csinhf.c: Likewise.
64587         * math/s_csinhl.c: Likewise.
64588         * math/s_csinl.c: Likewise.
64589         * math/s_csqrt.c: Likewise.
64590         * math/s_csqrtf.c: Likewise.
64591         * math/s_csqrtl.c: Likewise.
64592         * math/s_ctan.c: Likewise.
64593         * math/s_ctanf.c: Likewise.
64594         * math/s_ctanh.c: Likewise.
64595         * math/s_ctanhf.c: Likewise.
64596         * math/s_ctanhl.c: Likewise.
64597         * math/s_ctanl.c: Likewise.
64598         * math/s_ldexp.c: Likewise.
64599         * math/s_ldexpf.c: Likewise.
64600         * math/s_ldexpl.c: Likewise.
64601         * math/s_significand.c: Likewise.
64602         * math/s_significandf.c: Likewise.
64603         * math/s_significandl.c: Likewise.
64604         * math/w_acos.c: Likewise.
64605         * math/w_acosf.c: Likewise.
64606         * math/w_acosh.c: Likewise.
64607         * math/w_acoshf.c: Likewise.
64608         * math/w_acoshl.c: Likewise.
64609         * math/w_acosl.c: Likewise.
64610         * math/w_asin.c: Likewise.
64611         * math/w_asinf.c: Likewise.
64612         * math/w_asinl.c: Likewise.
64613         * math/w_atan2.c: Likewise.
64614         * math/w_atan2f.c: Likewise.
64615         * math/w_atan2l.c: Likewise.
64616         * math/w_atanh.c: Likewise.
64617         * math/w_atanhf.c: Likewise.
64618         * math/w_atanhl.c: Likewise.
64619         * math/w_cosh.c: Likewise.
64620         * math/w_coshf.c: Likewise.
64621         * math/w_coshl.c: Likewise.
64622         * math/w_dremf.c: Likewise.
64623         * math/w_exp10.c: Likewise.
64624         * math/w_exp10f.c: Likewise.
64625         * math/w_exp10l.c: Likewise.
64626         * math/w_exp2.c: Likewise.
64627         * math/w_exp2f.c: Likewise.
64628         * math/w_fmod.c: Likewise.
64629         * math/w_fmodf.c: Likewise.
64630         * math/w_fmodl.c: Likewise.
64631         * math/w_hypot.c: Likewise.
64632         * math/w_hypotf.c: Likewise.
64633         * math/w_hypotl.c: Likewise.
64634         * math/w_j0.c: Likewise.
64635         * math/w_j0f.c: Likewise.
64636         * math/w_j0l.c: Likewise.
64637         * math/w_j1.c: Likewise.
64638         * math/w_j1f.c: Likewise.
64639         * math/w_j1l.c: Likewise.
64640         * math/w_jn.c: Likewise.
64641         * math/w_jnf.c: Likewise.
64642         * math/w_jnl.c: Likewise.
64643         * math/w_lgamma.c: Likewise.
64644         * math/w_lgamma_r.c: Likewise.
64645         * math/w_lgammaf.c: Likewise.
64646         * math/w_lgammaf_r.c: Likewise.
64647         * math/w_lgammal.c: Likewise.
64648         * math/w_lgammal_r.c: Likewise.
64649         * math/w_log.c: Likewise.
64650         * math/w_log10.c: Likewise.
64651         * math/w_log10f.c: Likewise.
64652         * math/w_log10l.c: Likewise.
64653         * math/w_log2.c: Likewise.
64654         * math/w_log2f.c: Likewise.
64655         * math/w_log2l.c: Likewise.
64656         * math/w_logf.c: Likewise.
64657         * math/w_logl.c: Likewise.
64658         * math/w_pow.c: Likewise.
64659         * math/w_powf.c: Likewise.
64660         * math/w_powl.c: Likewise.
64661         * math/w_remainder.c: Likewise.
64662         * math/w_remainderf.c: Likewise.
64663         * math/w_remainderl.c: Likewise.
64664         * math/w_scalb.c: Likewise.
64665         * math/w_scalbf.c: Likewise.
64666         * math/w_scalbl.c: Likewise.
64667         * math/w_sinh.c: Likewise.
64668         * math/w_sinhf.c: Likewise.
64669         * math/w_sinhl.c: Likewise.
64670         * math/w_sqrt.c: Likewise.
64671         * math/w_sqrtf.c: Likewise.
64672         * math/w_sqrtl.c: Likewise.
64673         * math/w_tgamma.c: Likewise.
64674         * math/w_tgammaf.c: Likewise.
64675         * math/w_tgammal.c: Likewise.
64677         * po/ja.po: Update from translation team.
64679 2011-09-29  Andreas Jaeger  <aj@suse.de>
64681         [BZ #13179]
64682         * sunrpc/netname.c (netname2host): Fix logic.
64684         [BZ #6779]
64685         [BZ #6783]
64686         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
64687         correctly.
64688         * math/w_remainder.c (__remainder): Likewise.
64689         * math/w_remainderf.c (__remainderf): Likewise.
64690         * math/libm-test.inc (remainder_test): Add test cases.
64692 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64694         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
64695         sdiv_qrnnd.
64697 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
64699         * string/test-memcmp.c: Avoid unncessary #defines.
64700         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
64702 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64704         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
64705         Use new sse2 version for core i3 - i7 as it's faster
64706         than sse42 version.
64707         (bit_Prefer_PMINUB_for_stringop): New.
64708         * sysdeps/x86_64/rawmemchr.S: Update.
64709         Replace with faster SSE2 version.
64710         * sysdeps/x86_64/memrchr.S: New file.
64711         * sysdeps/x86_64/memchr.S: Update.
64712         Replace with faster SSE2 version.
64714 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
64716         * elf/dl-load.c (lose): Add cast to avoid warning.
64718 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
64720         * po/ca.po: Update from translation team.
64722         * inet/getnetgrent_r.c: Hook up nscd.
64723         * nscd/Makefile (routines): Add nscd_netgroup.
64724         (nscd-modules): Add netgroupcache.
64725         (CFLAGS-netgroupcache.c): Define.
64726         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
64727         (cache_search): Add const to second parameter.
64728         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
64729         INNETGR.
64730         (dbs): Add netgrdb entry.
64731         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
64732         (verify_persistent_db): Handle netgrdb.
64733         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
64734         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
64735         GETFDNETGR.
64736         (netgroup_response_header): Define.
64737         (innetgroup_response_header): Define.
64738         (datahead): Add netgroup_response_header and innetgroup_response_header
64739         elements.
64740         * nscd/nscd.conf: Add entries for netgroup cache.
64741         * nscd/nscd.h (dbtype): Add netgrdb.
64742         (_PATH_NSCD_NETGROUP_DB): Define.
64743         (netgroup_iov_disabled): Declare.
64744         (xmalloc, xcalloc, xrealloc): Move declarations here.
64745         (cache_search): Adjust prototype.
64746         Add netgroup-related prototypes.
64747         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
64748         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
64749         (__nscd_innetgr): Declare.
64750         * nscd/selinux.c (perms): Use access_vector_t as element type and
64751         add netgroup-related initializers.
64752         * nscd/netgroupcache.c: New file.
64753         * nscd/nscd_netgroup.c: New file.
64754         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
64755         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
64756         For four parameters use innetgr.
64757         * nss/nss_files/files-init.c: Add definition and callback for netgr.
64758         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
64759         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
64760         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
64762         * nscd/connections.c (register_traced_file): Don't register file
64763         for disabled databases.
64765 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
64767         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
64769         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
64770         from tree and freeing node.
64772 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
64774         * nss/nsswitch.c (__nss_database_lookup): Handle
64775         nss_parse_service_list out of memory case.
64777 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
64779         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
64780         out of memory case.
64782 2011-10-04  Andreas Schwab  <schwab@redhat.com>
64784         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
64785         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
64786         pass it down.
64787         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
64788         elf_machine_rela, elf_machine_lazy_rel.
64789         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
64790         (ELF_DYNAMIC_DO_REL): Likewise.
64791         (ELF_DYNAMIC_DO_RELA): Likewise.
64792         (ELF_DYNAMIC_RELOCATE): Likewise.
64793         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
64794         to ELF_DYNAMIC_DO_REL.
64795         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
64796         (dl_main): In trace mode always set __RTLD_NOIFUNC.
64797         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
64798         elf_machine_rela.
64799         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
64800         skip_ifunc, don't call ifunc function if non-zero.
64801         (elf_machine_rela): Likewise.
64802         (elf_machine_lazy_rel): Likewise.
64803         (elf_machine_lazy_rela): Likewise.
64804         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
64805         (elf_machine_lazy_rel): Likewise.
64806         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
64807         Likewise.
64808         (elf_machine_lazy_rel): Likewise.
64809         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64810         Likewise.
64811         (elf_machine_lazy_rel): Likewise.
64812         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
64813         (elf_machine_lazy_rel): Likewise.
64814         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
64815         (elf_machine_lazy_rel): Likewise.
64816         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
64817         (elf_machine_lazy_rel): Likewise.
64818         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
64819         (elf_machine_lazy_rel): Likewise.
64820         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
64821         (elf_machine_lazy_rel): Likewise.
64822         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
64823         (elf_machine_lazy_rel): Likewise.
64825 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
64827         * nss/nss_files/files-init.c (_nss_files_init): Use static
64828         initialization for all the *_traced_file variables.
64830 2011-09-28  Andreas Schwab  <schwab@redhat.com>
64832         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64834 2011-09-27  Roland McGrath  <roland@hack.frob.com>
64836         [BZ #13226]
64837         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
64839 2011-09-27  Andreas Schwab  <schwab@redhat.com>
64841         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
64842         Reread the line before reparsing it.
64844 2011-09-26  Andreas Schwab  <schwab@redhat.com>
64846         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
64848 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
64849             Maxim Kuvyrkov  <maxim@codesourcery.com>
64850             Joseph Myers  <joseph@codesourcery.com>
64852         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
64853         if needed for __stack_chk_guard.
64855 2011-09-19  Roland McGrath  <roland@hack.frob.com>
64857         * sysdeps/posix/spawni.c (script_execute): Always define it.
64858         It will be optimized away if unused.
64859         (maybe_script_execute): New function.
64860         (__spawni): Call it.
64862         * Makerules: Don't include tls.make.
64863         (config-tls): Always set to thread.
64864         * tls.make.c: File removed.
64866 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
64868         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
64869         * config.make.in (CPPFLAGS-config): New substituted variable.
64871 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
64873         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
64875         [BZ #13192]
64876         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
64877         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
64879 2011-09-15  Roland McGrath  <roland@hack.frob.com>
64881         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
64882         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
64883         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
64884         (CALL_FAIL): Likewise.
64885         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
64886         (CALL_FAIL): Macro removed.
64887         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
64889 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
64891         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
64892         for __FINITE_MATH_ONLY__ == 1.
64894 2011-09-15  Andreas Schwab  <schwab@redhat.com>
64896         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
64897         __ieee754_sqrt instead of sqrt.
64898         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
64899         __ieee754_sqrtf instead of sqrtf.
64900         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
64901         __floorf instead of floorf.
64902         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
64903         __floorf, __truncf instead of floorf, truncf.
64905 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
64907         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
64909         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
64910         __extern_always_inline.
64911         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
64912         32-bit.
64914 2011-09-14  Andreas Schwab  <schwab@redhat.com>
64916         * elf/rtld.c (dl_main): Also relocate in dependency order when
64917         doing symbol dependency testing.
64919 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
64921         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64922         Always define `refsym'.
64924 2011-09-13  Andreas Schwab  <schwab@redhat.com>
64926         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
64927         (__FD_ELT): Renamed from __FDELT.
64928         * misc/bits/select2.h (__FD_ELT): Likewise.
64929         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
64930         __FD_MASK instead of __FDELT, __FDMASK.
64931         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
64932         Likewise.
64933         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
64934         Likewise.
64936         * elf/Makefile (gen-ldd): Fix pattern.
64938         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
64939         (init_tls): Likewise.
64941 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
64943         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
64945 2011-09-12  Andreas Schwab  <schwab@redhat.com>
64947         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
64948         `struct cmsghdr *' instead of `void *'.
64949         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
64950         Likewise.
64952 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
64954         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
64955         if non-absolute.
64956         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
64957         ldd_rewrite_script.
64959 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
64961         * configure.in: Remove --with-tls option.
64962         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
64963         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
64964         out in case it is missing.
64965         * sysdeps/ia64/elf/configure.in: Likewise.
64966         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
64967         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
64968         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
64969         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
64970         * sysdeps/sh/elf/configure.in: Likewise.
64971         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
64972         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
64973         * sysdeps/x86_64/elf/configure.in: Likewise.
64974         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
64975         * sysdeps/mach/hurd/tls.h: Likewise.
64977         [BZ #13067]
64978         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
64980         [BZ #13090]
64981         * configure.in: Fix use of AC_INIT.
64983         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
64985 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
64987         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
64988         __set_errno.
64989         * malloc/hooks.c: Likewise.
64991         [BZ #11929]
64992         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
64993         variables statically.
64994         (narenas): Initialize.
64995         (list_lock): Initialize.
64996         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
64997         initializtion of main_arena and list_lock.  Small cleanups.
64998         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
64999         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
65000         Add initializers to main_arena and mp_.
65001         (malloc_state): Remove pagesize member.  Change all users to use
65002         GLRO(dl_pagesize).
65004         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
65005         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
65006         is always initialized.
65008         * malloc/malloc.c: Removed unused configurations and dead code.
65009         * malloc/arena.c: Likewise.
65010         * malloc/hooks.c: Likewise.
65011         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
65013         * include/tls.h: Removed.  USE___THREAD must always be defined.
65014         * bits/libc-tsd.h: Don't handle !USE___THREAD.
65015         * elf/dl-libc.c: Likewise.
65016         * elf/dl-tsd.c: Likewise.
65017         * include/errno.h: Likewise.
65018         * include/netdb.h: Likewise.
65019         * include/resolv.h: Likewise.
65020         * inet/herrno-loc.c: Likewise.
65021         * inet/herrno.c: Likewise.
65022         * malloc/arena.c: Likewise.
65023         * malloc/hooks.c: Likewise.
65024         * malloc/malloc.c: Likewise.
65025         * resolv/res-state.c: Likewise.
65026         * resolv/res_libc.c: Likewise.
65027         * sysdeps/i386/dl-machine.h: Likewise.
65028         * sysdeps/ia64/dl-machine.h: Likewise.
65029         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
65030         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
65031         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
65032         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
65033         * sysdeps/sh/dl-machine.h: Likewise.
65034         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
65035         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
65036         * sysdeps/unix/i386/sysdep.S: Likewise.
65037         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
65038         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
65039         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
65040         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
65041         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
65042         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
65043         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
65044         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
65045         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65046         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
65047         * sysdeps/unix/x86_64/sysdep.S: Likewise.
65048         * sysdeps/x86_64/dl-machine.h: Likewise.
65049         * tls.make.c: Likewise.
65051         * configure.in: Remove --with-__thread option.  Make tests for
65052         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
65053         tls_model attribute fail if no support is available.  Remove
65054         USE_IN_LIBIO.
65055         * Makeconfig: Adjust for dropped configure option.  All features are
65056         now mandatory.
65057         * Makerules: Likewise.
65058         * Versions.def: Likewise.
65059         * argp/argp-fmtstream.c: Likewise.
65060         * argp/argp-fmtstream.h: Likewise.
65061         * argp/argp-help.c: Likewise.
65062         * assert/assert.c: Likewise.
65063         * config.h.in: Likewise.
65064         * config.make.in: Likewise.
65065         * configure: Likewise.
65066         * configure.in: Likewise.
65067         * csu/Versions: Likewise.
65068         * csu/init.c: Likewise.
65069         * elf/tst-audit2.c: Likewise.
65070         * elf/tst-tls10.c: Likewise.
65071         * elf/tst-tls10.h: Likewise.
65072         * elf/tst-tls11.c: Likewise.
65073         * elf/tst-tls12.c: Likewise.
65074         * elf/tst-tls14.c: Likewise.
65075         * elf/tst-tlsmod11.c: Likewise.
65076         * elf/tst-tlsmod12.c: Likewise.
65077         * elf/tst-tlsmod13.c: Likewise.
65078         * elf/tst-tlsmod13a.c: Likewise.
65079         * elf/tst-tlsmod14a.c: Likewise.
65080         * elf/tst-tlsmod15b.c: Likewise.
65081         * elf/tst-tlsmod16a.c: Likewise.
65082         * elf/tst-tlsmod16b.c: Likewise.
65083         * elf/tst-tlsmod7.c: Likewise.
65084         * elf/tst-tlsmod8.c: Likewise.
65085         * elf/tst-tlsmod9.c: Likewise.
65086         * gmon/gmon.c: Likewise.
65087         * grp/fgetgrent_r.c: Likewise.
65088         * grp/putgrent.c: Likewise.
65089         * hurd/fopenport.c: Likewise.
65090         * include/libc-symbols.h: Likewise.
65091         * include/tls.h: Likewise.
65092         * intl/gettextP.h: Likewise.
65093         * intl/loadinfo.h: Likewise.
65094         * locale/global-locale.c: Likewise.
65095         * locale/localeinfo.h: Likewise.
65096         * mach/devstream.c: Likewise.
65097         * malloc/arena.c: Likewise.
65098         * malloc/set-freeres.c: Likewise.
65099         * misc/err.c: Likewise.
65100         * misc/getttyent.c: Likewise.
65101         * misc/mntent_r.c: Likewise.
65102         * posix/getopt.c: Likewise.
65103         * posix/wordexp.c: Likewise.
65104         * pwd/fgetpwent_r.c: Likewise.
65105         * resolv/Versions: Likewise.
65106         * resolv/res_hconf.c: Likewise.
65107         * shadow/fgetspent_r.c: Likewise.
65108         * shadow/putspent.c: Likewise.
65109         * stdio-common/printf_fphex.c: Likewise.
65110         * stdio-common/tmpfile.c: Likewise.
65111         * stdlib/abort.c: Likewise.
65112         * stdlib/fmtmsg.c: Likewise.
65113         * sunrpc/auth_unix.c: Likewise.
65114         * sunrpc/clnt_perr.c: Likewise.
65115         * sunrpc/clnt_tcp.c: Likewise.
65116         * sunrpc/clnt_udp.c: Likewise.
65117         * sunrpc/clnt_unix.c: Likewise.
65118         * sunrpc/openchild.c: Likewise.
65119         * sunrpc/svc_simple.c: Likewise.
65120         * sunrpc/svc_tcp.c: Likewise.
65121         * sunrpc/svc_udp.c: Likewise.
65122         * sunrpc/svc_unix.c: Likewise.
65123         * sunrpc/xdr.c: Likewise.
65124         * sunrpc/xdr_array.c: Likewise.
65125         * sunrpc/xdr_rec.c: Likewise.
65126         * sunrpc/xdr_ref.c: Likewise.
65127         * sunrpc/xdr_stdio.c: Likewise.
65129 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
65131         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65133 2011-07-03  Andreas Jaeger  <aj@suse.de>
65135         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
65136         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
65137         regenerate with gen-libm-tests.pl.
65139 2010-05-12  Petr Baudis  <pasky@suse.cz>
65141         [BZ #11589]
65142         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
65143         around j0() zero points by switching to j1().
65144         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
65145         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
65146         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
65147         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
65149 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
65151         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
65152         instead of 0.
65153         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
65154         instead of 0.
65155         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
65156         Patch in part by Pavel Roskin <proski@gnu.org>.
65158         [BZ #13138]
65159         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
65160         realloc.
65161         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
65162         Free memory block if necessary.
65164         [BZ #12847]
65165         * libio/genops.c (INTDEF): For string streams the _lock pointer can
65166         be NULL.  Don't lock in this case.
65168 2011-09-09  Roland McGrath  <roland@hack.frob.com>
65170         * elf/elf.h (ELFOSABI_GNU): New macro.
65171         (ELFOSABI_LINUX): Define to that.
65173 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
65175         * string/strncat.c (strncat): Undef the symbol in case it has been
65176         defined in bits/string.h.
65178 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
65180         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
65182         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
65183         link map.
65185 2011-08-17  Andreas Jaeger  <aj@suse.de>
65187         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
65189 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
65190             Ian Lance Taylor  <iant@google.com>
65192         * math/libm-test.inc (lround_test): New testcase.
65193         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
65195 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
65197         * Makefile: Remove support for automatic cvs check-ins.
65198         * Makerules: Likewise.
65199         * config.make.in: Likewise.
65200         * configure.in: Likewise.
65201         * intl/Makefile: Likewise.
65202         * locale/Makefile: Likewise.
65203         * po/Makefile: Likewise.
65204         * posix/Makefile: Likewise.
65205         * sysdeps/gnu/Makefile: Likewise.
65206         * sysdeps/mach/hurd/Makefile: Likewise.
65207         * sysdeps/sparc/sparc32/Makefile: Likewise.
65209         [BZ #13118]
65210         * posix/Makefile (bug-regex32-ENV): Define.
65211         Patch by John Stanley <jpsinthemix@verizon.net>.
65213         * misc/Makefile (headers): Add bits/select2.h.
65214         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
65215         * misc/bits/select2.h: New file.
65216         * include/bits/select2.h: New file.
65217         * debug/Makefile (routines): Add fdelt_chk.
65218         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
65219         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
65220         FD_ISSET.
65221         * debug/fdelt_chk.c: New file.
65223         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
65224         * wcsmbs/test-wmemcmp.c: Likewise.
65225         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
65226         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
65228 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65230         * string/Makefile (strop-tests): Add memcmp.
65231         * string/test-wmemcmp.c: New file.
65232         * string/test-memcmp.c: Add wmemcmp support.
65234 2011-09-08  Roland McGrath  <roland@hack.frob.com>
65236         [BZ #13153]
65237         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
65238         2011-07-19 change.
65240         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
65241         garbage value in a __mach_port_mod_refs call in the cases of the
65242         task-self and thread-self ports.
65244 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65246         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
65248 2011-09-08  Andreas Schwab  <schwab@redhat.com>
65250         * elf/dl-load.c (lose): Check for non-null L.
65252 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
65254         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
65256         * elf/dl-libc.c (dlerror_run): Pass back error code from
65257         dl_catch_error.
65259         [BZ #13123]
65260         * elf/dl-load.c (lose): Free l_origin if it is valid.
65262         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
65263         names.
65264         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
65265         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
65266         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
65267         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
65268         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
65269         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
65271 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65273         * sysdeps/powerpc/fpu/e_hypot.c: New file.
65274         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
65275         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
65276         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
65277         * sysdeps/powerpc/fpu/k_cosf.c: New file.
65278         * sysdeps/powerpc/fpu/k_sinf.c: New file.
65279         * sysdeps/powerpc/fpu/s_cosf.c: New file.
65280         * sysdeps/powerpc/fpu/s_sinf.c: New file.
65281         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
65282         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
65284 2011-08-15  Alan Modra  <amodra@gmail.com>
65286         [BZ #13092]
65287         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
65288         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
65289         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
65290         ppc_mcount to static-only-routines.
65291         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
65292         __mcount_internal.
65293         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
65294         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
65296 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
65298         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
65299         for finite and infinity parameters.
65301 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
65303         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
65304         and add nop instructions for throughput optimization.
65305         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
65307 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
65309         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
65310         aligned copy for power7 with vector-scalar instructions.
65311         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
65313 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
65315         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
65316         AVX check.
65318 2011-09-07  Andreas Schwab  <schwab@redhat.com>
65320         [BZ #13144]
65321         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
65322         last change.
65324 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
65326         * sysdeps/unix/sysv/linux/x86_64/init-first.c
65327         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
65328         syscall wrapper around clock_gettime in __vdso_clock_gettime.
65329         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
65330         clock_gettime.
65332 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
65334         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
65335         Forgot to demangle the pointer.
65337         * sysdeps/i386/sysdep.h: Define atom_text_section.
65338         * sysdeps/x86_64/sysdep.h: Likewise.
65339         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
65340         section with atom_text_section.
65341         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
65342         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
65343         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
65344         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
65345         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
65347         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
65348         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
65349         already be defined.  Change to take two parameters and don't assign
65350         result to variable.  Adjust all users.
65351         Define INTERNAL_GETTIME if not already defined.
65352         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
65353         call.
65354         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
65355         HAVE_CLOCK_GETTIME_VSYSCALL.
65356         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
65358         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
65359         gettimeofday vsyscall, just use time.
65361 2011-09-06  Andreas Schwab  <schwab@redhat.com>
65363         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
65364         <errno.h>.
65366 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
65368         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
65369         syscall on x86-64.
65370         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
65371         syscall.
65372         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
65373         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
65374         syscall if possible.
65376 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
65378         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
65379         e_ident.  Don't pass to find_mapsXX.
65380         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
65382 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65384         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65385         strchr-sse2-no-bsf strrchr-sse2-no-bsf
65386         * sysdeps/x86_64/multiarch/strchr.S: Update.
65387         Check bit_slow_BSF bit.
65388         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
65389         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
65390         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
65392 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
65394         [BZ #13134]
65395         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
65396         before glibc 2.15.
65397         (tryshell): Define.
65398         (__spawni): Change last parameter to be flag.  Test
65399         SPAWN_XFLAGS_USE_PATH flag to use path or not.
65400         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
65401         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
65402         * posix/spawni.c: Likewise.
65403         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
65404         * posix/spawnp.c: Likewise.  Change normal version to use
65405         SPAWN_XFLAGS_USE_PATH.
65406         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
65407         SPAWN_XFLAGS_TRY_SHELL.
65409         [BZ #13150]
65410         * posix/glob.h: Remove gcc 1.x support.
65412         [BZ #13068]
65413         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
65415 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65417         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65418         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
65419         strrchr-sse2-bsf
65420         * sysdeps/i386/i686/multiarch/strchr.S: New file.
65421         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
65422         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
65423         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
65424         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
65425         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
65427 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65429         * sysdeps/x86_64/wcscmp.S: New file.
65431         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
65432         wcscmp-c wcscmp-sse2
65433         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
65434         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
65435         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
65436         * wcsmbs/wcscmp.c: Allow renaming.
65438 2011-09-05  David S. Miller  <davem@davemloft.net>
65440         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
65441         stack slot, rather than the struct return pointer slot.
65442         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
65443         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
65444         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
65445         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
65447 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
65449         * po/ja.po: Update from translation team.
65451         [BZ #13144]
65452         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
65453         kernel in 64-bit binaries.
65455 2011-09-01  David S. Miller  <davem@davemloft.net>
65457         * elf/elf.h (HWCAP_SPARC_*): Move to..
65458         * sysdeps/sparc/sysdep.h: this new file and add new values.
65459         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
65460         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
65461         _DL_HWCAP_COUNT to 24.
65462         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
65463         entries.
65464         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
65465         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
65466         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
65467         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
65468         instead of magic constants.
65469         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65471 2011-08-31  David S. Miller  <davem@davemloft.net>
65473         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
65474         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
65475         Reimplement to do errno handling inline.
65476         (SYSCALL_ERROR_HANDLER): New macro.
65477         (__SYSCALL_STRING): Do not do errno handling in asm.
65478         (__CLONE_SYSCALL_STRING): Delete.
65479         (__INTERNAL_SYSCALL_STRING): Delete.
65480         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
65481         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
65482         (PSEUDO): Reimplement to do errno handling inline.
65483         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
65484         (SYSCALL_ERROR_HANDLER): New macro.
65485         (__SYSCALL_STRING): Do not do errno handling in asm.
65486         (__CLONE_SYSCALL_STRING): Delete.
65487         (__INTERNAL_SYSCALL_STRING): Delete.
65488         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
65489         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
65490         i386.
65491         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
65492         (inline_syscall*): Add 'err' argument.
65493         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
65494         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
65495         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
65496         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
65498         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
65499         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
65501 2011-08-30  Andreas Schwab  <schwab@redhat.com>
65503         * elf/rtld.c (dl_main): Relocate objects in dependency order.
65505 2011-08-29  Jiri Olsa <jolsa@redhat.com>
65507         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
65508         directive.
65510 2011-08-24  David S. Miller  <davem@davemloft.net>
65512         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
65514 2011-08-24  Andreas Schwab  <schwab@redhat.com>
65516         * elf/Makefile: Add rules to build and run unload8 test.
65517         * elf/unload8.c: New file.
65518         * elf/unload8mod1.c: New file.
65519         * elf/unload8mod1x.c: New file.
65520         * elf/unload8mod2.c: New file.
65521         * elf/unload8mod3.c: New file.
65523         * elf/dl-close.c (_dl_close_worker): Reset private search list if
65524         it wasn't used.
65526 2011-08-23  David S. Miller  <davem@davemloft.net>
65528         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
65529         subtract stack bias.
65530         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
65531         %sp not %fp in calculations.
65532         (_JMPBUF_UNWINDS_ADJ): Likewise.
65534         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
65535         (aio_suspend): Call it to force an exception region around the
65536         AIO_MISC_WAIT() invocation.
65538 2011-08-23  Andreas Schwab  <schwab@redhat.com>
65540         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
65541         backslash.
65543 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
65545         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
65546         protection macro.
65547         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
65548         and <dl-machine.h>.
65549         (Elf64_FuncDesc): Remove.
65551 2011-08-22  David S. Miller  <davem@davemloft.net>
65553         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
65554         sigaltstack check, add missing cfi directives.
65555         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
65556         missing cfi directives, and sigaltstack handling.
65558 2011-08-16  Andreas Schwab  <schwab@redhat.com>
65560         [BZ #11724]
65561         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
65562         object is seen twice.
65563         * elf/dl-fini.c (_dl_sort_fini): Likewise.
65565         * elf/Makefile (distribute): Add tst-initorder2.c.
65566         (tests): Add tst-initorder2.
65567         (modules-names): Add tst-initorder2a tst-initorder2b
65568         tst-initorder2c tst-initorder2d.  Add rules to build them.
65569         ($(objpfx)tst-initorder2.out): New rule.
65570         * elf/tst-initorder2.c: New file.
65571         * elf/tst-initorder2.exp: New file.
65573 2011-08-22  Andreas Schwab  <schwab@redhat.com>
65575         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
65577         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
65578         dependencies back to end of function.
65580         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
65581         $(elfobjdir)/ld.so.
65583 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
65585         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
65586         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
65587         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
65588         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
65589         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
65590         of __vdso_gettimeofday.
65591         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
65592         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
65593         attribute_hidden.
65594         (_libc_vdso_platform_setup): Remove initialization of
65595         __vdso_gettimeofday and __vdso_time.
65597 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
65599         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
65600         and fgetc_unlocked.
65601         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
65602         getc_unlocked.
65604         * elf/dl-open.c (add_to_global): Report additions to the global scope
65605         for LD_DEBUG=scopes.
65606         (dl_open_worker): Also print scope of newly loaded dependencies.
65607         (_dl_show_scope): Indicate if there is no scope.
65609         [BZ #13114]
65610         * stdio-common/Makefile (tests): Add bug24.
65611         * stdio-common/bug24.c: New file.
65613 2011-08-19  Andreas Jaeger  <aj@suse.de>
65615         [BZ #13114]
65616         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
65617         non-existant file when using close-on-exec mode.
65619 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
65621         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
65622         the very first instruction.
65624         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
65625         the CFI state in the end.
65626         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
65627         inclusion of dl-trampoline.h.
65628         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
65630 2011-08-19  Andreas Schwab  <schwab@redhat.com>
65632         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
65633         expectations for long double.
65635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
65636         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
65638 2011-08-14  David S. Miller  <davem@davemloft.net>
65640         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
65641         artificual limit depends upon the system page size.
65643 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
65645         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
65646         * resolv/Makefile: Define CFLAGS-libresolv.
65648 2011-08-17  Andreas Schwab  <schwab@redhat.com>
65650         * nss/makedb.c (compute_tables): Make variables used in nested
65651         function static.
65653 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
65655         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
65656         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
65657         if buffer was too small.
65659         * elf/pldd.c (main): Attach to all threads in the process.
65660         Rewrite /proc handling to use *at functions.
65662 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
65664         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
65665         specifies first scope to show.
65666         (dl_open_worker): Update callers.  Move printing scope of new
65667         object to before the relocation.
65668         * elf/rtld.c (dl_main): Update _dl_show_scope call.
65669         * sysdeps/generic/ldsodefs.h: Update declaration.
65671         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
65672         string for the scope number.
65674 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
65676         * nscd/servicescache.c (cache_addserv): Make sure written is always
65677         initialized.
65679 2011-08-14  Roland McGrath  <roland@hack.frob.com>
65681         * sysdeps/i386/i486/bits/atomic.h
65682         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
65683         statement expression, so as to suppress "set but not used" warning.
65684         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
65686         * string/strncat.c (STRNCAT): Use prototype definition.
65688         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
65689         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
65690         -Iprograms here.
65691         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
65692         (localedef-modules): Add localedef.
65693         (locale-modules): Add locale.
65695         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
65696         * elf/rtld.c (dl_main): Invert order of assignment in last change,
65697         to avoid a warning.
65699 2011-08-14  David S. Miller  <davem@davemloft.net>
65701         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
65702         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
65704 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
65706         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
65707         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
65708         * elf/rtld.c (dl_main): Set l_name of vDSO.
65709         Call _dl_show_scope when DL_DEBUG_SCOPES.
65710         (process_dl_debug): Recognize scopes flag and also set it for all.
65711         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
65712         Declare _dl_show_scope.
65714         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
65715         (do_dlopen): Pass caller_dlopen to dl_open.
65716         (__libc_dlopen_mode): Initialize caller_dlopen.
65718         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
65719         of libc.  Make tolower call locale-independent.  Optimize a bit by
65720         using isdigit instead of isalnum.
65721         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
65723 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
65725         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
65726         was a dependency or dynamically loaded.
65728 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
65730         * intl/l10nflist.c: Allow architecture-specific pop function.
65731         * sysdeps/x86_64/l10nflist.c: New file.
65733         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
65734         classification.
65736 2011-08-10  Andreas Schwab  <schwab@redhat.com>
65738         * include/dirent.h: Add libc_hidden_proto for scandirat and
65739         scandirat64.  Don't declare __scandirat64.
65740         * dirent/scandirat.c: Add libc_hidden_def.
65741         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
65742         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
65744 2011-08-10  David S. Miller  <davem@davemloft.net>
65746         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
65747         enum.
65748         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
65749         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
65750         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
65752 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
65754         * Versions.def [libc]: Add GLIBC_2.15.
65755         * dirent/Makefile (routines): Add scandirat and scandirat64.
65756         * dirent/Versions [libc]: Export scandirat and scandirat64 for
65757         GLIBC_2.15.
65758         * dirent/dirent.h: Declare scandirat and scandirat64.
65759         * dirent/scandirat.c: New file.
65760         * dirent/scandirat64.c: New file.
65761         * sysdeps/wordsize-64/scandirat.c: New file.
65762         * sysdeps/wordsize-64/scandirat64.c: New file.
65763         * dirent/opendir.c: Define opendirat.
65764         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
65765         using scandirat.
65766         * dirent/scandir64.c: Adjust for scandir.c change.
65767         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
65768         __scandirat64, and __scandir_cancel_handler.
65769         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
65770         additional parameter and use openat instead of open (outside of ld.so).
65771         Add new __opendir as wrapper around __opendirat.
65772         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
65773         here without requiring old scandirat implementation.
65775 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
65777         * dirent/scandir.c (cancel_handler): Renamed to
65778         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
65779         defined.  Adjust users.
65780         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
65781         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
65783 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
65785         * string/test-string.h (IMPL): Use __STRING to expand name and then
65786         stringify it.
65788         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
65789         of cleanups.
65791 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65793         * string/Makefile: Update.
65794         (strop-tests): Append strncat.
65795         * string/test-wcscmp.c: New file.
65796         New comprehensive test for wcscmp.
65797         * string/test-strcmp.c: Update.
65798         (WIDE): New define.
65800 2011-07-22  Andreas Schwab  <schwab@redhat.com>
65802         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
65803         line.
65805 2011-07-26  Andreas Schwab  <schwab@redhat.com>
65807         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
65808         encoding to ACE if AI_IDN.
65810 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
65812         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
65813         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
65815 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65817         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
65818         Fix overflow bug in strncat.
65819         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
65821         * string/test-strncat.c: Update.
65822         Add new tests for checking overflow bugs.
65824 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65826         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65827         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
65828         * sysdeps/i386/i686/multiarch/strcat.S: New file.
65829         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
65830         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
65831         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
65832         * sysdeps/i386/i686/multiarch/strncat.S: New file.
65833         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
65834         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
65836         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
65837         (USE_AS_STRCAT): Define.
65838         Add strcat and strncat support.
65839         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
65841 2011-07-25  Andreas Schwab  <schwab@redhat.com>
65843         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
65844         __n bigger than INT_MAX+1.
65845         (__strncmp_g): Likewise.
65847 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
65849         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
65850         * libio/stido.h: Likewise.
65852         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
65853         (AF_NFC): Define.
65854         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
65855         (AF_NFC): Define.
65857         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
65858         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
65859         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
65860         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
65861         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
65863         [BZ #13021]
65864         * scripts/test-installation.pl: Don't expect libnss_test1 to be
65865         installed.
65867         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
65868         typo.
65869         (_dl_x86_64_save_sse): Likewise.
65871 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
65873         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
65874         OSXSAVE.
65875         (_dl_x86_64_save_sse): Likewise.
65877         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
65879         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
65881 2011-07-21  Andreas Schwab  <schwab@redhat.com>
65883         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
65884         change.
65885         (_dl_x86_64_save_sse): Use correct AVX check.
65887 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65889         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
65890         bug in strncpy/strncat.
65891         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
65893 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
65895         * string/tester.c (test_strcat): Add tests for different alignments
65896         of source and destination.
65897         (test_strncat): Likewise.
65899 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
65901         [BZ #12852]
65902         * posix/glob.c (glob): Check passed in values before using them in
65903         expressions to avoid some overflows.
65904         (glob_in_dir): Likewise.
65906         [BZ #13007]
65907         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
65908         check for AVX enablement so that we don't crash with old kernels and
65909         new hardware.
65910         * elf/tst-audit4.c: Add same checks here.
65911         * elf/tst-audit6.c: Likewise.
65913         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
65915 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
65917         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
65919 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
65921         * po/cs.po: Update from translation team.
65922         * po/bg.po: Likewise.
65924 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
65926         * misc/sys/cdefs.h: Add support for const attribute.
65927         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
65928         to gnu_dev_{major,minor,makedev} functions.
65930 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
65932         * intl/dcigettext.c (get_output_charset): Add missing bracket.
65934 2011-07-20  Andreas Schwab  <schwab@redhat.com>
65936         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
65937         strlen results.
65939 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65941         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
65942         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
65943         register in order to avoid conflicts with the soft frame pointer
65944         being held in r11 when necessary.
65945         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
65946         (INTERNAL_VSYSCALL_NCS): Likewise.
65948 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
65950         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
65951         * elf/dl-fini.c (_dl_fini): Adjust caller.
65952         * elf/dl-close.c (_dl_close_worker): Likewise.
65953         * sysdeps/generic/ldsodefs.h: Adjust declaration.
65955 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
65957         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
65958         "aux_cache->nlibs < 0".
65960         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
65961         in the reload-count case.
65963 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65965         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65966         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
65967         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
65968         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
65969         * sysdeps/x86_64/multiarch/strcat.S: New file.
65970         * sysdeps/x86_64/multiarch/strncat.S: New file.
65971         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
65972         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
65973         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
65974         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
65975         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
65976         (USE_AS_STRCAT): Define.
65977         Add strcat and strncat support.
65978         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
65979         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
65980         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
65981         * string/strncat.c: Update.
65982         (USE_AS_STRNCAT): Define.
65983         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65984         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
65985         and i7.
65986         * sysdeps/x86_64/multiarch/init-arch.h
65987         (bit_Prefer_PMINUB_for_stringop): New.
65988         (index_Prefer_PMINUB_for_stringop): Likewise.
65989         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
65990         bit_Prefer_PMINUB_for_stringop.
65992 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
65994         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
65995         buffer64.
65996         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
65997         of casting of buffer.
65998         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
65999         buffer32 and buffer64.
66000         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
66001         writes instead of casting of buffer.
66002         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
66003         buffer32.
66004         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
66005         casting of buffer.
66007 2011-07-19  Andreas Schwab  <schwab@redhat.com>
66009         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
66011 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
66013         * nscd/nscd.c (termination_handler): Don't do anything for a database
66014         if it has not yet been initialized.
66016 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
66018         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
66020 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
66022         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
66024 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
66026         * po/nl.po: Update from translation team.
66027         * po/sv.po: Likewise.
66029 2011-07-16  Roland McGrath  <roland@hack.frob.com>
66031         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
66032         now disallowed by GCC.
66034         * configure.in (use-default-link): Default to yes if a test -shared
66035         link meets our qualifications.
66036         * configure: Regenerated.
66038         * config.make.in (output-format): New variable.
66039         * configure.in: Check for ld --print-output-format support.
66040         * configure: Regenerated.
66041         * Makerules ($(common-objpfx)format.lds)
66042         [$(output-format) != unknown]: Just use $(output-format),
66043         instead of the linker-script munging.
66045 2011-07-14  Roland McGrath  <roland@hack.frob.com>
66047         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
66048         of $(common-objpfx)shlib.lds.
66049         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
66051         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
66052         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
66054         * configure.in (-z relro check): Adjust test code to add a large
66055         writable data section after it.
66056         * configure: Regenerated.
66058 2011-07-11  Roland McGrath  <roland@hack.frob.com>
66060         * configure.in (-z relro check): Fix test code to make the variable
66061         truly const.
66062         * configure: Regenerated.
66064 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
66066         * nscd/nscd.h (struct traced_file): Define.
66067         (struct database_dyn): Remove inotify_descr, reset_res, and filename
66068         elements.  Add traced_files.
66069         (inotify_fd): Declare.
66070         (register_traced_file): Declare.
66071         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
66072         (inotify_fd): Export.
66073         (resolv_conf_descr): Remove.
66074         (nscd_init): Move inotify descriptor creation to main.
66075         Don't register files for notification here.
66076         (register_traced_file): New function.
66077         (invalidate_cache): Don't use reset_res to determine whether to call
66078         res_init, go through the list of registered files.
66079         (main_loop_poll): The inotify descriptors are now stored in the
66080         structures for the traced files.
66081         (main_loop_epoll): Likewise
66082         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
66083         to __nss_disable_nscd.
66084         * nscd/cache.c (prune_cache): There is no single inotify descriptor
66085         for a database anymore.  Check the records for all the registered
66086         files instead.
66087         * nss/Makefile (libnss_files-routines): Add files-init.
66088         (libnss_db-routines): Add db-init.
66089         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
66090         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
66091         * nss/nss_db/db-init.c: New file.
66092         * nss/nss_files/files-init.c: New file.
66093         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
66094         __nss_lookup_function.
66095         (__nss_lookup_function): Call nss_load_library.
66096         (nss_load_all_libraries): New function.
66097         (__nss_disable_nscd): Take parameter with callback function for files
66098         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
66099         used for the cached services.
66100         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
66101         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
66102         options for features to all the files in nscd.
66104         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
66106 2011-07-10  Roland McGrath  <roland@hack.frob.com>
66108         * csu/elf-init.c (__libc_csu_init): Comment typo.
66110 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
66112         * po/pl.po: Update from translation team.
66113         * po/ja.po: Likewise.
66114         * po/ru.po: Likewise.
66115         * po/ko.po: Likewise.
66116         * po/fr.po: Likewise.
66118 2011-07-09  Roland McGrath  <roland@hack.frob.com>
66120         * configure.in (.ctors/.dtors header and trailer check):
66121         Use an empirical test on a built program.
66122         * configure: Regenerated.
66124         * configure.in (-z relro check): Use an empirical test on a built DSO.
66125         Detect, but do not require, on ia64.
66126         * configure: Regenerated.
66128         * configure.in (READELF): Find it with AC_CHECK_TOOL.
66129         Update tests that use readelf to use $READELF instead.
66130         * configure: Regenerated.
66132 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
66134         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
66135         if the result is not used.
66137 2011-07-05  Andreas Jaeger  <aj@suse.de>
66139         [BZ#9696]
66140         * stdlib/tst-strtod.c: Add testcase.
66142 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
66144         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
66145         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
66146         The latter has a higher limit.  Take additional parameter to pass to
66147         the new function.
66148         (__pathconf): Pass file to __statfs_link_max.
66149         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
66150         __statfs_link_max.
66151         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
66152         __statfs_link_max.
66154         [BZ #12868]
66155         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
66156         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
66157         Handle Lustre.
66158         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
66159         (__statfs_filesize_max): Likewise.
66160         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
66162 2011-07-05  Andreas Jaeger  <aj@suse.de>
66164         * resolv/res_comp.c (dn_skipname): Remove unused variable.
66166 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
66168         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
66169         `status' variable.
66170         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
66171         Likewise.
66173 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
66175         * Makefile (strop-tests): Add strncat.
66176         * string/test-strncat.c: New file.
66178 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
66180         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
66182 2011-06-21  Andreas Jaeger  <aj@suse.de>
66184         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
66185         Copy rule from iconvdata/Makefile.
66187 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
66189         [BZ #12922]
66190         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
66191         but no long options are defined, just return 'W'.
66193 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
66195         [BZ #9696]
66196         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
66198 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
66200         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
66201         netgroups to read.
66202         (innetgr): Likewise.
66204 2011-07-05  Roland McGrath  <roland@hack.frob.com>
66206         * config.make.in (install_root): Default to $(DESTDIR).
66208 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
66210         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
66212 2011-07-02  Roland McGrath  <roland@hack.frob.com>
66214         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
66216         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
66217         containing directory rather than embedding absolute directory names.
66219         * scripts/check-local-headers.sh: Rewritten using awk.
66220         Match by word, not by line.  Print error messages for matches.
66221         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
66223         * Makerules [shlib-lds-flags empty]:
66224         ($(common-objpfx)libc_pic.opts): New target.
66225         ($(common-objpfx)libc_pic.os.clean): New target.
66226         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
66228         * config.make.in (OBJCOPY): New variable.
66229         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
66230         * configure: Regenerated.
66232         * config.make.in (use-default-link): New variable.
66233         * configure.in (use_default_link): Grok --with-default-link to set it.
66234         * configure: Regenerated.
66235         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
66236         (shlib-lds, shlib-lds-flags): Define to empty.
66238         * Makerules (shlib-lds): New variable.
66239         (shlib-lds-flags): New variable.
66240         (build-shlib, build-moduile, build-module-asneeded): Use it.
66241         ($(common-objpfx)libc.so): Use $(shlib-lds).
66242         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
66243         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
66245         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
66246         DT_FLAGS/DT_FLAGS_1 with zero flags.
66248         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
66249         linker script munging.
66251 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
66253         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
66254         as 128-bit value.
66255         * crypt/sha512.c (sha512_process_block): Perform total addition using
66256         128-bit if possible.
66257         (__sha512_finish_ctx): Likewise.
66258         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
66259         as 64-bit value.
66260         * crypt/sha256.c (SWAP64): Define.
66261         (sha256_process_block): Perform total addition using 64-bit if
66262         possible.
66263         (__sha256_finish_ctx): Likewise.
66265 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
66267         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
66268         * nscd/initgrcache.c (addinitgroupsX): Likewise.
66269         * nscd/hstcache.c (cache_addhst): Likewise.
66270         * nscd/grpcache.c (cache_addgr): Likewise.
66271         * nscd/aicache.c (addhstaiX): Likewise
66272         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
66274 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
66276         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
66277         * nscd/initgrcache.c (addinitgroupsX): Likewise.
66278         * nscd/hstcache.c (cache_addhst): Likewise.
66279         * nscd/grpcache.c (cache_addgr): Likewise.
66280         * nscd/aicache.c (addhstaiX): Likewise
66282 2011-07-01  Andreas Schwab  <schwab@redhat.com>
66284         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
66285         domain only when needed.
66287 2011-06-30  Andreas Schwab  <schwab@redhat.com>
66289         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
66290         is always restored.
66292 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
66294         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
66295         are re-adding the entry.
66296         * nscd/servicescache.c (cache_addserv): Likewise.
66298 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
66300         * sysdeps/generic/dl-irel.h: fix protection against multiple
66301         inclusions.
66302         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
66304 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
66306         [BZ #12935]
66307         * malloc/memusage.sh: Fix quoting in message.
66308         * debug/xtrace.sh: Likewise.
66310         * configure.in: Remove support for --experimental-malloc option, make
66311         it the default.
66312         * config.make.in: Likewise.
66313         * malloc/Makefile: Likewise.
66315 2011-06-27  Andreas Schwab  <schwab@redhat.com>
66317         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
66318         two-byte characters.
66320 2011-06-27  Roland McGrath  <roland@hack.frob.com>
66322         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
66323         AC_CACHE_CHECK invocation.
66324         * configure: Regenerated.
66326         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
66328 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
66330         [BZ #12350]
66331         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
66332         bit from old_res_options.
66334         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
66336         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
66337         value type for setfct.
66339 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
66341         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
66342         __gettimeofday instead of gettimeofday.
66344 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
66346         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
66348 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
66350         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
66352         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
66353         info.
66355 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
66357         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66358         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
66359         strcpy-sse2-unaligned strncpy-sse2-unaligned
66360         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
66361         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
66362         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
66363         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
66364         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
66365         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
66366         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
66367         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
66368         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
66369         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
66370         (STRCPY): Support SSE2 and SSSE3 versions.
66372 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
66374         [BZ #12874]
66375         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
66376         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
66377         kernels which artificially limit size of requests.
66379 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
66381         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66382         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
66383         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
66384         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
66385         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
66386         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
66387         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
66388         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
66389         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
66390         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
66391         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
66392         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
66393         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
66394         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
66395         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
66396         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66397         Enable unaligned load optimization for Intel Core i3, i5 and i7
66398         processors.
66399         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
66400         Define.
66401         (index_Fast_Unaligned_Load): Define.
66402         (HAS_FAST_UNALIGNED_LOAD): Define.
66404 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
66406         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
66408 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
66410         [BZ #12907]
66411         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
66412         until it is clear that the information is realy needed.
66413         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
66415 2011-06-22  Andreas Schwab  <schwab@redhat.com>
66417         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
66419 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
66421         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
66422         /sys/devices/system/cpu/online if it is usable.
66424         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
66425         reading the information from the /proc filesystem to once a second.
66427 2011-06-21  Andreas Jaeger  <aj@suse.de>
66429         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
66430         NULL after inclusion of kernel headers.
66432 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
66434         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
66435         calls to internal_setent.
66437         [BZ #12885]
66438         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
66439         addresses using gethostbyname4_r ignore IPv4 addresses.
66441         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
66442         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
66444         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
66446 2011-06-20  David S. Miller  <davem@davemloft.net>
66448         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
66449         inclusions.
66450         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
66452         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
66453         (elf_irel): Use it.
66454         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
66455         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
66456         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
66457         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
66458         * sysdeps/x86_64/dl-irel.h: Likewise.
66460         * elf/dl-runtime.c: Use elf_ifunc_invoke.
66461         * elf/dl-sym.c: Likewise.
66463 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
66465         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
66466         need to dereference resplen2.
66468 2011-06-14  Andreas Schwab  <schwab@redhat.com>
66470         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
66472 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
66474         * Makeconfig: Define vardbdir and inst_vardbdir.
66475         * nss/Makefile: Add rules to install db-Makefile.
66477         * nss/nss_db/db-XXX.c: Cleanup.
66479         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
66480         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
66481         GLIBC_PRIVATE.
66482         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
66483         * nss/makedb.c: Implement -g option to specify that value strings
66484         are generated and should not be added to table iterated over for
66485         get*ent calls.
66486         * nss/nss_db/db-initgroups.c: New file.
66488         * nss/getent.c: Add support for initgroups lookups through getgrouplist
66489         interface.
66491         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
66492         (internal_getgrouplist): Adjust to name change.
66493         Update use_initgroups_entry if this is not the first call.
66494         * nss/databases.def: Add initgroups entry.
66496         * nss/makedb.c (compute_tables): Check result of multiple hash table
66497         sizes to minimize maximum chain length.
66499 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
66501         * Versions.def: Add entry for libnss_db.
66502         * shlib-versions: Likewise.
66503         * nss/Makefile: Add rules to build libnss_db.
66504         * nss/Versions: Add libnss_db information.  Organize libnss_files
66505         entries better.
66506         * nss/db-Makefile: Add gshadow support.  Change rules for the new
66507         makedb progra.  Some minor improvements to generate smaller files.
66508         * nss/nss_db/nss_db.h: Move NSS database header data structures to
66509         here from...
66510         * nss/makedb.c: ...here.
66511         Improve database format to be smaller and require less memory at
66512         runtime.
66513         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
66514         db anymore.
66515         * nss/nss_db/db-netgrp.c: Likewise.
66516         * nss/nss_db/db-open.c: Likewise.
66517         * nss/nss_files/flies-XXX.x: Adjust comments.
66518         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
66519         * nss/nss_files/files-grp.c: Likewise.
66520         * nss/nss_files/files-hosts.c: Likewise.
66521         * nss/nss_files/files-network.c: Likewise.
66522         * nss/nss_files/files-proto.c: Likewise.
66523         * nss/nss_files/files-pwd.c: Likewise.
66524         * nss/nss_files/files-rpc.c: Likewise.
66525         * nss/nss_files/files-service.c: Likewise.
66526         * nss/nss_files/files-sgrp.c: Likewise.
66527         * nss/nss_files/files-spwd.c: Likewise.
66528         * nss/nss_db/db-alias.c: Removed.
66529         * nss/nss_db/dummy-db.h: Removed.
66531 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
66533         * nss/makedb.c: Rewritten to not use database library.
66534         * nss/Makefile: Update to build new makedb program.
66536 2011-06-14  Andreas Jaeger  <aj@suse.de>
66538         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
66539         memset declaration.
66541 2011-06-10  Andreas Schwab  <schwab@redhat.com>
66543         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
66544         tmpbuf.
66546 2011-06-10  Roland McGrath  <roland@hack.frob.com>
66548         * Makerules (shlib.lds): Fail if the linker script comes out empty.
66549         * elf/Makefile ($(objpfx)ld.so): Likewise.
66551         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
66552         Don't list ld.so twice in dependencies.
66554         * posix/bug-regex31.c: Include <stdlib.h>.
66556         * nscd/hstcache.c (cache_addhst): Remove unused variable.
66558         * nis/nss_compat/compat-spwd.c
66559         (getspent_next_nss_netgr): Remove unused variable.
66560         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
66562         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
66563         nonmembers" output to use the right array.
66565         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
66567         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
66569         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
66570         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
66571         * catgets/gencat.c (read_input_file): Likewise.
66572         * locale/programs/locarchive.c (enlarge_archive): Likewise.
66574         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
66575         variable definition inside #if's controlling its use.
66577         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
66579         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
66581         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
66583         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
66584         unreachable code.
66586         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
66588         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
66589         * configure: Regenerated.
66591         * Makerules: Revert last change.
66592         * elf/Makefile: Likewise.
66594 2011-06-09  Roland McGrath  <roland@hack.frob.com>
66596         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
66597         * elf/Makefile ($(objpfx)librtld.os): Likewise.
66598         (reloc-link): Likewise.
66600 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
66602         * elf/Makefile: Add rules to build pldd.
66603         * elf/pldd.c: New file.
66604         * elf/pldd-xx.c: New file.
66606 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
66608         * version.h: Update for 2.15 development version.
66610 2011-06-07  David S. Miller  <davem@davemloft.net>
66612         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
66613         ifuncs.
66614         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
66615         elf_machine_lazy_rel): Likewise.
66616         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
66617         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
66618         elf_machine_lazy_rel): Likewise.
66619         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
66620         dl_hwcap via passed in argument.
66621         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
66622         Likewise.
66624 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66626         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
66628 2011-06-06  Roland McGrath  <roland@hack.frob.com>
66630         [BZ #12849]
66631         * manual/fdl-1.1.texi: New file, verbatim from:
66632         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
66633         * manual/lgpl-2.1.texi: New file, verbatim from:
66634         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
66635         * manual/Makefile (licenses): New variable, list those new file names.
66636         (texis): Use it.
66637         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
66639         * manual/fdl.texi: File removed.
66640         * manual/lesser.texi: File removed.
66641         * manual/libc.texinfo (Copying, Documentation License):
66642         Use new @include file names, put @appendix directive before @include.
66644 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
66646         [BZ #12841]
66647         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
66648         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
66649         (mq_open): Add __NTH.
66651 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
66653         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66654         Assume Intel Core i3/i5/i7 processor if AVX is available.
66656 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
66658         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
66659         typo.
66661 2011-05-31  Andreas Schwab  <schwab@redhat.com>
66663         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
66664         memory.  Use alloca_account.  Fix memory leak when retrying.
66666 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
66668         * version.h (RELEASE): Bump for 2.14 release.
66669         * include/features.h (__GLIBC_MINOR__): Bump to 14.
66671         * config.make.in (RANLIB): Remove entry.
66673 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
66675         * po/Makefile (po-sed-cmd): Add ksh to extensions.
66676         (libc.pot): Work around missing support for .ksh extension in xgettext.
66678         [BZ #12684]
66679         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
66680         if both request failed.
66681         (send_dg): In case of server errors clear resplen or *resplen2.
66683         [BZ #12454]
66684         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
66685         when there are multiple maps.
66686         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
66687         (_dl_fini): Remove test here.
66689         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
66691 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
66693         [BZ #12350]
66694         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
66695         bit from old_res_options.
66696         (gaih_inet): Likewise.
66698         [BZ #11099]
66699         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
66700         as signed.
66702         * resolv/res_init.c (res_setoptions): Make the code more compact.
66704         [BZ #11558]
66705         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
66706         set RES_USEVC.
66708         [BZ #11634]
66709         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
66711         * malloc/malloc.h: Mark malloc hook variables as deprecated.
66713         [BZ #11781]
66714         * malloc/malloc.h: Declare malloc hook variables as volatile.
66716         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
66717         in last patch.
66719         [BZ #11799]
66720         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
66721         raise in the comment.
66722         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
66723         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
66724         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
66726 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
66728         [BZ #12811]
66729         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
66730         grow the buffers more if it already has to be sufficient.
66731         (build_wcs_upper_buffer): Likewise.
66732         * posix/regexec.c (check_matching): Likewise.
66733         (clean_state_log_if_needed): Likewise.
66734         (extend_buffers): Don't enlarge buffers beyond size of the input
66735         buffer.
66736         Patches mostly by Emil Wojak <emil@wojak.eu>.
66737         * posix/bug-regex32.c: New file.
66738         * posix/Makefile (tests): Add bug-regex32.
66740         * locale/findlocale.c (_nl_find_locale): Return right away if
66741         _nl_explode_name failed.
66742         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
66744         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
66746         * debug/xtrace.sh: Unify messages.
66747         * malloc/memusage.sh: Likewise.
66749         [BZ #12813]
66750         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
66751         time symbol from vDSO.  Substitute with vsyscall if not available.
66752         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
66753         __vdso_time.
66755         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
66756         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
66757         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
66758         Add sendmmsg and internal_sendmmsg.
66759         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
66760         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
66761         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
66763         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
66764         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
66765         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
66767 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
66769         [BZ #12813]
66770         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
66771         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
66772         available.
66773         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
66774         __vdso_getcpu.
66776         [BZ #12814]
66777         * iconvdata/Makefile (tests): Add bug-iconv9.
66778         * iconvdata/bug-iconv9.c: New file.
66780 2011-05-27  Andreas Schwab  <schwab@redhat.com>
66782         [BZ #12814]
66783         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
66785 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
66787         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
66788         (struct user_regs_struct): Change intcs field back to cs.
66790 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
66792         * po/ja.po: Update from translation team.
66794 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
66796         [BZ #12795]
66797         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
66798         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
66800 2011-05-20  Andreas Schwab  <schwab@redhat.com>
66802         * stdlib/longlong.h: Update from GCC.
66804 2011-05-23  Andreas Schwab  <schwab@redhat.com>
66806         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
66807         parameter name.
66808         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
66809         Add parameter name.
66810         (__sysconf): Pass it down.
66812 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
66814         [BZ #12671]
66815         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
66816         some situations.
66817         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
66818         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
66819         add in in __libc_use_alloca calls.  Adjust callers.
66820         (glob): Use malloc in some situations.
66822         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
66823         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
66824         pltexit.
66826 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
66828         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
66829         and CLOCK_BOOTTIME_ALARM.
66831         [BZ #12782]
66832         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
66833         is returned.
66835         * string/_strerror.c (__strerror_r): Print negative errors as signed
66836         numbers.
66838         [BZ #12777]
66839         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
66840         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
66841         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
66843         * configure.in: Fix typo in redirection and correct removal of test
66844         files in two cases.
66846         [BZ #12788]
66847         * locale/setlocale.c (new_composite_name): Fix test to check for
66848         identical name of all categories.
66850         [BZ #12792]
66851         * libio/filedoalloc.c (local_isatty): New function.
66852         (_IO_file_doallocate): Use local_isatty.
66853         * stdio-common/perror.c (perror): In case a new stream is used
66854         forward the stream error.
66855         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
66856         error flag.
66858 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
66860         [BZ #11869]
66861         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
66862         alloca.
66863         * include/alloca.h (extend_alloca_account): Define.
66865         [BZ #11857]
66866         * posix/regex.h: Fix comments with documentation of user-accessible
66867         fields after compilation and describe correct free'ing of pattern
66868         after re_compile_pattern.
66869         Patch by Reuben Thomas <rrt@sc3d.org>.
66871 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
66873         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
66874         and -mno-altivec to prevent the compiler from using Altivec and/or
66875         VSX instructions when the corresponding registers are not available.
66877 2011-05-19  Andreas Schwab  <schwab@redhat.com>
66879         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
66881 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
66883         * libio/freopen.c (freopen): Use __dup2, not dup2.
66884         * libio/freopen64.c (freopen64): Likewise.
66886 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66888         [BZ #12775]
66889         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
66890         * math/Makefile (tests): Add test-powl.
66891         (CFLAGS-test-powl.c): Define.
66892         * math/test-powl.c: New file.
66894 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66896         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
66898 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
66900         [BZ #11837]
66901         * iconvdata/gb18030.c: Update to GB18020-2005.
66903 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
66905         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
66906         RE_SYNTAX_POSIX_AWK): Update to match recent development.
66907         Patch by Aharon Robbins <arnold@skeeve.com>.
66909         [BZ #11892]
66910         * stdlib/putenv.c (putenv): Don't always create copy of the variable
66911         on the stack.
66913         [BZ #11895]
66914         * misc/pselect.c (__pselect): Handle timeout value errors hidden
66915         through underflows.
66917         [BZ #12766]
66918         * misc/error.c (error_at_line): Ensure file_name and old_file_name
66919         point to strings before performing equality test for error_one_per_line
66920         mode.
66922         [BZ #11697]
66923         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
66925         [BZ #11820]
66926         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
66927         (struct user_fpregs_struct): Avoid __uint*_t types.
66929         [BZ #6420]
66930         * malloc/mtrace.c (tr_where): Add additional parameter to point to
66931         symbol info.  Use it instead of calling _dl_addr locally.
66932         (lock_and_info): New function.
66933         (tr_freehook): Call lock_and_info and pass symbol info as additional
66934         parameter to tr_where.
66935         (tr_mallochook): Likewise.
66936         (tr_reallochook): Likewise.
66937         (tr_memalignhook): Likewise.
66939         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
66940         used and couldn't be at all thread-safe.
66942 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
66944         * libio/freopen.c (freopen): Don't close old file descriptor
66945         before the new one is opened.  Instead dup the new file descriptor
66946         to the old one after the new stream is created.
66947         * libio/freopen64.c (freopen64): Likewise.
66948         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
66949         * libio/fileops.c (_IO_new_file_close_it): Handle new
66950         _IO_FLAGS2_NOCLOSE flag.
66951         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
66952         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
66953         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
66954         _IO_FLAGS2_NOCLOSE flag.
66955         * include/unistd.h: Add hidden_proto for dup3.
66956         Define __have_dup3.
66957         * io/dup3.c: Define hidden symbol.
66958         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
66960         [BZ #7101]
66961         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
66962         when an incomplete long option is used.
66963         * posix/tst-getopt_long1.c: New file.
66964         * posix/Makefile (tests): Add tst-getopt_long1.
66966         [BZ #10138]
66967         * scripts/config.guess: Update from autoconf-2.68.
66968         * scripts/config.sub: Likewise.
66970         [BZ #10157]
66971         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
66972         tests into ...
66973         (has_cpuclock): ...this.  New function.
66974         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
66975         macro here based on has_cpuclock code.
66977         [BZ #10149]
66978         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66979         First byte (not low byte) is now always NUL.
66980         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
66982         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
66983         Use non-cancelable interfaces.
66985         [BZ #9809]
66986         * locale/iso-639.def: Add entry for Sorani.
66988         [BZ #11901]
66989         * include/stdlib.h: Move include protection to the right place.
66990         Define abort_msg_s.  Declare __abort_msg with it.
66991         * stdlib/abort.c (__abort_msg): Adjust type.
66992         * assert/assert.c (__assert_fail_base): New function.  Majority
66993         of code from __assert_fail.  Allocate memory for __abort_msg with
66994         mmap.
66995         (__assert_fail): Now call __assert_fail_base.
66996         * assert/assert-perr.c: Remove bulk of implementation.  Use
66997         __assert_fail_base.
66998         * include/assert.hL Declare __assert_fail_base.
66999         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
67000         mmap.
67001         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
67003 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
67005         [BZ #11952]
67006         [BZ #12453]
67007         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
67008         until all modules are registered in the DTV.
67009         * elf/Makefile: Add rules to build and run tst-tls19.
67010         * elf/tst-tls19.c: New file.
67011         * elf/tst-tls19mod1.c: New file.
67012         * elf/tst-tls19mod2.c: New file.
67013         * elf/tst-tls19mod3.c: New file.
67014         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
67016         [BZ #12083]
67017         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
67018         correctly.
67020         [BZ #12601]
67021         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
67022         two-byte sequence errors.
67023         * iconvdata/Makefile (tests): Add bug-iconv8.
67024         * iconvdata/bug-iconv8.c: New file.
67026         [BZ #12626]
67027         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
67028         buf2 definition.
67030         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
67032         [BZ #12432]
67033         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
67034         (dummy_getcfa): New function.
67035         (init): Get _Unwind_GetCFA address, use dummy if not found.
67036         (backtrace_helper): In recursion check, also check whether CFA changes.
67037         (__backtrace): Completely initialize arg.
67039         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
67040         storing incomplete byte sequence in state object.  Avoid testing for
67041         guaranteed too small input if we know there is enough data available.
67043 2011-05-11  Andreas Schwab  <schwab@redhat.com>
67045         * Makeconfig (+link-pie): Indent.
67046         * Rules (binaries-pie): Define if $(have-fpie) and
67047         $(build-shared).
67048         (binaries-shared): Also filter out $(binaries-pie).
67049         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
67050         * nscd/Makefile (others-pie): Add nscd.
67051         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
67052         ($(objpfx)nscd): Remove command override.
67053         * login/Makefile (others-pie): Add pt_chown.
67054         ($(objpfx)pt_chown): Remove command override.
67055         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
67056         remove command overrides.
67058 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
67060         * libio/tst_putwc.c: Fix error messages.
67062         [BZ #12724]
67063         * libio/fileops.c (_IO_new_file_close_it): Always flush when
67064         currently writing and seek to current position when not.
67065         * libio/Makefile (tests): Add bug-fclose1.
67066         * libio/bug-fclose1.c: New file.
67068 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
67070         [BZ #12511]
67071         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
67072         don't set DF_1_NODELETE here.
67073         (do_lookup_x): When entering new entry test for copy relocation
67074         and if necessary set DF_1_NODELETE flag.
67075         * elf/tst-unique4.cc: New file.
67076         * elf/tst-unique4.h: New file.
67077         * elf/tst-unique4lib.cc: New file.
67078         * elf/Makefile: Add rules to build and run tst-unique4.
67079         Patch by Piotr Bury <pbury@goahead.com>.
67081 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
67083         [BZ #12052]
67084         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
67086         [BZ #12625]
67087         * misc/mntent_r.c (addmntent): Flush the stream after the output
67089         [BZ #12393]
67090         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
67091         (is_trusted_path_normalize): Skip initial colon.  Append slash
67092         to empty buffer.  Duplicate is_trusted_path code but allow
67093         constructed patch to be prefix.
67094         (is_dst): Allow $ORIGIN followed by /.
67095         (_dl_dst_substitute): Correct clearing of check_for_trusted.
67096         Correct testing of result of is_trusted_path_normalize
67097         (decompose_rpath): Fix warning.
67099 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
67101         [BZ #11257]
67102         * grp/initgroups.c (internal_getgrouplist): When we found the service
67103         list through the initgroups entry in nsswitch.conf do not always
67104         continue on a successful lookup.  Don't always use the
67105         __nss_group_database value if it is set.
67106         * nss/nsswitch.conf (initgroups): Change action for successful db
67107         lookup to continue for compatibility.
67109 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
67111         [BZ #11532]
67112         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
67113         and CP774 modules.
67114         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
67115         and CP774 modules.
67116         * iconvdata/tst-tables.sh: Likewise.
67117         * iconvdata/cp770.c: New file.
67118         * iconvdata/cp771.c: New file.
67119         * iconvdata/cp772.c: New file.
67120         * iconvdata/cp773.c: New file.
67121         * iconvdata/cp774.c: New file.
67122         * iconvdata/testdata/CP770: New file.
67123         * iconvdata/testdata/CP770..UTF8: New file.
67124         * iconvdata/testdata/CP771: New file.
67125         * iconvdata/testdata/CP771..UTF8: New file.
67126         * iconvdata/testdata/CP772: New file.
67127         * iconvdata/testdata/CP772..UTF8: New file.
67128         * iconvdata/testdata/CP773: New file.
67129         * iconvdata/testdata/CP773..UTF8: New file.
67130         * iconvdata/testdata/CP774: New file.
67131         * iconvdata/testdata/CP774..UTF8: New file.
67133         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
67134         END CHARMAP line.
67135         * iconvdata/gen-8bit-gap.sh: Likewise.
67136         * iconvdata/gen-8bit.sh: Likewise.
67138         * locale/iso-639.def: Add ary entry.
67140         [BZ #11258]
67141         * locale/C-translit.h.in: Add U20A1 transliteration.
67143         [BZ #12178]
67144         * locale/iso-639.def: Add wae entry.
67145         Patch by Kevin Bortis <bortis@translate-wae.ch>.
67147         [BZ #12545]
67148         * locale/programs/localedef.c (construct_output_path): Use ssize_t
67149         for n.
67151         [BZ #12711]
67152         * locale/C-translit.h.in: Add entry for U20B9.
67153         Patch by pravin.d.s@gmail.com.
67155 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
67157         [BZ #12713]
67158         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
67159         ENAMETOOLONG use generic getcwd.
67160         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
67161         in rtld.  Use *stat64.
67162         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
67163         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
67164         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
67165         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
67166         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
67167         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
67168         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
67169         __fstatat64 macros.
67170         * include/dirent.h: Add libc_hidden_proto for rewinddir.
67171         * dirent/rewinddir.c: Add libc_hidden_def.
67172         * sysdeps/mach/hurd/rewinddir.c: Likewise.
67173         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
67175         * include/dirent.h (__alloc_dir): Add flags parameter.
67176         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
67177         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
67178         __alloc_dir.
67179         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
67180         from fdopendir if O_CLOEXEC is already set.
67182 2011-03-15  Alan Modra  <amodra@gmail.com>
67184         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
67185         l_tls_firstbyte_offset non-zero.  Save padding offset in
67186         l_tls_firstbyte_offset for later use.
67187         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
67188         freeing static tls block.
67190 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
67192         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
67193         where #ifdef was intended.  The intent is to prevent ARG_MAX from
67194         being defined by the kernel headers.
67196 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
67198         [BZ #12734]
67199         * resolv/resolv.h: Define RES_NOTLDQUERY.
67200         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
67201         no-tld-query and set RES_NOTLDQUERY.
67202         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
67203         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
67204         modern BIND to search name as TLD unless forbidden.
67206 2011-05-07  Petr Baudis  <pasky@suse.cz>
67207             Ulrich Drepper  <drepper@gmail.com>
67209         [BZ #12393]
67210         * elf/dl-load.c (fillin_rpath): Move trusted path check...
67211         (is_trusted_path): ...to here.
67212         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
67213         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
67214         using is_trusted_path_normalize() in setuid scripts.
67216 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
67218         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
67219         __BEGIN/__END_DECLS.
67221 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
67223         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
67224         NSS_STATUS_NOTFOUND if no record was found.
67226 2011-05-05  Andreas Schwab  <schwab@redhat.com>
67228         * sunrpc/Makefile (headers): Add rpc/netdb.h.
67229         (headers-not-in-tirpc): Remove rpc/netdb.h
67230         * resolv/netdb.h: Revert last change.
67232 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
67234         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
67235         circular dependency between libgcc.a and libc.a.
67237 2011-05-05  Andreas Schwab  <schwab@redhat.com>
67239         * resolv/netdb.h: Don't include <rpc/netdb.h>.
67240         * nis/Makefile: Don't install rpcsvc/*.
67241         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
67242         instead of <rpc/types.h>.
67243         (MAXHOSTNAMELEN): Define.
67245 2011-05-03  Andreas Schwab  <schwab@redhat.com>
67247         * elf/ldconfig.c (add_dir): Don't crash on empty path.
67249 2011-04-28  Maciej Babinski  <mbabinski@google.com>
67251         [BZ #12714]
67252         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
67253         gethostbyname4_r when IPv6 results are possible.
67255 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
67257         [BZ #12723]
67258         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
67259         _PC_PIPE_BUF handling.
67261 2011-04-30  Bruno Haible  <bruno@clisp.org>
67263         [BZ #12717]
67264         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
67265         * resolv/netdb.h (getnameinfo): Change type of flags parameter
67266         to 'int'.
67267         * inet/getnameinfo.c (getnameinfo): Likewise.
67269 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
67271         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
67272         to groups setting in database lookup.
67273         * nss/nsswitch.conf: Add initgroups entry.
67275 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
67277         [BZ #12685]
67278         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
67279         mode string.
67280         Patch by Eric Blake <eblake@redhat.com>.
67282 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
67284         * sunrpc/Makefile (need-export-routines): Add svc_run.
67285         (routines): Remove svc_run.
67286         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
67287         * sunrpc/clnt_perr.c (clnt_perrno): Export.
67288         * sunrpc/svc_run.c (svc_run): Likewise.
67289         * sunrpc/svc_udp.c (svcudp_create): Likewise.
67291 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
67293         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
67294         problem in reallocation in last patch.
67296 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
67298         * sunrpc/Makefile: Move inclusion of Rules.
67300 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
67302         * nss/nss_files/files-initgroups.c: New file.
67303         * nss/Makefile (libnss_files-routines): Add files-initgroups.
67304         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
67305         _nss_files_initgroups_dyn.
67307 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
67309         * elf/elf.h (R_ARM_IRELATIVE): Define.
67311 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
67313         * po/ru.po: Update from translation team.
67315 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
67317         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
67318         dependencies.
67320 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
67322         [BZ #12653]
67323         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
67324         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
67325         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
67326         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
67327         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
67329 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
67331         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
67332         differing bytes.
67333         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
67334         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
67335         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
67337 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
67339         [BZ #12420]
67340         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
67341         storing it.
67342         * stdlib/bug-getcontext.c: New file.
67343         * stdlib/Makefile: Add rules to build and run bug-getcontext.
67345 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67347         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
67348         instructions into .machine "z9-109".
67349         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
67350         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
67352 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67354         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
67355         between environment variables and auxiliary vector.
67357 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
67359         * Makefile: Add rules to build linkobj/libc.so.
67360         * include/libc-symbols.h: Define libc_hidden_nolink.
67361         * include/rpc/auth.h: Mark functions which are to be hidden.
67362         * include/rpc/auth_des.h: Likewise.
67363         * include/rpc/auth_unix.h: Likewise.
67364         * include/rpc/clnt.h: Likewise.
67365         * include/rpc/des_crypt.h: Likewise.
67366         * include/rpc/key_prot.h: Likewise.
67367         * include/rpc/pmap_clnt.h: Likewise.
67368         * include/rpc/pmap_prot.h: Likewise.
67369         * include/rpc/pmap_rmt.h: Likewise.
67370         * include/rpc/rpc_msg.h: Likewise.
67371         * include/rpc/svc.h: Likewise.
67372         * include/rpc/svc_auth.h: Likewise.
67373         * include/rpc/xdr.h: Likewise.
67374         * nis/Makefile: Link all DSOs against linkobj/libc.so.
67375         * nss/Makefile: Likewise.
67376         * sunrpc/Makefile: Don't install headers.  Build library with normal
67377         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
67378         * sunrpc/auth_des.c: Hide exported symbols by default, export some
67379         for the compat linking library.  Remove use of INTDEF/INTUSE.
67380         * sunrpc/auth_none.c: Likewise.
67381         * sunrpc/auth_unix.c: Likewise.
67382         * sunrpc/authdes_prot.c: Likewise.
67383         * sunrpc/authuxprot.c: Likewise.
67384         * sunrpc/clnt_gen.c: Likewise.
67385         * sunrpc/clnt_perr.c: Likewise.
67386         * sunrpc/clnt_raw.c: Likewise.
67387         * sunrpc/clnt_simp.c: Likewise.
67388         * sunrpc/clnt_tcp.c: Likewise.
67389         * sunrpc/clnt_udp.c: Likewise.
67390         * sunrpc/clnt_unix.c: Likewise.
67391         * sunrpc/des_crypt.c: Likewise.
67392         * sunrpc/des_soft.c: Likewise.
67393         * sunrpc/get_myaddr.c: Likewise.
67394         * sunrpc/key_call.c: Likewise.
67395         * sunrpc/key_prot.c: Likewise.
67396         * sunrpc/netname.c: Likewise.
67397         * sunrpc/pm_getmaps.c: Likewise.
67398         * sunrpc/pm_getport.c: Likewise.
67399         * sunrpc/pmap_clnt.c: Likewise.
67400         * sunrpc/pmap_prot.c: Likewise.
67401         * sunrpc/pmap_prot2.c: Likewise.
67402         * sunrpc/pmap_rmt.c: Likewise.
67403         * sunrpc/publickey.c: Likewise.
67404         * sunrpc/rpc_cmsg.c: Likewise.
67405         * sunrpc/rpc_common.c: Likewise.
67406         * sunrpc/rpc_dtable.c: Likewise.
67407         * sunrpc/rpc_prot.c: Likewise.
67408         * sunrpc/rpc_thread.c: Likewise.
67409         * sunrpc/rtime.c: Likewise.
67410         * sunrpc/svc.c: Likewise.
67411         * sunrpc/svc_auth.c: Likewise.
67412         * sunrpc/svc_authux.c: Likewise.
67413         * sunrpc/svc_raw.c: Likewise.
67414         * sunrpc/svc_run.c: Likewise.
67415         * sunrpc/svc_simple.c: Likewise.
67416         * sunrpc/svc_tcp.c: Likewise.
67417         * sunrpc/svc_udp.c: Likewise.
67418         * sunrpc/svc_unix.c: Likewise.
67419         * sunrpc/svcauth_des.c: Likewise.
67420         * sunrpc/xcrypt.c: Likewise.
67421         * sunrpc/xdr.c: Likewise.
67422         * sunrpc/xdr_array.c: Likewise.
67423         * sunrpc/xdr_float.c: Likewise.
67424         * sunrpc/xdr_intXX_t.c: Likewise.
67425         * sunrpc/xdr_mem.c: Likewise.
67426         * sunrpc/xdr_rec.c: Likewise.
67427         * sunrpc/xdr_ref.c: Likewise.
67428         * sunrpc/xdr_sizeof.c: Likewise.
67429         * sunrpc/xdr_stdio.c: Likewise.
67431 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
67433         [BZ #12650]
67434         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
67435         * sysdeps/ia64/dl-tls.h: Likewise.
67436         * sysdeps/powerpc/dl-tls.h: Likewise.
67437         * sysdeps/s390/dl-tls.h: Likewise.
67438         * sysdeps/sh/dl-tls.h: Likewise.
67439         * sysdeps/sparc/dl-tls.h: Likewise.
67440         * sysdeps/x86_64/dl-tls.h: Likewise.
67441         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
67443 2011-03-14  Andreas Schwab  <schwab@redhat.com>
67445         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
67446         rpath element also skip the following colon.
67447         (expand_dynamic_string_token): Add is_path parameter and pass
67448         down to DL_DST_REQUIRED and _dl_dst_substitute.
67449         (decompose_rpath): Call expand_dynamic_string_token with
67450         non-zero is_path.  Ignore empty rpaths.
67451         (_dl_map_object_from_fd): Call expand_dynamic_string_token
67452         with zero is_path.
67454 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
67456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
67457         Make cancelable.
67459 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
67461         [BZ #12655]
67462         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
67463         Patch by Filipe David Manana <fdmanana@apache.org>.
67465 2011-04-07  Andreas Schwab  <schwab@redhat.com>
67467         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
67468         Maintain aligned stack.
67469         (CHECK_RSP): Remove unused macro.
67471 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
67473         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
67474         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
67476 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
67478         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
67480         * include/features.h: Mention __USE_XOPEN2K8 in comment.
67482 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
67484         [BZ #12518]
67485         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
67486         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
67487         * sysdeps/x86_64/memmove.c: New file.
67488         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
67489         (memcpy): Renamed to ...
67490         (__new_memcpy): This.
67491         (memcpy): Provide GLIBC_2_14 memcpy.
67492         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
67493         (memcpy): Provide GLIBC_2_2_5 memcpy.
67495 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
67497         [BZ #12631]
67498         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
67500 2011-03-30  Andreas Schwab  <schwab@redhat.com>
67502         * misc/syncfs.c: New file.
67503         * misc/Makefile (routines): Add syncfs.
67504         * posix/unistd.h: Declare syncfs.
67505         * sysdeps/unix/syscalls.list: Add syncfs.
67507 2011-04-01  Andreas Schwab  <schwab@redhat.com>
67509         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
67510         open_by_handle_at.
67511         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
67512         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
67513         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
67514         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
67515         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
67516         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
67517         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
67519 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
67521         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
67522         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
67523         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
67524         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
67525         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
67526         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
67527         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
67529         * io/Makefile: Compile fallocate.c, fallocate64.c, and
67530         sync_file_range.c with -fexceptions.
67531         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
67532         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
67533         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
67534         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
67535         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
67536         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
67537         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
67538         sync_file_range as cancellation point
67539         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
67540         now a wrapper around __call_sync_file_range with cancellation handling.
67541         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
67542         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
67543         function name to __call_sync_file_range.
67544         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
67545         Add call_sync_file_range.
67547 2011-04-01  Andreas Schwab  <schwab@redhat.com>
67549         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67550         bits/timex.h.
67552 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
67554         * iconv/iconv.h: Fix typo in comment.
67555         * io/fcntl.h: Likewise.
67556         * libio/stdio.h: Likewise.
67557         * posix/spawn.h: Likewise.
67558         * posix/unistd.h: Likewise.
67559         * stdlib/stdlib.h: Likewise.
67560         * time/time.h: Likewise.
67561         * wcsmbs/wchar.h: Likewise.
67563         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
67564         open_by_handle): Add.
67565         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
67566         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
67567         Augment a few comments.
67568         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
67569         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
67570         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
67571         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
67572         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
67573         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
67574         open_by_handle.
67576         * io/fcntl.h (AT_EMPTY_PATH): Define.
67578 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
67580         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
67581         * sysdeps/unix/sysv/linux/bits/time.h: New file.
67582         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
67583         to...
67584         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
67585         * Versions.def: Add GLIBC_2.14.
67586         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
67587         Export.
67589 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
67591         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
67592         round counter.
67593         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
67595 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67597         [BZ #12597]
67598         * string/test-strncmp.c (do_page_test): New function.
67599         (check2): Likewise.
67600         (test_main): Call check2.
67601         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
67603 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
67605         [BZ #12587]
67606         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
67607         Handle cache information in CPU leaf 4.
67608         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
67610 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
67612         [BZ #12583]
67613         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
67614         character representation.
67615         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
67617 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
67619         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
67620         END(__isnan) to END(__isnanf) to match function entry point/label
67621         EALIGN(__isnanf,...).
67623 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
67625         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
67627 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
67629         [BZ #12510]
67630         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
67631         copy from the symbol referenced in the relocation to initialize the
67632         used variable.
67633         Patch by Piotr Bury <pbury@goahead.com>.
67634         * elf/Makefile: Add rules to build and tst-unique3.
67635         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
67636         * elf/tst-unique3.cc: New file.
67637         * elf/tst-unique3.h: New file.
67638         * elf/tst-unique3lib.cc: New file.
67639         * elf/tst-unique3lib2.cc: New file.
67641         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
67643 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
67645         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
67646         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
67647         to _start.
67649 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
67651         * elf/dl-load.c (_dl_map_object): If we are looking for the first
67652         to-be-loaded object along a path to loader is ld.so.
67654 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
67655             Ulrich Drepper  <drepper@gmail.com>
67657         * sysdeps/x86_64/memset.S: After aligning destination, code
67658         branches to different locations depending on the value of
67659         misalignment, when multiarch is enabled. Fix this.
67661 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
67663         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
67664         Set _x86_64_preferred_memory_instruction for AMD processsors.
67665         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67666         Set bit_Prefer_SSE_for_memop for AMD processors.
67668 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
67670         * libio/fmemopen.c (fmemopen): Optimize a bit.
67672 2011-03-03  Andreas Schwab  <schwab@redhat.com>
67674         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
67676 2011-03-03  Roland McGrath  <roland@redhat.com>
67678         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
67680 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
67682         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
67683         __bzero_ultra1 instead of __memset_ultra1.
67685 2011-02-23  Andreas Schwab  <schwab@redhat.com>
67686             Ulrich Drepper  <drepper@gmail.com>
67688         [BZ #12509]
67689         * include/link.h (struct link_map): Add l_orig_initfini.
67690         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
67691         returning unsuccessfully.
67692         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
67693         close of a file loaded at startup, restore the original l_initfini
67694         list.
67695         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
67696         list, store the pointer.
67697         * elf/Makefile ($(objpfx)noload-mem): New rule.
67698         (noload-ENV): Define.
67699         (tests): Add $(objpfx)noload-mem.
67700         * elf/noload.c: Include <memcheck.h>.
67701         (main): Call mtrace.  Close all opened handles.
67703 2011-02-17  Andreas Schwab  <schwab@redhat.com>
67705         [BZ #12454]
67706         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
67707         dependencies are missing.
67709 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67711         Fix __if_freereq crash: Unlike the generic version which uses free,
67712         Hurd needs munmap.
67713         * sysdeps/mach/hurd/ifreq.h: New file.
67715 2011-01-27  Petr Baudis  <pasky@suse.cz>
67716             Ulrich Drepper  <drepper@gmail.com>
67718         [BZ 12445]#
67719         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
67720         to extend_alloca().
67721         * stdio-common/bug23.c: New file.
67722         * stdio-common/Makefile (tests): Add bug23.
67724 2010-09-28  Andreas Schwab  <schwab@redhat.com>
67725             Ulrich Drepper  <drepper@gmail.com>
67727         [BZ #12489]
67728         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
67729         before performing relro protection.  At old place add assertion
67730         to make sure nothing changed.
67732 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
67733             Glauber de Oliveira Costa  <glommer@gmail.com>
67735         * elf/elf.h: Add new ARM TLS relocs.
67737 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
67739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
67740         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
67741         cast from r3.
67742         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
67743         'tests' variable.
67744         * sysdeps/wordsize-64/tst-writev.c: New file.
67746 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
67748         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
67749         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
67750         insns in _dl_start to prevent a TOC reference before relocs are
67751         resolved.
67753 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
67755         [BZ #12469]
67756         * Makeconfig: Remove RANLIB definition.
67757         * Makerules: Don't use RANLIB.
67758         * aclocal.m4: Remove ranlib test.
67759         * configure.in: No need to check for ranlib.
67760         * elf/rtld-Rules: Don't use RANLIB.
67762 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67764         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
67765         protection macro.
67766         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
67767         inclusion protection macro.
67769         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
67770         SIGRTMIN and SIGRTMAX and print information in that case only when
67771         SIGRTMIN is defined.
67773 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
67775         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
67776         arginfo fn returning -1.
67778         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
67779         and thousands string is zero terminated.
67781 2011-02-03  Andreas Schwab  <schwab@redhat.com>
67783         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
67784         sysdeps/unix/sysv/linux/bits/socket.h.
67786 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67788         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
67789         (__CPU_COUNT): Remove old macros.
67790         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
67791         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
67792         (__CPU_ALLOC, __CPU_FREE): Add macros.
67793         (__sched_cpualloc, __sched_cpufree): Add declarations.
67795 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
67797         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
67798         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
67799         * nscd/aicache.c (addhstaiX): Return timeout of added value.
67800         (readdhstai): Return value of addhstaiX call.
67801         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
67802         (addgrbyX): Return value returned by cache_addgr.
67803         (readdgrbyname): Return value returned by addgrbyX.
67804         (readdgrbygid): Likewise.
67805         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
67806         (addpwbyX): Return value returned by cache_addpw.
67807         (readdpwbyname): Return value returned by addhstbyX.
67808         (readdpwbyuid): Likewise.
67809         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
67810         (addservbyX): Return value returned by cache_addserv.
67811         (readdservbyname): Return value returned by addservbyX:
67812         (readdservbyport): Likewise.
67813         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
67814         (addhstbyX): Return value returned by cache_addhst.
67815         (readdhstbyname): Return value returned by addhstbyX.
67816         (readdhstbyaddr): Likewise.
67817         (readdhstbynamev6): Likewise.
67818         (readdhstbyaddrv6): Likewise.
67819         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
67820         (readdinitgroups): Return value returned by addinitgroupsX.
67821         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
67822         (prune_cache): Keep track of timeout value of re-added entries.
67823         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
67824         * nscd/nscd.h: Adjust prototypes of readd* functions.
67826 2011-02-04  Roland McGrath  <roland@redhat.com>
67828         * nis/nis_server.c (nis_servstate): Use the right name for 0.
67829         (nis_stats): Likewise.
67830         * nis/nis_modify.c (nis_modify): Likewise.
67831         * nis/nis_remove.c (nis_remove): Likewise.
67832         * nis/nis_add.c (nis_add): Likewise.
67834         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
67836         * posix/fnmatch_loop.c: Add some consts.
67838         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
67840 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
67842         [BZ #12460]
67843         * config.make.in (config-cflags-novzeroupper): Define.
67844         * configure.in: Substitute libc_cv_cc_novzeroupper.
67845         * elf/Makefile (AVX-CFLAGS): Define.
67846         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
67847         (CFLAGS-tst-auditmod4a.c): Likewise.
67848         (CFLAGS-tst-auditmod4b.c): Likewise.
67849         (CFLAGS-tst-auditmod6b.c): Likewise.
67850         (CFLAGS-tst-auditmod6c.c): Likewise.
67851         (CFLAGS-tst-auditmod7b.c): Likewise.
67852         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
67854 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
67856         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
67857         function to the callback.
67858         Patch partly by Jiri Olsa <jolsa@redhat.com>.
67860 2011-02-02  Andreas Schwab  <schwab@redhat.com>
67862         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
67863         of errno.
67865 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
67867         [BZ #11724]
67868         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
67869         of constructors.
67870         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
67871         of destructors.
67872         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
67874         [BZ #11724]
67875         * elf/Makefile: Add rules to build and run new test.
67876         * elf/tst-initorder.c: New file.
67877         * elf/tst-initorder.exp: New file.
67878         * elf/tst-initordera1.c: New file.
67879         * elf/tst-initordera2.c: New file.
67880         * elf/tst-initordera3.c: New file.
67881         * elf/tst-initordera4.c: New file.
67882         * elf/tst-initorderb1.c: New file.
67883         * elf/tst-initorderb2.c: New file.
67884         * elf/tst-order-a1.c: New file.
67885         * elf/tst-order-a2.c: New file.
67886         * elf/tst-order-a3.c: New file.
67887         * elf/tst-order-a4.c: New file.
67888         * elf/tst-order-b1.c: New file.
67889         * elf/tst-order-b2.c: New file.
67890         * elf/tst-order-main.c: New file.
67891         New test case by George Gensure <werkt0@gmail.com>.
67893 2010-10-01  Andreas Schwab  <schwab@redhat.com>
67895         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
67896         decoding ACE if AI_CANONIDN.
67898 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
67900         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
67902 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
67904         * version.h (RELEASE): Bump for 2.13 release.
67905         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
67907         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
67909         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
67910         MADV_NOHUGEPAGE.
67911         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
67912         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
67913         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
67914         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
67915         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
67916         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
67918         * posix/getconf.c: Update copyright year.
67919         * catgets/gencat.c: Likewise.
67920         * csu/version.c: Likewise.
67921         * debug/catchsegv.sh: Likewise.
67922         * debug/xtrace.sh: Likewise.
67923         * elf/ldconfig.c: Likewise.
67924         * elf/ldd.bash.in: Likewise.
67925         * elf/sprof.c (print_version): Likewise.
67926         * iconv/iconv_prog.c: Likewise.
67927         * iconv/iconvconfig.c: Likewise.
67928         * locale/programs/locale.c: Likewise.
67929         * locale/programs/localedef.c: Likewise.
67930         * malloc/memusage.sh: Likewise.
67931         * malloc/mtrace.pl: Likewise.
67932         * nscd/nscd.c (print_version): Likewise.
67933         * nss/getent.c: Likewise.
67935         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
67936         PF_CAIF, and PF_ALG.
67937         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67939 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
67941         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
67942         (modules-names): Use them.
67943         (ifunc-test-modules, ifunc-pie-tests): Define.
67944         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
67945         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
67946         (test-extras): Likewise.
67947         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
67948         $(compile-command.c).
67949         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
67950         (all-built-dso): Define.
67951         (check-textrel.out, check-execstack.out): Depend on it.
67953         * configure.in: Don't override --enable-multi-arch.
67955 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
67957         [BZ #6812]
67958         * nscd/hstcache.c (tryagain): Define.
67959         (cache_addhst): Return tryagain not notfound for temporary errors.
67960         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
67961         failed.
67963 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
67965         [BZ #10563]
67966         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
67967         to make the syscall.
67968         * sysdeps/unix/sysv/linux/setgroups.c: New file.
67970         [BZ #12378]
67971         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
67972         and fall back to matching as normal character if the string ends before
67973         the matching ']' is found.  This is what POSIX requires.
67974         * posix/testfnm.c: Adjust test result.
67975         * posix/globtest.sh: Adjust test result.  Add new test.
67976         * posix/tst-fnmatch.input: Likewise.
67977         * posix/tst-fnmatch2.c: Add new test.
67979 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
67981         * elf/Makefile (check-execstack): Revert last change.  Depend on
67982         check-execstack.h.
67983         (check-execstack.h): New target.
67984         (generated): Add check-execstack.h.
67985         * elf/check-execstack.c: Include "check-execstack.h".
67986         (main): Revert last change.
67987         (handle_file): Return zero if GNU_STACK is absent and
67988         DEFAULT_STACK_PERMS doesn't include PF_X.
67990 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
67992         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
67993         in child fails because the descriptor is already closed.
67994         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
67995         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
67996         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
67998         [BZ #12397]
67999         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
68000         syscall.
68002         [BZ #10484]
68003         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
68004         temporary buffer used to handle multi lookups locally.
68005         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
68007 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
68009         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
68010         loader is ld.so.
68012 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
68014         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
68015         alignment for SSE2.
68017 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
68019         [BZ #12394]
68020         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
68021         characters.  When rounding increased number of integer digits recompute
68022         number of groups.
68023         * stdio-common/tst-grouping.c: New file.
68024         * stdio-common/Makefile: Add rules to build and run tst-grouping.
68026 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
68028         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
68029         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
68031         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
68032         void.
68033         * bits/select.h: Likewise.
68035 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
68037         * po/ja.po: Update from translation team.
68039 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
68041         [BZ #11155]
68042         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
68043         implementation just like for lxstat, fxstatat, et al.
68045 2010-12-27  Jim Meyering  <meyering@redhat.com>
68047         [BZ #12348]
68048         * posix/regexec.c (build_trtable): Return failure indication upon
68049         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
68051 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
68053         [BZ #12201]
68054         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
68055         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
68056         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
68057         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
68059         [BZ #12207]
68060         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
68062         [BZ #12204]
68063         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
68064         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
68066 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
68068         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
68069         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
68070         script has SORT_BY_INIT_PRIORITY.
68071         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
68072         NO_CTORS_DTORS_SECTIONS is defined.
68073         * elf/soinit.c: Likewise.
68074         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
68075         NO_CTORS_DTORS_SECTIONS is defined.
68076         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
68077         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
68078         * sysdeps/sh/init-first.c: Likewise.
68079         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
68081 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
68083         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
68084         always use the slow path.
68086 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
68088         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
68089         similar rule which adds the sysdep directories to the header search in
68090         order to pick up the correct platform stackinfo.h.
68091         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
68092         perform test if it is, otherwise return successfully without testing.
68093         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
68094         DEFAULT_STACK_PERMS define in stackinfo.h.
68095         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
68096         defined in stackinfo.h.
68097         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
68098         DEFAULT_STACK_PERMS defined in stackinfo.h.
68099         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
68100         * sysdeps/ia64/stackinfo.h: Likewise.
68101         * sysdeps/s390/stackinfo.h: Likewise.
68102         * sysdeps/sh/stackinfo.h: Likewise.
68103         * sysdeps/sparc/stackinfo.h: Likewise.
68104         * sysdeps/x86_64/stackinfo.h: Likewise.
68105         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
68106         PF_X for powerpc64.  Retain PF_X for powerpc32.
68108 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
68110         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
68111         accurately.
68112         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
68113         GETDENTS_64BIT_ALIGNED.
68115 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
68117         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
68119 2010-12-10  Andreas Schwab  <schwab@redhat.com>
68121         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
68122         _GNU_SOURCE.
68124         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
68125         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
68126         Remove __restrict.
68127         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
68128         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
68130 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
68132         [BZ #11655]
68133         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
68134         are initialized.
68136 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
68138         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
68140 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
68142         * po/it.po: Update from translation team.
68144 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
68146         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
68147         unused codes.
68149 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
68151         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
68153 2010-11-24  Andreas Schwab  <schwab@redhat.com>
68155         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
68156         specially.
68157         (gaih_getanswer_slice): Likewise.
68159 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
68161         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
68163 2010-05-31  Petr Baudis  <pasky@suse.cz>
68165         [BZ #11149]
68166         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
68167         silently even in the chroot mode.
68169 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
68171         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
68172         last patch a bit.  Pretty printing
68174 2010-05-31  Petr Baudis <pasky@suse.cz>
68176         [BZ #10085]
68177         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
68178         initialization of skip_initgroups_dyn.
68180 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
68182         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
68183         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
68185 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
68187         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
68189 2010-11-11  Andreas Schwab  <schwab@redhat.com>
68191         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
68192         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
68193         (tst-fnmatch-ENV): Set MALLOC_TRACE.
68194         ($(objpfx)tst-fnmatch-mem): New rule.
68195         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
68196         * posix/tst-fnmatch.c (main): Call mtrace.
68198 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
68200         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68201         Support Intel processor model 6 and model 0x2c.
68203 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
68205         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
68206           signed comparison.
68208 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
68210         [BZ #12205]
68211         * string/test-strncasecmp.c (check_result): New function.
68212         (do_one_test): Use it.
68213         (check1): New function.
68214         (test_main): Use it.
68215         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
68216         Support strcasecmp and strncasecmp.
68218 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
68220         [BZ #12194]
68221         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
68222         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68224 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
68226         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
68227         IFUNC support.
68228         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68229         memset-x86-64.
68230         * sysdeps/x86_64/multiarch/bzero.S: New file.
68231         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
68232         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
68233         * sysdeps/x86_64/multiarch/memset.S: New file.
68234         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
68235         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68236         Set bit_Prefer_SSE_for_memop for Intel processors.
68237         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
68238         Define.
68239         (index_Prefer_SSE_for_memop): Define.
68240         (HAS_PREFER_SSE_FOR_MEMOP): Define.
68242 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
68244         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
68245         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
68247 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
68249         [BZ #12191]
68250         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
68251         (__x86_64_raw_data_cache_size_half): Likewise.
68252         (__x86_64_raw_shared_cache_size): Likewise.
68253         (__x86_64_raw_shared_cache_size_half): Likewise.
68255         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
68256         (__x86_64_raw_data_cache_size_half): Likewise.
68257         (__x86_64_raw_shared_cache_size): Likewise.
68258         (__x86_64_raw_shared_cache_size_half): Likewise.
68259         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
68260         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
68261         and __x86_64_raw_shared_cache_size_half.  Round
68262         __x86_64_data_cache_size_half, __x86_64_data_cache_size
68263         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
68264         to multiple of 256 bytes.
68266 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
68268         [BZ #12167]
68269         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
68270         of inacessible symlinks.  Verify result of symlink before returning it.
68271         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
68272         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
68274 2010-10-28  Erich Ritz  <erichritz@gmail.com>
68276         * math/math.h (isinf): Fix typo in comment.
68278 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
68280         * po/da.po: Update from translation team.
68282 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
68284         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
68285         is added to the list.
68287 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68288             Ulrich Drepper  <drepper@gmail.com>
68290         * elf/dl-object.c (_dl_new_object): Don't append the new object to
68291         the global list here.  Move code to...
68292         (_dl_add_to_namespace_list): ...here.  New function.
68293         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
68294         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
68295         * elf/dl-load.c (lose): Don't remove the element from the list.
68296         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
68297         (_dl_map_object): Likewise.
68299 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
68301         [BZ #12159]
68302         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
68303         into all bytes of SSE register.
68304         Patch by Richard Li <richardpku@gmail.com>.
68306 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
68308         [BZ #12140]
68309         * malloc/malloc.c (_int_free): Fill correct number of bytes when
68310         perturbing.
68312 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
68314         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
68315         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
68316         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
68317         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
68318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
68319         submachine.
68320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
68322 2010-10-22  Andreas Schwab  <schwab@redhat.com>
68324         * include/dlfcn.h (__RTLD_SECURE): Define.
68325         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
68326         mode & __RTLD_SECURE instead.
68327         (open_path): Rename preloaded parameter to secure.
68328         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
68329         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
68330         * elf/dl-deps.c (openaux): Likewise.
68331         * elf/rtld.c (struct map_args): Remove is_preloaded.
68332         (map_doit): Don't use it.
68333         (dl_main): Likewise.
68334         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
68335         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
68337 2010-09-09  Andreas Schwab  <schwab@redhat.com>
68339         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
68340         (sysd-rules-targets): Remove duplicates.
68341         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
68342         rtld-%.$o dependency.
68344 2010-10-18  Andreas Schwab  <schwab@redhat.com>
68346         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
68347         _dl_map_object do it.
68349 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
68351         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
68352         fast fma builtins, define the macros in the C99 standard.
68353         (FP_FAST_FMAF): Likewise.
68354         (FP_FAST_FMAL): Likewise.
68355         * sysdeps/x86_64/bits/mathdef.h: Likewise.
68357         * bits/mathdef.h: Update copyright year.
68358         * sysdeps/powerpc/bits/mathdef.h: Likewise.
68360 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
68362         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
68363         builtins, define the macros in the C99 standard.
68364         (FP_FAST_FMAF): Likewise.
68365         (FP_FAST_FMAL): Likewise.
68366         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
68367         multiply/add.
68368         (FP_FAST_FMAF): Likewise.
68370 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
68372         [BZ #3268]
68373         * math/libm-test.inc (fma_test): Some new testcases.
68374         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
68375         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
68376         y and infinite z.  Do multiplication by C already in long double.
68377         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
68378         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
68379         y and infinite z.  Do bitwise or of inexact bit into u.d.
68380         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
68381         * sysdeps/i386/fpu/s_fmaf.S: Removed.
68382         * sysdeps/i386/fpu/s_fma.S: Removed.
68383         * sysdeps/i386/fpu/s_fmal.S: Removed.
68385 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
68387         [BZ #3268]
68388         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
68389         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
68390         computation is not scheduled after fetestexcept.  Fix value
68391         of minimum denormal long double.
68393 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
68395         [BZ #3268]
68396         * math/libm-test.inc (fma_test): Add some more tests.
68397         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
68398         correctly.
68400 2010-10-15  Andreas Schwab  <schwab@redhat.com>
68402         * scripts/data/localplt-s390-linux-gnu.data: New file.
68403         * scripts/data/localplt-s390x-linux-gnu.data: New file.
68405 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
68407         [BZ #3268]
68408         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
68409         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
68410         instead of dbl-64.
68411         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
68412         inlines.
68413         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
68414         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
68415         if one of x and y is very large and the other is subnormal.
68416         * sysdeps/s390/fpu/s_fmaf.c: New file.
68417         * sysdeps/s390/fpu/s_fma.c: New file.
68418         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
68419         * sysdeps/powerpc/fpu/s_fma.S: New file.
68420         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
68421         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
68422         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
68424 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
68426         [BZ #3268]
68427         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
68428         fma tests.
68429         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
68430         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
68431         * sysdeps/i386/i686/multiarch/s_fma.c: Include
68432         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
68433         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
68434         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
68435         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
68437 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
68439         [BZ #12078]
68440         * posix/regcomp.c (parse_branch): One more memory leak plugged.
68441         * posix/bug-regex31.input: Add test case.
68443 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
68445         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
68446         * posix/bug-regex31.input: New file.
68448         [BZ #12078]
68449         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
68450         (parse_sub_exp): Fix last change, use postorder.
68452         * posix/bug-regex31.c: New file.
68453         * posix/Makefile: Add rules to build and run bug-regex31.
68455         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
68457         [BZ #12078]
68458         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
68460         [BZ #12108]
68461         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
68462         to have entries in sys_siglist.
68464         [BZ #12093]
68465         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
68466         be NULL.
68468 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
68470         [BZ #3268]
68471         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
68472         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
68473         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
68474         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
68475         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
68476         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
68477         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
68478         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
68479         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
68480         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
68481         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
68482         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
68483         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
68484         * math/ftestexcept.c (fetestexcept): Likewise.
68485         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
68486         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
68487         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
68488         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
68489         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
68490         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
68491         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
68493 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
68495         [BZ #12107]
68496         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
68497         newline.
68499 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
68501         * string/bug-strstr1.c: New file.
68502         * string/Makefile: Add rules to build and run bug-strstr1.
68504 2010-10-05  Eric Blake  <eblake@redhat.com>
68506         [BZ #12092]
68507         * string/str-two-way.h (two_way_long_needle): Always clear memory
68508         when skipping input due to the shift table.
68510 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
68512         [BZ #12005]
68513         * malloc/mcheck.c: Handle large requests.
68515         [BZ #12077]
68516         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
68517         for strncmp and strncasecmp.
68518         * string/stratcliff.c: Add tests for strcmp and strncmp.
68519         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
68521 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68523         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
68524         __set_fpscr.
68526 2010-09-30  Andreas Jaeger  <aj@suse.de>
68528         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
68529         (CGROUP_SUPER_MAGIC): Define.
68530         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
68531         Handle btrfs and cgroup file systems.
68532         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
68533         Likewise.
68535 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
68537         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
68538         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
68540 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68542         [BZ #12067]
68543         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
68544         trying to locate the ELF header.
68546 2010-09-27  Andreas Schwab  <schwab@redhat.com>
68548         [BZ #11611]
68549         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
68550         Mask out sign-bit copies when constructing f_fsid.
68552 2010-09-24  Petr Baudis <pasky@suse.cz>
68554         * debug/stack_chk_fail_local.c: Add missing licence exception.
68555         * debug/warning-nop.c: Likewise.
68557 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
68559         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
68560         implementing getdents64 using getdents syscall, set d_type if
68561         __ASSUME_GETDENTS32_D_TYPE.
68563 2010-09-16  Andreas Schwab  <schwab@redhat.com>
68565         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
68566         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
68568 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
68570         [BZ #12037]
68571         * posix/unistd.h: Undo change of feature selection for ftruncate from
68572         2010-01-11.
68574 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
68576         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
68577         detection.
68579 2010-09-20  Andreas Schwab  <schwab@redhat.com>
68581         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
68582         fanotify_mark.
68583         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
68585 2010-09-14  Andreas Schwab  <schwab@redhat.com>
68587         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
68588         variables after CHECK_SP call.
68589         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
68591 2010-09-13  Andreas Schwab  <schwab@redhat.com>
68592             Ulrich Drepper  <drepper@redhat.com>
68594         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
68595         re-relocationg ld.so.
68596         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
68597         _dl_init_paths call.
68598         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
68599         here anymore.
68601 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
68603         * resolv/res_init.c (__res_vinit): Count the default server we added.
68605 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
68606             Ulrich Drepper  <drepper@redhat.com>
68608         [BZ #11968]
68609         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
68610         (____longjmp_chk): Use %ebx for saving value across system call.
68611         Add unwind info.
68613 2010-09-06  Andreas Schwab  <schwab@redhat.com>
68615         * manual/Makefile: Don't mix pattern rules with normal rules.
68617 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
68619         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
68620         operation.
68621         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
68622         * libio/iofopncook.c (_IO_cookie_init): Likewise.
68623         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
68624         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
68625         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68626         Likewise.
68628 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
68630         [BZ #11979]
68631         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
68632         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
68634 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
68636         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
68637         * sysdeps/x86_64/addmul_1.S: Likewise.
68638         * sysdeps/x86_64/lshift.S: Likewise.
68639         * sysdeps/x86_64/mul_1.S: Likewise.
68640         * sysdeps/x86_64/rshift.S: Likewise.
68641         * sysdeps/x86_64/sub_n.S: Likewise.
68642         * sysdeps/x86_64/submul_1.S: Likewise.
68644 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68646         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
68647         Define __sched_param instead of SCHED_* and sched_param when
68648         <bits/sched.h> is included with __need_schedparam defined.
68649         * bits/sched.h [__need_schedparam]
68650         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
68651         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
68652         (__defined_schedparam): Define to 1.
68653         (__sched_param): New structure, identical to sched_param.
68654         (__need_schedparam): Undefine.
68656 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
68658         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
68659         (epoll_create1): Declare.
68661         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
68663 2010-08-31  Andreas Schwab  <schwab@redhat.com>
68665         [BZ #7066]
68666         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
68667         shifting retval into place.
68669 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
68671         * nis/rpcsvc/nis.h: Update copyright notice.
68672         * nis/rpcsvc/nis.x: Likewise.
68673         * nis/rpcsvc/nis_callback.h: Likewise.
68674         * nis/rpcsvc/nis_callback.x: Likewise.
68675         * nis/rpcsvc/nis_object.x: Likewise.
68676         * nis/rpcsvc/nis_tags.h: Likewise.
68677         * nis/rpcsvc/yp.h: Likewise.
68678         * nis/rpcsvc/yp.x: Likewise.
68679         * nis/rpcsvc/ypupd.h: Likewise.
68680         * nis/yp_xdr.c: Likewise.
68681         * nis/ypupdate_xdr.c: Likewise.
68683         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
68684         mainly the body of pmap_getport.  Add parameters to specify timeouts.
68685         (pmap_getport): Use __libc_rpc_getport.
68686         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
68687         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
68688         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
68690 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
68692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
68693         fanotify_mark.
68695 2010-08-27  Roland McGrath  <roland@redhat.com>
68697         * sysdeps/i386/i686/multiarch/Makefile
68698         (CFLAGS-varshift.c): New variable.
68700 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
68702         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
68703         * sysdeps/i386/i686/multiarch/varshift.c: New file.
68705         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
68707         * sysdeps/x86_64/strlen.S: Minimal code improvement.
68709 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
68711         * sysdeps/x86_64/strlen.S: Unroll the loop.
68712         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68713         strlen-sse2 strlen-sse2-bsf.
68714         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
68715         __strlen_no_bsf if bit_Slow_BSF is set.
68716         (__strlen_sse42): Removed.
68717         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
68718         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
68720 2010-08-25  Roland McGrath  <roland@redhat.com>
68722         * sysdeps/x86_64/multiarch/varshift.S: File removed.
68723         * sysdeps/x86_64/multiarch/varshift.c: New file.
68724         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
68725         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
68726         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
68727         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
68729 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
68731         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68732         strlen-sse2 strlen-sse2-bsf.
68733         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
68734         __strlen_sse2_bsf if bit_Slow_BSF is unset.
68735         (__strlen_sse2): Removed.
68736         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
68737         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
68738         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
68739         bit_Slow_BSF for Atom.
68740         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
68741         (index_Slow_BSF): Define.
68742         (HAS_SLOW_BSF): Define.
68744 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
68746         [BZ #10851]
68747         * resolv/res_init.c (__res_vinit): When no server address at all
68748         is given default to loopback.
68750 2010-08-24  Roland McGrath  <roland@redhat.com>
68752         * configure.in: Remove config-name.h generation.
68753         * configure: Regenerated.
68754         * config-name.in: File removed.
68755         * scripts/config-uname.sh: New file.
68756         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
68757         ($(objdir)config-name.h): New target.
68759         * sunrpc/rpc_parse.h: Avoid nested comment.
68761 2010-08-24  Richard Henderson  <rth@redhat.com>
68762             Ulrich Drepper  <drepper@redhat.com>
68763             H.J. Lu  <hongjiu.lu@intel.com>
68765         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
68766         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
68767         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
68768         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
68769         _mm_alignr_epi8 with _mm_loadu_si128.
68770         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
68771         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
68772         (__m128i_shift_right): Removed.
68773         * sysdeps/i386/i686/multiarch/varshift.h: New file.
68774         * sysdeps/i386/i686/multiarch/varshift.S: New file.
68775         * sysdeps/x86_64/multiarch/varshift.h: New file.
68776         * sysdeps/x86_64/multiarch/varshift.S: New file.
68778 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
68780         * configure.in: Move assembler checks to before sysdep dir checking.
68782 2010-08-20  Petr Baudis  <pasky@suse.cz>
68784         * LICENSES: Sync the sunrpc license.
68786 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
68788         * sunrpc/auth_des.c: Update copyright notice once again.
68789         * sunrpc/auth_none.c: Likewise.
68790         * sunrpc/auth_unix.c: Likewise.
68791         * sunrpc/authdes_prot.c: Likewise.
68792         * sunrpc/authuxprot.c: Likewise.
68793         * sunrpc/bindrsvprt.c: Likewise.
68794         * sunrpc/clnt_gen.c: Likewise.
68795         * sunrpc/clnt_perr.c: Likewise.
68796         * sunrpc/clnt_raw.c: Likewise.
68797         * sunrpc/clnt_simp.c: Likewise.
68798         * sunrpc/clnt_tcp.c: Likewise.
68799         * sunrpc/clnt_udp.c: Likewise.
68800         * sunrpc/clnt_unix.c: Likewise.
68801         * sunrpc/des_crypt.c: Likewise.
68802         * sunrpc/des_soft.c: Likewise.
68803         * sunrpc/get_myaddr.c: Likewise.
68804         * sunrpc/getrpcport.c: Likewise.
68805         * sunrpc/key_call.c: Likewise.
68806         * sunrpc/key_prot.c: Likewise.
68807         * sunrpc/openchild.c: Likewise.
68808         * sunrpc/pm_getmaps.c: Likewise.
68809         * sunrpc/pm_getport.c: Likewise.
68810         * sunrpc/pmap_clnt.c: Likewise.
68811         * sunrpc/pmap_prot.c: Likewise.
68812         * sunrpc/pmap_prot2.c: Likewise.
68813         * sunrpc/pmap_rmt.c: Likewise.
68814         * sunrpc/rpc/auth.h: Likewise.
68815         * sunrpc/rpc/auth_unix.h: Likewise.
68816         * sunrpc/rpc/clnt.h: Likewise.
68817         * sunrpc/rpc/des_crypt.h: Likewise.
68818         * sunrpc/rpc/key_prot.h: Likewise.
68819         * sunrpc/rpc/netdb.h: Likewise.
68820         * sunrpc/rpc/pmap_clnt.h: Likewise.
68821         * sunrpc/rpc/pmap_prot.h: Likewise.
68822         * sunrpc/rpc/pmap_rmt.h: Likewise.
68823         * sunrpc/rpc/rpc.h: Likewise.
68824         * sunrpc/rpc/rpc_des.h: Likewise.
68825         * sunrpc/rpc/rpc_msg.h: Likewise.
68826         * sunrpc/rpc/svc.h: Likewise.
68827         * sunrpc/rpc/svc_auth.h: Likewise.
68828         * sunrpc/rpc/types.h: Likewise.
68829         * sunrpc/rpc/xdr.h: Likewise.
68830         * sunrpc/rpc_clntout.c: Likewise.
68831         * sunrpc/rpc_cmsg.c: Likewise.
68832         * sunrpc/rpc_common.c: Likewise.
68833         * sunrpc/rpc_cout.c: Likewise.
68834         * sunrpc/rpc_dtable.c: Likewise.
68835         * sunrpc/rpc_hout.c: Likewise.
68836         * sunrpc/rpc_main.c: Likewise.
68837         * sunrpc/rpc_parse.c: Likewise.
68838         * sunrpc/rpc_parse.h: Likewise.
68839         * sunrpc/rpc_prot.c: Likewise.
68840         * sunrpc/rpc_sample.c: Likewise.
68841         * sunrpc/rpc_scan.c: Likewise.
68842         * sunrpc/rpc_scan.h: Likewise.
68843         * sunrpc/rpc_svcout.c: Likewise.
68844         * sunrpc/rpc_tblout.c: Likewise.
68845         * sunrpc/rpc_util.c: Likewise.
68846         * sunrpc/rpc_util.h: Likewise.
68847         * sunrpc/rpcinfo.c: Likewise.
68848         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
68849         * sunrpc/rpcsvc/key_prot.x: Likewise.
68850         * sunrpc/rpcsvc/klm_prot.x: Likewise.
68851         * sunrpc/rpcsvc/mount.x: Likewise.
68852         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
68853         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
68854         * sunrpc/rpcsvc/rex.x: Likewise.
68855         * sunrpc/rpcsvc/rstat.x: Likewise.
68856         * sunrpc/rpcsvc/rusers.x: Likewise.
68857         * sunrpc/rpcsvc/sm_inter.x: Likewise.
68858         * sunrpc/rpcsvc/spray.x: Likewise.
68859         * sunrpc/rpcsvc/yppasswd.x: Likewise.
68860         * sunrpc/rtime.c: Likewise.
68861         * sunrpc/svc.c: Likewise.
68862         * sunrpc/svc_auth.c: Likewise.
68863         * sunrpc/svc_authux.c: Likewise.
68864         * sunrpc/svc_raw.c: Likewise.
68865         * sunrpc/svc_run.c: Likewise.
68866         * sunrpc/svc_simple.c: Likewise.
68867         * sunrpc/svc_tcp.c: Likewise.
68868         * sunrpc/svc_udp.c: Likewise.
68869         * sunrpc/svc_unix.c: Likewise.
68870         * sunrpc/svcauth_des.c: Likewise.
68871         * sunrpc/xcrypt.c: Likewise.
68872         * sunrpc/xdr.c: Likewise.
68873         * sunrpc/xdr_array.c: Likewise.
68874         * sunrpc/xdr_float.c: Likewise.
68875         * sunrpc/xdr_mem.c: Likewise.
68876         * sunrpc/xdr_rec.c: Likewise.
68877         * sunrpc/xdr_ref.c: Likewise.
68878         * sunrpc/xdr_sizeof.c: Likewise.
68879         * sunrpc/xdr_stdio.c: Likewise.
68881         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
68882         handling.
68884 2010-08-19  Andreas Schwab  <schwab@redhat.com>
68886         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
68888 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
68890         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
68891         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
68892         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
68893         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
68894         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
68895         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
68896         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
68897         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
68898         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
68899         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
68900         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
68901         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
68902         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
68903         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
68905 2010-07-26  Anton Blanchard  <anton@samba.org>
68907         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
68908         * malloc/arena.c (heap_trim): Likewise.
68910 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
68912         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
68913         here.  Not...
68914         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
68915         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
68917 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
68919         * sysdeps/i386/elf/Makefile: New file.
68921 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
68923         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
68924         from fanotify_init.
68925         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
68926         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
68928 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
68930         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
68931         of strncasecmp_l.
68932         * sysdeps/multiarch/strcmp.S: Likewise.
68934 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
68936         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
68937         strncase_l-nonascii.
68938         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
68939         Add strncase_l-ssse3.
68940         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
68941         * sysdeps/x86_64/strcmp.S: Likewise.
68942         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
68943         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
68944         * sysdeps/x86_64/strncase.S: New file.
68945         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
68946         * sysdeps/x86_64/strncase_l.S: New file.
68947         * string/Makefile (strop-tests): Add strncasecmp.
68948         * string/test-strncasecmp.c: New file.
68950         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
68951         warning.
68953         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
68954         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
68956 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
68958         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
68960 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
68962         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
68963         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
68964         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
68966 2010-05-01  Alan Modra  <amodra@gmail.com>
68968         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
68969         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
68970         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
68971         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
68972         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
68973         tidying.  Don't tail-call __sigjmp_save for static lib.
68974         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
68975         save location.
68976         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
68977         (CALL_MCOUNT): Add eh info, and nop after bl.
68978         (TAIL_CALL_SYSCALL_ERROR): New macro.
68979         (PSEUDO_RET): Use it.
68980         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
68981         Correct save location of integer regs and cr.
68982         (_dl_profile_resolve): Correct cr save location.  Delete nops
68983         after bl when SHARED.  Reduce cfi size a little by better
68984         placement of cfi directives.
68985         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
68986         make a stack frame.  Instead use parm save area as a temp.
68987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
68988         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
68989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
68990         Don't make a stack frame for parent, use parm save area.
68991         Increase child stack frame to 112 bytes.  Don't save unused reg,
68992         and adjust reg usage.  Set up cfi on error recovery and
68993         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
68994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
68995         (__makecontext): Add dummy nop after jump to exit.
68996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
68997         Use correct parm save area and cr save, reduce stack frame.
68998         Correct cfi for possible PSEUDO_RET frame setup.
68999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
69000         Branch to local label emitted by PSEUDO_RET rather than
69001         __syscall_error.
69003 2010-08-12  Andreas Schwab  <schwab@redhat.com>
69005         [BZ #11904]
69006         * locale/programs/locale.c (print_assignment): New function.
69007         (show_locale_vars): Use it.
69009 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
69011         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
69012         field.
69013         (struct statfs64): Likewise.
69014         (_STATFS_F_FLAGS): Define.
69015         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
69016         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69017         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
69018         (ST_VALID): Define locally.
69019         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
69020         __statvfs_getflags, use the provided value.
69021         * sysdeps/unix/sysv/linux/kernel-features.h: Define
69022         __ASSUME_STATFS_F_FLAGS.
69024         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
69026         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
69027         Add sys/fanotify.h.
69028         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
69029         fanotify_mask for GLIBC_2.13.
69030         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
69031         fanotify_init and fanotify_mark.
69032         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
69033         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
69035         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
69036         Add prlimit.
69037         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
69038         prlimit64 for GLIBC_2.13.
69039         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
69040         prlimit64.
69041         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
69042         syscall.
69043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
69044         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
69045         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
69046         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
69047         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
69048         add prlimit alias.
69049         * sysdeps/unix/sysv/linux/prlimit.c: New file.
69051         [BZ #11903]
69052         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
69053         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
69055         * nss/Makefile: Add rules to build and run tst-nss-test1.
69056         * shlib-versions: Add entry for libnss_test1.
69057         * nss/nss_test1.c: New file.
69058         * nss/tst-nss-test1.c: New file.
69060         * nss/nsswitch.c (__nss_database_custom): Define new variable.
69061         (__nss_configure_lookup): Set appropriate entry in
69062         __nss_configure_lookup to true.
69063         * nss/nsswitch.h: Define enum with indeces of databases in
69064         databases and __nss_database_custom arrays.  Declare
69065         __nss_database_custom.
69066         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
69067         to avoid using nscd when custom rules are installed.
69068         * nss/getXXbyYY_r.c: Likewise.
69069         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
69071         * nss/nss_files/files-parse.c: Whitespace fixes.
69073 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
69075         [BZ #11883]
69076         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
69077         * posix/fnmatch_loop.c: Likewise.
69079 2010-07-17  Andi Kleen  <ak@linux.intel.com>
69081         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
69082         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
69083         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
69084         * Versions.def [GLIBC_2.13]: Add.
69086 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
69088         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
69089         Also fail if tpwd after pwuid call is NULL.
69091 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69093         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
69094         when converting to ms.
69096 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69098         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
69099         EOPNOTSUPP errors with ENOTTY.
69100         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
69101         EOPNOTSUPP errors with ENOTTY.
69103 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
69105         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
69106         Add strcasecmp_l-ssse3.
69107         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
69108         strcasecmp.
69109         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
69110         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
69111         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
69113 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
69115         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
69117         * string/Makefile (strop-tests): Add strcasecmp.
69118         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
69119         strcasecmp_l-nonascii.
69120         (gen-as-const-headers): Add locale-defines.sym.
69121         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
69122         * sysdeps/x86_64/strcasecmp.S: New file.
69123         * sysdeps/x86_64/strcasecmp_l.S: New file.
69124         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
69125         * sysdeps/x86_64/locale-defines.sym: New file.
69126         * string/test-strcasecmp.c: New file.
69128         * string/test-strcasestr.c: Test both ends of the range of characters.
69129         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
69131 2010-07-29  Roland McGrath  <roland@redhat.com>
69133         [BZ #11856]
69134         * manual/locale.texi (Yes-or-No Questions): Fix example code.
69136 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
69138         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
69139         for ld.so.
69141 2010-07-27  Andreas Schwab  <schwab@redhat.com>
69143         * manual/memory.texi (Malloc Tunable Parameters): Document
69144         M_PERTURB.
69146 2010-07-26  Roland McGrath  <roland@redhat.com>
69148         [BZ #11840]
69149         * configure.in (-fgnu89-inline check): Set and substitute
69150         gnu89_inline, not libc_cv_gnu89_inline.
69151         * configure: Regenerated.
69152         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
69154 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
69156         * string/test-strnlen.c: New file.
69157         * string/Makefile (strop-tests): Add strnlen.
69158         * string/tester.c (test_strnlen): Add a few more test cases.
69159         * string/tst-strlen.c: Better error reporting.
69161         * sysdeps/x86_64/strnlen.S: New file.
69163 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
69165         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
69166         lower-latency instructions.
69168 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
69170         * string/test-strcasestr.c: New file.
69171         * string/test-strstr.c: New file.
69172         * string/Makefile (strop-tests): Add strstr and strcasestr.
69173         * string/str-two-way.h: Don't undefine MAX.
69174         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
69176 2010-07-21  Andreas Schwab  <schwab@redhat.com>
69178         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69179         strcasestr-nonascii.
69180         (CFLAGS-strcasestr-nonascii.c): Define.
69181         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
69182         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
69183         Remove unused attribute.
69185 2010-07-20  Roland McGrath  <roland@redhat.com>
69187         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
69188         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
69189         ld.so.cache was broken.  With it, there is no way to disable dsocaps
69190         like LD_HWCAP_MASK can disable hwcaps.
69192 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
69194         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
69196 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
69198         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
69199         call in strcasestr.
69200         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
69201         __strcasestr_sse42_nonascii.
69202         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
69203         strcasestr-nonascii.c.
69204         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
69206 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
69208         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
69209         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
69210         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
69211         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
69213 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
69215         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
69216         fcntl.
69218 2010-07-06  Andreas Schwab  <schwab@redhat.com>
69220         [BZ #11577]
69221         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
69222         dl_signal_cerror.
69224 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
69226         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
69227         _PC_PIPE_BUF using F_GETPIPE_SZ.
69229 2010-07-05  Roland McGrath  <roland@redhat.com>
69231         * manual/arith.texi (Rounding Functions): Fix rint description
69232         implicit in round description.
69234 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
69236         * elf/Makefile: Fix linking for a few tests to make recent linker
69237         happy.
69239 2010-06-30  Andreas Schwab  <schwab@redhat.com>
69241         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
69242         $(common-objpfx)libc_nonshared.a.
69244 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
69246         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
69247         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
69248         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
69249         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
69250         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
69251         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
69252         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
69253         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
69254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
69255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
69256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
69257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
69258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
69259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
69260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
69261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
69262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
69263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
69264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
69265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
69266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
69267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
69268         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
69269         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
69270         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
69271         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
69272         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
69273         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
69274         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
69275         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
69276         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
69277         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
69278         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
69279         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
69280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
69281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
69282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
69283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
69284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
69285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
69286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
69287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
69288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
69289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
69290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
69291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
69292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
69293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
69295 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
69297         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
69298         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
69299         * string/memmove.c (memmove): Renamed to ...
69300         (MEMMOVE): ...this.  Default to memmove.
69301         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
69302         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
69303         (END_CHK): Define.
69304         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69305         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
69306         mempcpy-ssse3-back memmove-ssse3-back.
69307         * sysdeps/x86_64/multiarch/bcopy.S: New file .
69308         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
69309         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
69310         * sysdeps/x86_64/multiarch/memcpy.S: New file.
69311         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
69312         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
69313         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
69314         * sysdeps/x86_64/multiarch/memmove.c: New file.
69315         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
69316         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
69317         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
69318         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
69319         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
69320         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
69321         Define.
69322         (index_Fast_Copy_Backward): Define.
69323         (HAS_ARCH_FEATURE): Define.
69324         (HAS_FAST_REP_STRING): Define.
69325         (HAS_FAST_COPY_BACKWARD): Define.
69327 2010-06-21  Andreas Schwab  <schwab@redhat.com>
69329         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
69330         Restore proper fallback handling.
69332 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
69334         [BZ #11701]
69335         * posix/group_member.c (__group_member): Correct checking loop.
69337         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
69338         OOM in getpwuid_r correctly.  Return error number when the caller
69339         should return, otherwise -1.
69340         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
69341         call returning > 0 value.
69342         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
69344 2010-06-07  Andreas Schwab  <schwab@redhat.com>
69346         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
69347         libc_nonshared.a from targets in modules-names.
69349 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
69351         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
69352         requires it.
69354 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
69356         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
69357         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
69358         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
69359         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
69361 2010-06-02  Andreas Schwab  <schwab@redhat.com>
69363         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
69365 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
69367         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
69368         and F_GETPIPE_SZ.
69369         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
69370         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69371         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69372         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69373         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69374         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
69376 2010-06-14  Roland McGrath  <roland@redhat.com>
69378         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
69380 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
69382         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
69383         __REDIRECT followed by __THROW.
69384         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
69385         * posix/getopt.h (getopt): Likewise.
69387 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
69389         * hurd/lookup-at.c (__file_name_lookup_at): Accept
69390         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
69391         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
69392         in AT_FLAGS.
69393         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
69394         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
69396 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
69398         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
69400 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
69402         [BZ #11640]
69403         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69404         Properly check family and model.
69406 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
69408         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
69410 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
69412         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
69414 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
69416         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
69417         symbol reference.
69419 2010-05-19  Andreas Schwab  <schwab@redhat.com>
69421         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
69422         symbol reference.
69424 2010-05-21  Andreas Schwab  <schwab@redhat.com>
69426         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
69427         and internal_recvmmsg.
69428         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
69429         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
69430         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
69431         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
69433         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
69434         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
69435         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
69437 2010-05-20  Andreas Schwab  <schwab@redhat.com>
69439         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
69441 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
69443         POWER7 optimizations.
69444         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
69445         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
69447 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
69449         * version.h: Update for 2.13 development version.
69451 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
69453         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
69454         exceptions.  Return 0.
69456 2010-05-07  Roland McGrath  <roland@redhat.com>
69458         * elf/ldconfig.c (main): Add a const.
69460 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
69462         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
69463         (args_options): Add no-idn option.
69464         (ahosts_keys_int): Add idn_flags to ai_flags.
69465         (parse_option): Handle 'i' option to clear idn_flags.
69467         * malloc/malloc.c (_int_free): Possible race in the most recently
69468         added check.  Only act on the data if no current modification
69469         happened.
69471 See ChangeLog.17 for earlier changes.